-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (49 loc) · 2.18 KB
/
generate-initial-checksums.yml
File metadata and controls
49 lines (49 loc) · 2.18 KB
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
name: Generate Initial Checksums
on:
workflow_dispatch:
inputs:
config-branch-name:
type: string
required: true
description: The configuration branch that will be run that will generate the checksums.
commit-checksums:
type: boolean
required: true
description: Commit the checksums to the target branch once generated. They will still be stored as a workflow artifact.
committed-checksum-location:
type: string
required: false
default: ./testing/checksum
description: "If checksums are being committed: Where in the repository the generated checksums should be committed to."
committed-checksum-tag-version:
type: string
required: false
default: '1.0'
description: "If checksums are being committed: The initial version for the git tag associated with the committed checksums."
committed-checksum-create-release:
type: boolean
required: false
default: false
description: "If checksums are being committed and a tag is being created: Whether to create a GitHub Release for the committed checksums."
test-markers:
type: string
required: false
default: repro_historical
description: Test markers to generate checksums, in the form of pytest test marker strings
jobs:
generate-checksums:
name: Generate Checksums
if: github.repository != 'access-nri/model-config-tests'
uses: access-nri/model-config-tests/.github/workflows/generate-checksums.yml@146-add-marker-input-for-initial-checksums
with:
config-branch-name: ${{ inputs.config-branch-name }}
commit-checksums: ${{ inputs.commit-checksums }}
committed-checksum-location: ${{ inputs.committed-checksum-location }}
committed-checksum-tag-version: ${{ inputs.committed-checksum-tag-version }}
committed-checksum-create-release: ${{ inputs.committed-checksum-create-release }}
environment-name: "Gadi Initial Checksum" # FIXME: This Environment doesn't necessarily have to be called this
test-markers: ${{ inputs.test-markers }}
permissions:
contents: write
checks: write
secrets: inherit