aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pipeline_deliver.yml
blob: 78260e4ae4add946396be29cb1051196106a292e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Deliver Pipeline

run-name: |
  Deliver 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: 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 }}