Skip to content

Commit

Permalink
Make GHA part of the testbed directory. #1410
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Mar 8, 2024
1 parent 27c5e0f commit 5ed1c91
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/testbed.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/testbed.yml
40 changes: 40 additions & 0 deletions testbed/github-action.yml
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

0 comments on commit 5ed1c91

Please sign in to comment.