diff --git a/.github/workflows/e2e-gitea.yaml b/.github/workflows/e2e-gitea.yaml index 4960431..4f5b643 100644 --- a/.github/workflows/e2e-gitea.yaml +++ b/.github/workflows/e2e-gitea.yaml @@ -28,7 +28,7 @@ jobs: with: go-version: 1.20.x - name: Start Provider instances - run: make start-provider-instances-gitea GITEA_VERSION=latest + run: make start-provider-instances-gitea GITEA_VERSION=1.19.3@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a - name: Run tests [gitea] run: | export GITEA_TOKEN=$(cat /tmp/gitea-token) diff --git a/Makefile b/Makefile index 3f33c70..138a475 100644 --- a/Makefile +++ b/Makefile @@ -26,13 +26,14 @@ GITLAB_TEST_TEAM_NAME ?= fluxcd-testing-2 GITEA_BASE_URL ?= http://127.0.0.1:3000 GITEA_TOKEN ?= GITEA_TEST_TEAM_NAME ?= fluxcd-testing-2 +GITEA_VERSION ?= start-provider-instances-gitlab: GITLAB_TOKEN=$(GITLAB_TOKEN) GIT_PROVIDER_USER=$(GIT_PROVIDER_USER) GIT_PROVIDER_ORGANIZATION=$(GIT_PROVIDER_ORGANIZATION) GITLAB_TEST_REPO_NAME=$(GITLAB_TEST_REPO_NAME) GITLAB_TEST_SUBGROUP=$(GITLAB_TEST_SUBGROUP) GITLAB_TEST_TEAM_NAME=$(GITLAB_TEST_TEAM_NAME) docker compose up -d gitlab GITLAB_BASE_URL=$(GITLAB_BASE_URL) GITLAB_TOKEN=$(GITLAB_TOKEN) ./tests/gitlab/await-healthy.sh start-provider-instances-gitea: - GITEA_TEST_TEAM_NAME=$(GITEA_TEST_TEAM_NAME) GIT_PROVIDER_ORGANIZATION=$(GIT_PROVIDER_ORGANIZATION) GITEA_USER=$(GIT_PROVIDER_USER) docker compose up -d gitea + GITEA_VERSION=$(GITEA_VERSION) GITEA_TEST_TEAM_NAME=$(GITEA_TEST_TEAM_NAME) GIT_PROVIDER_ORGANIZATION=$(GIT_PROVIDER_ORGANIZATION) GITEA_USER=$(GIT_PROVIDER_USER) docker compose up -d gitea GITEA_USER=$(GIT_PROVIDER_USER) GITEA_BASE_URL=$(GITEA_BASE_URL) ./tests/gitea/await-healthy.sh stop-provider-instances: