diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-01-17 16:19:22 -0500 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-01-17 16:19:22 -0500 |
| commit | 829557d5c73113a1182c2d709b300a92594cc1cb (patch) | |
| tree | 0adffb9ba4b8ad7d22cb960cc6db84f8072178c6 /.github/workflows/pipeline_index.yml | |
| parent | eea09732fd146dab61e4460c7dcff211bcb2ede6 (diff) | |
| download | ghasandbox-829557d5c73113a1182c2d709b300a92594cc1cb.tar.gz | |
OK
Diffstat (limited to '.github/workflows/pipeline_index.yml')
| -rw-r--r-- | .github/workflows/pipeline_index.yml | 70 |
1 files changed, 70 insertions, 0 deletions
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 }} + |
