-
Notifications
You must be signed in to change notification settings - Fork 34
48 lines (38 loc) · 1.04 KB
/
testbed.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Generate the testbed configuration
#
# TODO: Need to deal with pushes in multiple branches.
name: testbed
on:
push:
branches:
# TODO: Remove this after development
- 'issue-1410'
- 'master'
- 'main'
- '[0-9]+.[0-9]+.[0-9]+'
paths:
- '.github/workflows/testbed.yml'
- '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: |
set -e
make -C testbed
cp testbed/testbed.json testbed/testbed-${{ github.ref_name }}.json
- name: Publish the result
uses: actions/upload-artifact@v4
with:
name: development-testbed
path: testbed/testbed-${{ github.ref_name }}.json
if-no-files-found: error
overwrite: true