Skip to content

Commit

Permalink
Revert "skip critical stesp (#84)"
Browse files Browse the repository at this point in the history
This reverts commit 97c09b5.
  • Loading branch information
sc979 committed Nov 19, 2024
1 parent 11d8759 commit 615923d
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/awie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ jobs:
(contains(fromJson('["stable", "testing"]'), needs.get-version.outputs.stability) && github.event_name != 'workflow_dispatch') &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
! contains(needs.*.result, 'cancelled') &&
github.event.pull_request.base.repo.name == 'centreon'
! contains(needs.*.result, 'cancelled')
runs-on: [self-hosted, common]
strategy:
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:
jobs:
chromatic:
runs-on: ubuntu-22.04
if: github.event.pull_request.base.repo.name == 'centreon'

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/create-repo-yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:

create-repo-file-and-deliver:
needs: [get-version]
if: github.event.pull_request.base.repo.name == 'centreon'
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/dsm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ jobs:
(contains(fromJson('["stable", "testing"]'), needs.get-version.outputs.stability) && github.event_name != 'workflow_dispatch') &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
! contains(needs.*.result, 'cancelled') &&
github.event.pull_request.base.repo.name == 'centreon'
! contains(needs.*.result, 'cancelled')
runs-on: [self-hosted, common]
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

# package:
# needs: [get-version]
# if: ${{ needs.get-version.outputs.stability != 'stable' && github.event.pull_request.base.repo.name == 'centreon' }}
# if: ${{ needs.get-version.outputs.stability != 'stable' }}

# strategy:
# fail-fast: true
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/js-config-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:
jobs:
publish-new-npm-beta-version:
runs-on: ubuntu-22.04
if: github.event.pull_request.base.repo.name == 'centreon'

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/js-config-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ env:
jobs:
publish-new-npm-version:
runs-on: ubuntu-22.04
if: github.event.pull_request.base.repo.name == 'centreon'

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nightly-cod-platform-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
nightly-cod-platform-deploy:
runs-on: "ubuntu-latest"
if: github.event.pull_request.base.repo.name == 'centreon'
env:
GH_TOKEN: ${{ github.token }}
steps:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nightly-cod-platform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
jobs:
nightly-cod-platform-destroy:
runs-on: "ubuntu-latest"
if: github.event.pull_request.base.repo.name == 'centreon'
env:
GH_TOKEN: ${{ github.token }}
steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/open-tickets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ jobs:
(contains(fromJson('["stable", "testing"]'), needs.get-version.outputs.stability) && github.event_name != 'workflow_dispatch') &&
! cancelled() &&
! contains(needs.*.result, 'failure') &&
! contains(needs.*.result, 'cancelled') &&
github.event.pull_request.base.repo.name == 'centreon'
! contains(needs.*.result, 'cancelled')
runs-on: [self-hosted, common]
strategy:
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-trigger-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:

jobs:
release-trigger-builds:
if: github.event.pull_request.base.repo.name == 'centreon'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
release:
if: github.event.pull_request.merged == true && github.event.pull_request.base.repo.name == 'centreon'
if: ${{ github.event.pull_request.merged == true }}
runs-on: ubuntu-22.04
steps:
- name: Check base_ref
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/synchronize-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
main:
name: Sync Stable Branches
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.repo.name == 'centreon'
if: github.event.pull_request.merged == true
steps:
- name: git checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/synchronize-jira-xray.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
set-pr-environment:
if: github.event.pull_request.base.repo.name == 'centreon'
uses: ./.github/workflows/set-pr-environment.yml

get-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/synchronize-next-major-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
main:
name: Sync Stable Branches
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.repo.name == 'centreon'
if: github.event.pull_request.merged == true
steps:
- name: git checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ui-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
publish-new-npm-beta-version:
runs-on: ubuntu-22.04
needs: [lint, unit-test, cypress-component-testing]
if: github.event.pull_request.base.repo.name == 'centreon'

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ui-context-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
lint_path: ./src/

publish-new-npm-beta-version:
if: github.event.pull_request.base.repo.name == 'centreon'
runs-on: ubuntu-22.04
needs: lint

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ui-context-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
publish-new-npm-version:
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.repo.name == 'centreon'
if: ${{ github.event.pull_request.merged == true }}

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ui-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:

publish-new-npm-version:
runs-on: ubuntu-22.04
if: github.event.pull_request.base.repo.name == 'centreon'

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down

0 comments on commit 615923d

Please sign in to comment.