From 829557d5c73113a1182c2d709b300a92594cc1cb Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 17 Jan 2025 16:19:22 -0500 Subject: OK --- .github/workflows/pipeline_deliver.yml | 70 ---------------------------------- .github/workflows/pipeline_index.yml | 70 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 70 deletions(-) delete mode 100644 .github/workflows/pipeline_deliver.yml create mode 100644 .github/workflows/pipeline_index.yml diff --git a/.github/workflows/pipeline_deliver.yml b/.github/workflows/pipeline_deliver.yml deleted file mode 100644 index 5043e57..0000000 --- a/.github/workflows/pipeline_deliver.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Index Pipeline - -run-name: | - Index Pipeline - -on: - workflow_dispatch: - inputs: - artifactory_repo: - type: string - description: Artifactory repository path where deliveries are stored - required: true - default: "some-repo" - - mission: - type: choice - description: Mission name (e.g. hst) - options: - - thing1 - - thing2 - - thing3 - - thing4 - required: true - default: "thing4" - - build_name: - type: string - description: Build name (e.g. MYPIPELINE-1.2.3) - required: true - default: "" - - destination: - type: string - description: Path to store an indexed delivery - required: true - default: "/path/to/stasis/releases" - - stasis_indexer_args: - type: string - description: arguments for stasis tool - required: false - default: "" - -jobs: - deliver: - name: Deliver - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - #- name: Mount data area - # uses: ./.github/actions/sshfs - # with: - # user: ${{ secrets.SVC_SSHFS_USER }} - # password: ${{ secrets.SVC_SSHFS_PASS }} - # remote_host: example.tld - # remote_dir: /data - # local_dir: /mydata - - - name: Index - uses: ./.github/actions/stasis_indexer - with: - artifactory_url: https://blah.tld - artifactory_repo: ${{ inputs.artifactory_repo }} - mission: ${{ inputs.mission }} - build_name: ${{ inputs.build_name }} - destination: ${{ inputs.destination }} - stasis_indexer_args: ${{ inputs.stasis_indexer_args }} - diff --git a/.github/workflows/pipeline_index.yml b/.github/workflows/pipeline_index.yml new file mode 100644 index 0000000..ccf36af --- /dev/null +++ b/.github/workflows/pipeline_index.yml @@ -0,0 +1,70 @@ +name: Index Pipeline + +run-name: | + Index Pipeline + +on: + workflow_dispatch: + inputs: + artifactory_repo: + type: string + description: Artifactory repository path where deliveries are stored + required: true + default: "some-repo" + + mission: + type: choice + description: Mission name (e.g. hst) + options: + - thing1 + - thing2 + - thing3 + - thing4 + required: true + default: "thing4" + + build_name: + type: string + description: Build name (e.g. MYPIPELINE-1.2.3) + required: true + default: "" + + destination: + type: string + description: Path to store an indexed delivery + required: true + default: "/path/to/stasis/releases" + + stasis_indexer_args: + type: string + description: arguments for stasis tool + required: false + default: "" + +jobs: + deliver: + name: Index + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + #- name: Mount data area + # uses: ./.github/actions/sshfs + # with: + # user: ${{ secrets.SVC_SSHFS_USER }} + # password: ${{ secrets.SVC_SSHFS_PASS }} + # remote_host: example.tld + # remote_dir: /data + # local_dir: /mydata + + - name: Index + uses: ./.github/actions/stasis_indexer + with: + artifactory_url: https://blah.tld + artifactory_repo: ${{ inputs.artifactory_repo }} + mission: ${{ inputs.mission }} + build_name: ${{ inputs.build_name }} + destination: ${{ inputs.destination }} + stasis_indexer_args: ${{ inputs.stasis_indexer_args }} + -- cgit