diff --git a/.gitea/workflows/e2e-tests.yaml b/.gitea/workflows/e2e-tests.yaml index 5ea2b44..e3fd27d 100644 --- a/.gitea/workflows/e2e-tests.yaml +++ b/.gitea/workflows/e2e-tests.yaml @@ -28,6 +28,7 @@ jobs: container: image: altlinux.space/maks1ms/actions-container-runner:latest + privileged: true steps: - name: Checkout @@ -39,14 +40,15 @@ jobs: uses: https://github.com/actions/setup-go@v5 with: go-version: '1.24' + cache: false - - name: Cache Podman images - uses: actions/cache@v4 - with: - path: | - ~/.local/share/containers/storage - /var/lib/containers/storage - key: ${{ runner.os }}-primes + # - name: Cache Podman images + # uses: actions/cache@v4 + # with: + # path: | + # ~/.local/share/containers/storage + # /var/lib/containers/storage + # key: ${{ runner.os }}-primes - name: Run E2E tests env: diff --git a/.gitea/workflows/pre-commit.yaml b/.gitea/workflows/pre-commit.yaml index a107511..ed1fc26 100644 --- a/.gitea/workflows/pre-commit.yaml +++ b/.gitea/workflows/pre-commit.yaml @@ -26,6 +26,8 @@ on: jobs: pre-commit: runs-on: ubuntu-latest + container: + image: docker.gitea.com/runner-images:ubuntu-latest steps: - name: Checkout diff --git a/e2e-tests/common_test.go b/e2e-tests/common_test.go index 00bfe74..f46753b 100644 --- a/e2e-tests/common_test.go +++ b/e2e-tests/common_test.go @@ -182,7 +182,7 @@ func runTestCommands(t *testing.T, r e2e.Runnable, timeout time.Duration, expect } const REPO_NAME_FOR_E2E_TESTS = "alr-repo" -const REPO_URL_FOR_E2E_TESTS = "https://gitea.plemya-x.ru/Maks1mS/repo-for-tests.git" +const REPO_URL_FOR_E2E_TESTS = "https://gitea.plemya-x.ru/Plemya-x/repo-for-tests.git" func defaultPrepare(t *testing.T, r e2e.Runnable) { execShouldNoError(t, r, diff --git a/pkg/repos/find_test.go b/pkg/repos/find_test.go index bdd8980..1b06e48 100644 --- a/pkg/repos/find_test.go +++ b/pkg/repos/find_test.go @@ -41,7 +41,7 @@ func TestFindPkgs(t *testing.T) { err := rs.Pull(e.Ctx, []types.Repo{ { Name: "default", - URL: "https://gitea.plemya-x.ru/xpamych/xpamych-alr-repo.git", + URL: "https://gitea.plemya-x.ru/Plemya-x/alr-default.git", }, }) if err != nil {