Skip to content

Commit

Permalink
Testkube -45
Browse files Browse the repository at this point in the history
  • Loading branch information
gopuman committed Aug 23, 2023
1 parent 2ab1a93 commit efcff50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cluster-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ jobs:
parameters: "cypress-test"

- name: Create test with Testkube
id: create_test
if: always() && (steps.get_test.outcome == 'failure')
uses: kubeshop/testkube-docker-action@v1
env:
Expand All @@ -440,6 +441,8 @@ jobs:
# parameters: "--name cypress-test --type cypress/project --test-content-type git-dir --git-uri https://github.com/UffizziCloud/harbor-test/ --git-branch testkube --git-path cypress/ --variable CYPRESS_BASE_URL=https://${{ needs.uffizzi-cluster.outputs.HARBOR_HOST }}"

- name: Run test with Testkube
id: run_test
if: always() && (steps.create_test.outcome == 'success')
uses: kubeshop/testkube-docker-action@v1
with:
command: run
Expand All @@ -448,6 +451,7 @@ jobs:
parameters: "cypress-test"

- name: Update comment with Testkube
if: always() && (steps.run_test.outcome == 'success')
uses: peter-evans/create-or-update-comment@v2
with:
comment-id: ${{ needs.uffizzi-cluster.harbor_notify.outputs.comment-id }}
Expand Down

0 comments on commit efcff50

Please sign in to comment.