Skip to content

Commit 8949d41

Browse files
oktalzmjuraga
authored andcommitted
CLEANUP/MINOR: tests: use most recent bats in CI
1 parent 5594e82 commit 8949d41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ stages:
55
variables:
66
DOCKER_HOST: tcp://docker:2375
77
DOCKER_BASE_IMAGE: $CI_REGISTRY_GO/haproxy-alpine
8+
BATS_VERSION: v1.4.1
89

910
golangci-lint:
1011
stage: lint
@@ -65,7 +66,8 @@ build:
6566
tags:
6667
- go
6768
before_script:
68-
- apk add git bash curl jq bats
69+
- apk add git bash curl jq git
70+
- git clone https://github.com/bats-core/bats-core.git && cd bats-core && git checkout $BATS_VERSION && ./install.sh /usr/local && cd ..
6971
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
7072
script:
7173
- bash -x ./e2e/run.bash

0 commit comments

Comments
 (0)