From 499efd1ccc6bc1903e2582fd8e2e6f758e7d933f Mon Sep 17 00:00:00 2001 From: Mark Feit Date: Fri, 8 Mar 2024 18:59:02 +0000 Subject: [PATCH] GHA doesn't grok symlinks. #1410 --- .github/workflows/testbed.yml | 42 ++++++++++++++++++++++++++++++++++- testbed/github-action.yml | 40 --------------------------------- 2 files changed, 41 insertions(+), 41 deletions(-) mode change 120000 => 100644 .github/workflows/testbed.yml delete mode 100644 testbed/github-action.yml diff --git a/.github/workflows/testbed.yml b/.github/workflows/testbed.yml deleted file mode 120000 index 7f9379a2d..000000000 --- a/.github/workflows/testbed.yml +++ /dev/null @@ -1 +0,0 @@ -../../testbed/github-action.yml \ No newline at end of file diff --git a/.github/workflows/testbed.yml b/.github/workflows/testbed.yml new file mode 100644 index 000000000..7533987bc --- /dev/null +++ b/.github/workflows/testbed.yml @@ -0,0 +1,41 @@ +# +# Generate the testbed configuration +# + +# TODO: Need to deal with pushes in multiple branches. + +name: testbed + +on: + push: + branches: + - 'issue-1410' + 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: 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/testbed/github-action.yml b/testbed/github-action.yml deleted file mode 100644 index fe3cf9c88..000000000 --- a/testbed/github-action.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