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 - name: Upload boot logs
if: always() && !env.ACT if: always() && !env.ACT
continue-on-error: true
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with: with:
name: serial-logs-${{ inputs.artifactNameSuffix }} name: serial-logs-${{ inputs.artifactNameSuffix }}

View File

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

View File

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

View File

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

View File

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