From 52aeb516b1d2ed5f6c900a8568c75cdef3f35187 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 14 Apr 2025 13:55:03 -0600 Subject: chore: merge variables sections --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3