ci: reduce number of steps with continue-on-error (#1593)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-04-14 18:50:58 +02:00 committed by GitHub
parent 632b24e7cd
commit 860d72a083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 12 deletions

View File

@ -268,6 +268,7 @@ runs:
- name: Upload boot logs
if: always() && !env.ACT
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: serial-logs-${{ inputs.artifactNameSuffix }}

View File

@ -11,7 +11,6 @@ runs:
steps:
- name: Delete persistent volumes
if: inputs.kubeconfig != ''
continue-on-error: true
shell: bash
env:
KUBECONFIG: ${{ inputs.kubeconfig }}

View File

@ -317,7 +317,6 @@ jobs:
- name: Collect hashes
id: collect-hashes
continue-on-error: true
working-directory: ${{ github.workspace }}/image/mkosi.output.${{ matrix.csp }}/fedora~37
run: |
{
@ -332,16 +331,12 @@ jobs:
} | tee -a "$GITHUB_OUTPUT"
- name: Upload raw OS image as artifact
if: always()
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: image-${{ matrix.csp }}
path: ${{ github.workspace }}/image/mkosi.output.${{ matrix.csp }}/fedora~37/image.raw
- name: Upload individual OS parts as artifacts
if: always()
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: parts-${{ matrix.csp }}
@ -355,8 +350,6 @@ jobs:
${{ github.workspace }}/image/mkosi.output.${{ matrix.csp }}/fedora~37/image.vmlinuz
- name: Upload manifest as artifact
if: always()
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: manifest-${{ matrix.csp }}

View File

@ -165,17 +165,14 @@ jobs:
azureClusterCreateCredentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }}
azureIAMCreateCredentials: ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }}
- name: Always terminate cluster
if: always()
continue-on-error: true
uses: ./.github/actions/constellation_destroy
with:
kubeconfig: ${{ steps.e2e_test.outputs.kubeconfig }}
- name: Always delete IAM configuration
if: always()
continue-on-error: true
uses: ./.github/actions/constellation_iam_destroy
with:
cloudProvider: ${{ matrix.provider }}

View File

@ -171,7 +171,6 @@ jobs:
- name: Always upload logs
if: always()
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: upgrade-logs