Skip to content

Commit

Permalink
test(ci): test release 6
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Dec 9, 2024
1 parent 39838f2 commit 7d2db76
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
9 changes: 4 additions & 5 deletions .github/actions/package-delivery/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ runs:
}
- name: Download packages from testing
# if: ${{ inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy' }}
if: ${{ inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy' }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
Expand Down Expand Up @@ -168,10 +168,9 @@ runs:
}
- name: Publish packages to ${{ inputs.stability }}
# if: |
# contains(fromJson('["testing", "unstable"]'), inputs.stability) ||
# (inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy')
if: contains(fromJson('["testing", "unstable"]'), inputs.stability)
if: |
contains(fromJson('["testing", "unstable"]'), inputs.stability) ||
(inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy')
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:
branches:
- develop
- master
- MON-78778-detect-pr
paths:
- '.github/workflows/plugins.yml'
- '.github/scripts/plugins-source.container.pl'
Expand Down Expand Up @@ -100,7 +99,7 @@ jobs:
matrix:
image: [unit-tests-alma8, unit-tests-alma9, unit-tests-bullseye, unit-tests-bullseye-arm64, unit-tests-bookworm, unit-tests-jammy]
include:
- runner_name: ubuntu-22.04
- runner_name: ubuntu-24.04
- package_extension: rpm
image: unit-tests-alma8
distrib: el8
Expand Down Expand Up @@ -177,6 +176,7 @@ jobs:
runs-on: ubuntu-24.04
needs: [get-environment, get-plugins, fatpacker]
if: |
needs.get-plugins.outputs.plugins != '' &&
needs.get-environment.outputs.stability != 'stable' &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
Expand Down Expand Up @@ -300,6 +300,7 @@ jobs:
test-plugins:
needs: [get-environment, get-plugins, package]
if: |
needs.get-plugins.outputs.plugins != '' &&
needs.get-environment.outputs.stability != 'stable' &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
Expand Down Expand Up @@ -357,12 +358,12 @@ jobs:

deliver-packages:
needs: [get-environment, get-plugins, test-plugins]
# if: |
# needs.get-plugins.outputs.plugins != '' &&
# (contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) || (needs.get-environment.outputs.stability == 'stable' && github.event_name != 'workflow_dispatch')) &&
# ! cancelled() &&
# ! contains(needs.*.result, 'failure') &&
# ! contains(needs.*.result, 'cancelled')
if: |
needs.get-plugins.outputs.plugins != '' &&
(contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) || (needs.get-environment.outputs.stability == 'stable' && github.event_name != 'workflow_dispatch')) &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
! contains(needs.*.result, 'cancelled')
runs-on: ubuntu-24.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -397,8 +398,10 @@ jobs:
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}

deliver-sources:
needs: [get-environment]
if: ${{ needs.get-environment.outputs.stability == 'stable' && github.event_name == 'push' }}
needs: [get-environment, fatpacker]
if: |
needs.get-environment.outputs.stability == 'stable' &&
github.event_name == 'push'
runs-on: [self-hosted, common]

steps:
Expand Down

0 comments on commit 7d2db76

Please sign in to comment.