blob: ccf36afb17129da1e7ef415268111cef5bb67e25 (
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
62
63
64
65
66
67
68
69
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 }}
|