Skip to content

Commit ca1807b

Browse files
oktalzmjuraga
authored andcommitted
BUG/MINOR: ci: on logging error, write correct command
Signed-off-by: Zlatko Bratkovic <[email protected]>
1 parent bf5506a commit ca1807b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ diff:
2222
- SWAGGER_VERSION=$(curl -s https://raw.githubusercontent.com/haproxytech/client-native/master/Makefile | grep SWAGGER_VERSION -m 1 | awk -F"=" '{print $2}')
2323
- wget -q "https://github.com/go-swagger/go-swagger/releases/download/${SWAGGER_VERSION}/swagger_linux_amd64" -O /usr/local/bin/swagger && chmod +x /usr/local/bin/swagger
2424
- make generate-native
25-
- test -z "$(git diff 2> /dev/null)" || exit "Specification is not generated, issue \`make swagger\` and commit the result"
25+
- test -z "$(git diff 2> /dev/null)" || exit "Specification is not generated, issue \`make generate\` and commit the result"
2626
- test -z "$(git ls-files --others --exclude-standard 2> /dev/null)" || exit "Specification generation created untracked files, cannot proceed"
2727

2828
golangci-lint:
@@ -73,6 +73,9 @@ build:
7373

7474
.e2e:
7575
stage: e2e
76+
artifacts:
77+
paths:
78+
- build
7679
image:
7780
name: $CI_REGISTRY_GO/docker:stable
7881
entrypoint: [ "" ]

0 commit comments

Comments
 (0)