blob: 5e73df83fea1211cdaacd81293cf12652e14a9b6 (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
name: Publish Pipeline
run-name: |
Publish pipeline to Artifactory
on:
workflow_dispatch:
inputs:
delivery_file:
type: string
description: Delivery file
required: true
default: ""
unbuffered:
type: boolean
description: Disable line buffering
default: true
verbose:
type: boolean
description: Toggle verbose output
default: false
continue_on_error:
type: boolean
description: Allow tests to fail
default: false
no_testing:
type: boolean
description: Disable all tests
default: false
no_artifactory:
type: boolean
description: Disable Artifactory (including existence checks)
default: false
no_artifactory_upload:
type: boolean
description: Disable Artifactory deployment (excluding existence checks)
default: false
no_docker:
type: boolean
description: Disable Docker image building
default: false
stasis_args:
type: string
description: Custom arguments to pass to STASIS
required: false
default: ""
jobs:
publish:
name: Publish (${{ runner.os }}-${{ runner.arch }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-arm64
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: STASIS (${{ runner.os }}-${{ runner.arch }})
uses: ./.github/actions/stasis
with:
prefix: ${{ github.workspace }}/.local
artifactory_url: https://blah.tld
artifactory_repo: ${{ inputs.artifactory_repo }}
stasis_args: ${{ inputs.stasis_args }}
option_delivery_file: ${{ inputs.delivery_file }}
option_verbose: ${{ inputs.verbose }}
option_continue_on_error: ${{ inputs.continue_on_error }}
option_no_testing: ${{ inputs.no_testing }}
option_no_artifactory: ${{ inputs.no_artifactory }}
option_no_artifactory_upload: ${{ inputs.no_artifactory_upload }}
option_no_docker: ${{ inputs.no_docker }}
option_unbuffered: ${{ inputs.unbuffered }}
|