Skip to content

Commit

Permalink
Turn off gitlab acceptance tests (#1531)
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 2697fd0
Showing 1 changed file with 44 additions and 36 deletions.
80 changes: 44 additions & 36 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,21 @@ jobs:
gitlab-org: ${{ secrets.GITLAB_ORG }}
artifacts-base-dir: "/tmp/gitops-test"

tmp-hack-remove-when-gitlab-is-fixed:
name: "smoke-tests-long (gitlab)"
runs-on: ubuntu-latest
steps:
- run: echo "Disabled until gitlab account is fixed"

smoke-tests-long:
runs-on: ubuntu-latest
needs: build
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 +198,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 +258,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 2697fd0

Please sign in to comment.