Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Refactor changed files integration #9643

Merged
merged 22 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
16bc6db
refactor: ci-server centralized changed-files stuff
prastoin Jan 15, 2025
82452c6
fix: checkout to repo before changed-files action
prastoin Jan 15, 2025
6b92046
ci: always run ci-server-final
prastoin Jan 15, 2025
6e64cfe
ci: do not run final job is workflow has been cancelled
prastoin Jan 15, 2025
084904e
ci: programmatically fail final job if any needs failed
prastoin Jan 15, 2025
b18c112
fix: expose outputs any_changed from prerequisites
prastoin Jan 15, 2025
7883b10
chore: remove logs
prastoin Jan 15, 2025
0fe3a56
ci: upgrade to latest changed-files version ci-server
prastoin Jan 15, 2025
1f44731
refactor: use reusable worfklow
prastoin Jan 15, 2025
529648f
fix: always and cancelled on workflow call
prastoin Jan 15, 2025
4d0fe1b
refactor: use composite action to read needs
prastoin Jan 15, 2025
8bfd190
chore: always and cancelled on composite action call
prastoin Jan 15, 2025
c39869f
chore: to drop logs
prastoin Jan 15, 2025
0fa79f6
fix: composite action path
prastoin Jan 15, 2025
e245a91
fix: checkout before using composite local action
prastoin Jan 15, 2025
77e8fd9
chore: comeback to raw job
prastoin Jan 15, 2025
aa928dc
chore: rename composite action from yml to yaml
prastoin Jan 15, 2025
092eaca
refactor: ci-front changed-files integration
prastoin Jan 16, 2025
f8bdb39
chore: ci-front remove previous changed-files logs steps
prastoin Jan 16, 2025
0db332f
refactor: remaining workflows consuming changed-files directly
prastoin Jan 16, 2025
6144c9d
lint: ci-website.yaml
prastoin Jan 16, 2025
e1ed78e
refactor: mv ci-NAME-final ci-NAME-status-check
prastoin Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: programmatically fail final job if any needs failed
prastoin committed Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 084904eb9f76fe05212fe577a20c2ef427c4d64d
16 changes: 10 additions & 6 deletions .github/workflows/ci-server.yaml
Original file line number Diff line number Diff line change
@@ -192,15 +192,19 @@ jobs:
if: always() && !cancelled()
timeout-minutes: 1
runs-on: depot-ubuntu-24.04-8
needs: [changed-files, server-test, server-integration-test]
needs: [changed-files, server-setup, server-test, server-integration-test]
steps:
- name: Log changed-files result
run: echo ${{ needs.changed-files.result }}
- name: Log server-test result
run: echo ${{ needs.changed-files.result }}
run: echo ${{ needs.server-test.result }}
- name: Log server-integration-test result
run: echo ${{ needs.server-integration-test.result }}
- name: Log server-setup result
run: echo ${{ needs.server-setup.result }}
- name: Log changed-files result
run: echo ${{ needs.changed-files.result }}
- name: Log all ?
run: echo ${{ needs.*.result }}
- name: Programmatically fail the job if any needs failed
if: contains(needs.*.result, 'failure')
run: exit 1