-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from anchore/remove-acceptance
chore: remove redundant acceptance tests
- Loading branch information
Showing
3 changed files
with
2 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,15 +25,6 @@ jobs: | |
git fetch origin main | ||
git merge-base --is-ancestor ${GITHUB_REF##*/} origin/main && echo "${GITHUB_REF##*/} is a commit on main!" | ||
- name: Build snapshot artifacts | ||
uses: fountainhead/[email protected] | ||
id: snapshot | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# This check name is defined as the github actions job name (in .github/workflows/acceptance-test.yaml) | ||
checkName: "Build-Snapshot-Artifacts" | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
||
- name: Check static analysis | ||
uses: fountainhead/[email protected] | ||
id: static-analysis | ||
|
@@ -52,32 +43,11 @@ jobs: | |
checkName: "Tests (1.19.x, ubuntu-latest)" | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
||
- name: Check acceptance test results (helm v1.13.12) | ||
uses: fountainhead/[email protected] | ||
id: acceptance-helm-1-13-12 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# This check name is defined as the github action job name + the kubernetes version (see below) (in .github/workflows/acceptance-test.yaml) | ||
checkName: "Acceptance-Helm (v1.13.12)" | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
||
- name: Check acceptance test results (helm v1.18.0) | ||
uses: fountainhead/[email protected] | ||
id: acceptance-helm-1-18-0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# This check name is defined as the github action job name + the kubernetes version (see below) (in .github/workflows/acceptance-test.yaml) | ||
checkName: "Acceptance-Helm (v1.18.0)" | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
||
- name: Quality gate | ||
if: steps.static-analysis.outputs.conclusion != 'success' || steps.tests-unit-int.outputs.conclusion != 'success' || steps.snapshot.outputs.conclusion != 'success' || steps.acceptance-helm-1-13-12.outputs.conclusion != 'success' || steps.acceptance-helm-1-18-0.outputs.conclusion != 'success' | ||
if: steps.static-analysis.outputs.conclusion != 'success' || steps.tests-unit-int.outputs.conclusion != 'success' | ||
run: | | ||
echo "Static-Analysis Status : ${{ steps.static-analysis.outputs.conclusion }}" | ||
echo "Unit/Integration Status : ${{ steps.tests-unit-int.outputs.conclusion }}" | ||
echo "Build Snapshot Artifacts Status: ${{ steps.snapshot.outputs.conclusion }}" | ||
echo "Acceptance Test (Helm v1.13.12) Status: ${{ steps.acceptance-helm-1-13-12.outputs.conclusion }}" | ||
echo "Acceptance Test (Helm v1.18.0) Status: ${{ steps.acceptance-helm-1-18-0.outputs.conclusion }}" | ||
false | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters