Skip to content

Commit f2428ae

Browse files
oktalzGopher Bot
authored andcommitted
CLEANUP/MINOR: ci: add init message to ci pipeline tool
1 parent 332d1be commit f2428ae

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ allowed:
5959
- alpn
6060
- SNI
6161
- gwapi
62+
- init

cmd/gitlab-mr-pipelines/ascii.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
____ _ _ _ _
2+
/ ___(_) |_| | __ _| |__
3+
| | _| | __| |/ _` | '_ \
4+
| |_| | | |_| | (_| | |_) |
5+
\____|_|\__|_|\__,_|_.__/
6+
____ _ _ _ _ _
7+
| _ \(_)_ __ ___| (_)_ __ ___ ___| |__ ___ ___| | __
8+
| |_) | | '_ \ / _ \ | | '_ \ / _ \ / __| '_ \ / _ \/ __| |/ /
9+
| __/| | |_) | __/ | | | | | __/ | (__| | | | __/ (__| <
10+
|_| |_| .__/ \___|_|_|_| |_|\___| \___|_| |_|\___|\___|_|\_\
11+
|_|

cmd/gitlab-mr-pipelines/main.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
// Copyright 2019 HAProxy Technologies LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
114
package main
215

316
import (
17+
_ "embed"
418
"encoding/json"
519
"fmt"
620
"io"
@@ -10,8 +24,12 @@ import (
1024
"strings"
1125
)
1226

27+
//go:embed ascii.txt
28+
var hello string
29+
1330
//nolint:forbidigo
1431
func main() {
32+
fmt.Println(hello)
1533
// Check if we are in a merge request context
1634
mrIID := os.Getenv("CI_MERGE_REQUEST_IID")
1735
if mrIID == "" {

0 commit comments

Comments
 (0)