-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make GHA part of the testbed directory. #1410
- Loading branch information
1 parent
27c5e0f
commit 5ed1c91
Showing
2 changed files
with
41 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../testbed/github-action.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Generate the testbed configuration | ||
# | ||
|
||
# TODO: Need to deal with pushes in multiple branches. | ||
|
||
name: testbed | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'issue-1410' | ||
paths: | ||
- 'testbed/**/*' | ||
- 'pscheduler-test-*/testbed.json' | ||
- 'pscheduler-tool-*/testbed.json' | ||
- 'pscheduler-archiver-*/testbed.json' | ||
- 'pscheduler-context-*/testbed.json' | ||
|
||
jobs: | ||
|
||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build the testbed configuration | ||
run: make -C testbed | ||
|
||
- name: Publish the result | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: development-testbed | ||
path: testbed/testbed.json | ||
if-no-files-found: error | ||
overwrite: true |