From 5330b231c9820967b9b8002a28fd682fd679cd0c Mon Sep 17 00:00:00 2001 From: Soule BA Date: Mon, 12 Jun 2023 14:10:41 +0200 Subject: [PATCH] pin test gitea instance to v1.19.3 Signed-off-by: Soule BA --- .github/workflows/e2e-gitea.yaml | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-gitea.yaml b/.github/workflows/e2e-gitea.yaml index 4960431..490930c 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 - 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: