diff --git a/.github/workflows/testbed.yml b/.github/workflows/testbed.yml deleted file mode 100644 index fe3cf9c88..000000000 --- a/.github/workflows/testbed.yml +++ /dev/null @@ -1,40 +0,0 @@ -# -# 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 diff --git a/.github/workflows/testbed.yml b/.github/workflows/testbed.yml new file mode 120000 index 000000000..7f9379a2d --- /dev/null +++ b/.github/workflows/testbed.yml @@ -0,0 +1 @@ +../../testbed/github-action.yml \ No newline at end of file diff --git a/testbed/github-action.yml b/testbed/github-action.yml new file mode 100644 index 000000000..fe3cf9c88 --- /dev/null +++ b/testbed/github-action.yml @@ -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