summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-14 13:55:03 -0600
committermo khan <mo@mokhan.ca>2025-04-14 13:55:03 -0600
commit52aeb516b1d2ed5f6c900a8568c75cdef3f35187 (patch)
tree33fc13d82d4dded3975062a01e3cdf3b8e44b220
parente735969caf8ad4714e8d22f0da70df6c6b350a06 (diff)
chore: merge variables sections
-rw-r--r--.gitlab-ci.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44a53bb..9f9cecb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,15 +41,14 @@ integration:
- build image
services:
- docker:28-dind
- variables:
- # Variables required by github.com/testcontainers/testcontainers-go
- # ref https://golang.testcontainers.org/system_requirements/ci/gitlab_ci/#example-using-dind-docker-in-docker
- DOCKER_HOST: "tcp://docker:2375"
- DOCKER_TLS_CERTDIR: ""
before_script:
- apt-get update && apt-get install -y docker.io
- echo "$CI_JOB_TOKEN" | docker login -u gitlab-ci-token --password-stdin "$CI_REGISTRY"
script:
- go test -tags=integration ./test/integration/...
variables:
+ # Variables required by github.com/testcontainers/testcontainers-go
+ # ref https://golang.testcontainers.org/system_requirements/ci/gitlab_ci/#example-using-dind-docker-in-docker
+ DOCKER_HOST: "tcp://docker:2375"
+ DOCKER_TLS_CERTDIR: ""
IMAGE_TAG: $CONTAINER_IMAGE_COMMIT