Skip to content

Commit

Permalink
Turn off gitlab acceptance tests
Browse files Browse the repository at this point in the history
Our gitlab user has got themselves banned, so our gitlab tests can't
run, so temporarily disable the tests that are currently failing
because of it.

This should be reverted when weaveworks/corp#2502 is resolved.
  • Loading branch information
Robin Sonefors committed Feb 25, 2022
1 parent 7297ddf commit 7490958
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
git-provider: [github, gitlab]
git-provider:
- github
#- gitlab
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/run-acceptance-test
Expand Down Expand Up @@ -190,39 +192,39 @@ jobs:
gitlab-org: ${{ secrets.GITLAB_ORG }}
artifacts-base-dir: "/tmp/gitops-test"

acceptance-tests-2:
runs-on: ubuntu-latest
needs: [lint, build]
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/run-acceptance-test
with:
result-prefix: 'kustomize-multiple-'
focus-or-skip: "--focus='Test2'"
github-key: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_SSH_KEY }}
github-token: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_TOKEN }}
gitlab-key: ${{ secrets.GITLAB_KEY }}
gitlab-token: ${{ secrets.GITLAB_TOKEN }}
gitlab-org: ${{ secrets.GITLAB_ORG }}
artifacts-base-dir: "/tmp/gitops-test"

acceptance-tests-3:
runs-on: ubuntu-latest
needs: [lint, build]
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/run-acceptance-test
with:
result-prefix: 'test3-'
focus-or-skip: "--focus='Test3'"
github-key: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_SSH_KEY }}
github-token: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_TOKEN }}
gitlab-key: ${{ secrets.GITLAB_KEY }}
gitlab-token: ${{ secrets.GITLAB_TOKEN }}
gitlab-org: ${{ secrets.GITLAB_ORG }}
artifacts-base-dir: "/tmp/gitops-test"
# acceptance-tests-2:
# runs-on: ubuntu-latest
# needs: [lint, build]
# timeout-minutes: 90
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/actions/run-acceptance-test
# with:
# result-prefix: 'kustomize-multiple-'
# focus-or-skip: "--focus='Test2'"
# github-key: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_SSH_KEY }}
# github-token: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_TOKEN }}
# gitlab-key: ${{ secrets.GITLAB_KEY }}
# gitlab-token: ${{ secrets.GITLAB_TOKEN }}
# gitlab-org: ${{ secrets.GITLAB_ORG }}
# artifacts-base-dir: "/tmp/gitops-test"
#
# acceptance-tests-3:
# runs-on: ubuntu-latest
# needs: [lint, build]
# timeout-minutes: 90
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/actions/run-acceptance-test
# with:
# result-prefix: 'test3-'
# focus-or-skip: "--focus='Test3'"
# github-key: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_SSH_KEY }}
# github-token: ${{ secrets.WEAVE_GITOPS_TEST_WEAVEWORKS_WEAVE_GITOPS_BOT_TOKEN }}
# gitlab-key: ${{ secrets.GITLAB_KEY }}
# gitlab-token: ${{ secrets.GITLAB_TOKEN }}
# gitlab-org: ${{ secrets.GITLAB_ORG }}
# artifacts-base-dir: "/tmp/gitops-test"

ui-tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -250,8 +252,8 @@ jobs:
- smoke-tests-long
- acceptance-tests-0
- acceptance-tests-1
- acceptance-tests-2
- acceptance-tests-3
# - acceptance-tests-2
# - acceptance-tests-3
- ui-tests
if: ${{ failure() }}
steps:
Expand Down

0 comments on commit 7490958

Please sign in to comment.