mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 16:09:45 -05:00
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:
parent
632b24e7cd
commit
860d72a083
@ -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 }}
|
||||||
|
@ -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 }}
|
||||||
|
7
.github/workflows/build-os-image.yml
vendored
7
.github/workflows/build-os-image.yml
vendored
@ -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 }}
|
||||||
|
3
.github/workflows/e2e-test-release.yml
vendored
3
.github/workflows/e2e-test-release.yml
vendored
@ -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 }}
|
||||||
|
1
.github/workflows/e2e-upgrade.yml
vendored
1
.github/workflows/e2e-upgrade.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user