-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (45 loc) · 1.64 KB
/
Test_EICAR_Rock.yaml
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
name: Test EICAR Rock
on:
push:
paths:
- .github/workflows/Test_EICAR_Rock.yaml
workflow_dispatch:
inputs:
oci-archive-name:
description: "Filname of built rock image"
type: string
default: "eicar-rock.rock"
rock-repo:
description: "Repository to source project file"
type: string
default: "canonical/rocks-toolbox"
rock-repo-commit:
description: "Reference to source project file"
type: string
default: "oci-factory_workflows"
rockfile-directory:
description: "Path to rockcraft.yaml project file"
type: string
default: "oci-factory_workflows/rocks/eicar"
jobs:
build-rock:
runs-on: ubuntu-22.04
name: Debug
steps:
- name: Debug
id: test
run: |
echo '${{ toJSON(inputs) }}'
# name: Build Rock
# uses: clay-lake/oci-factory/.github/workflows/Build-Rock.yaml@refactor-workflows
# with:
# oci-archive-name: "${{ inputs.oci-archive-name }}"
# rock-repo: "${{ inputs.rock-repo }}"
# rock-repo-commit: "${{ inputs.rock-repo-commit }}"
# rockfile-directory: "${{ inputs.rockfile-directory }}"
# test-rock:
# name: Test Rock
# uses: clay-lake/oci-factory/.github/workflows/Test-Rock.yaml@refactor-workflows
# needs: [build-rock]
# with:
# oci-archive-name: "${{ inputs.oci-archive-name }}"