Skip to content

Commit b62d7fa

Browse files
borisbaldassariwaynebeaton
authored andcommitted
Switching back to artIfacts.
1 parent 5e8090b commit b62d7fa

File tree

5 files changed

+46
-46
lines changed

5 files changed

+46
-46
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ concurrency:
66
group: "release-${{ github.head_ref || github.ref }}"
77
cancel-in-progress: true
88
jobs:
9-
quality_artefacts_job:
10-
name: A job to collect quality artefacts
9+
quality_artifacts_job:
10+
name: A job to collect quality artifacts
1111
runs-on: ubuntu-latest
1212
permissions: write-all
1313
steps:
@@ -20,17 +20,17 @@ jobs:
2020
run: |
2121
echo ${{ steps.create_release.outputs.url }}
2222
# Call the quevee gh action to create the manifest file for SDV maturity assessment.
23-
- name: Collect quality artefacts
23+
- name: Collect quality artifacts
2424
uses: eclipse-dash/quevee
2525
id: quevee
2626
with:
2727
release_url: ${{ steps.create_release.outputs.url }}
28-
artefacts_readme: README.md
29-
artefacts_requirements: docs/requirements.md
30-
artefacts_testing: tests/test_report.md
31-
artefacts_documentation: docs/getting_started/README.md
32-
artefacts_coding_guidelines: docs/coding_guidelines.md
33-
artefacts_release_process: https://example.org/docs/my_release_process.md
28+
artifacts_readme: README.md
29+
artifacts_requirements: docs/requirements.md
30+
artifacts_testing: tests/test_report.md
31+
artifacts_documentation: docs/getting_started/README.md
32+
artifacts_coding_guidelines: docs/coding_guidelines.md
33+
artifacts_release_process: https://example.org/docs/my_release_process.md
3434
- name: Upload quality manifest to release
3535
uses: svenstaro/upload-release-action@v2
3636
with:

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ To use this action, one simply needs to add the following steps in their release
1010

1111
```yaml
1212
# Call the quevee gh action to create the manifest file for SDV maturity assessment.
13-
- name: Collect quality artefacts
13+
- name: Collect quality artifacts
1414
uses: eclipse-dash/quevee
1515
id: quevee
1616
with:
1717
release_url: ${{ steps.create_release.outputs.url }}
18-
artefacts_requirements: <path/to/requirements_file>
19-
artefacts_testing: <path/to/testing_document_1>,<path/to/testing_document_2>
20-
artefacts_documentation: <path/to/documentation>
21-
artefacts_coding_guidelines: <path/to/coding_guidelines>
22-
artefacts_release_process: <path/to/release_process>
18+
artifacts_requirements: <path/to/requirements_file>
19+
artifacts_testing: <path/to/testing_document_1>,<path/to/testing_document_2>
20+
artifacts_documentation: <path/to/documentation>
21+
artifacts_coding_guidelines: <path/to/coding_guidelines>
22+
artifacts_release_process: <path/to/release_process>
2323
- name: Upload quality manifest to release
2424
uses: svenstaro/upload-release-action@v2
2525
with:
@@ -34,10 +34,10 @@ The various <path/to/file> placeholders can either be:
3434
* a full URL to a resource, e.g. `https://myproject/docs/getting_started.pdf`.
3535

3636
If one needs to provide several files for a given criterion, there are two options:
37-
* provide a comma-separated list of files, as shown for the artefacts_testing example above, or
37+
* provide a comma-separated list of files, as shown for the artifacts_testing example above, or
3838
* provide an archive, with a separate github action step.
3939

40-
An example of a step archiving artefacts can be:
40+
An example of a step archiving artifacts can be:
4141
```yaml
4242
- name: Gather Testing documents
4343
shell: bash
@@ -55,7 +55,7 @@ An example of a step archiving artefacts can be:
5555
This in turn can be referenced in the quevee call as:
5656
```yaml
5757
...
58-
artefacts_testing: ${{ steps.upload_spec.outputs.browser_download_url }}
58+
artifacts_testing: ${{ steps.upload_spec.outputs.browser_download_url }}
5959
...
6060
```
6161

action.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,43 @@
77
# SPDX-License-Identifier: EPL-2.0
88
#
99
name: 'quevee'
10-
description: 'QUality-EVEnt Engine for collecting quality-related build and release artefacts'
10+
description: 'QUality-EVEnt Engine for collecting quality-related build and release artifacts'
1111
branding:
1212
icon: 'award'
1313
color: 'green'
1414
inputs:
1515
release_url:
1616
description: 'URL of the release this manifest refers to'
1717
required: false
18-
artefacts_readme:
18+
artifacts_readme:
1919
description: 'Comma-separated list of URLs of READMEs'
2020
required: false
21-
artefacts_requirements:
21+
artifacts_requirements:
2222
description: 'Comma-separated list of URLs of requirement files'
2323
required: false
24-
artefacts_testing:
24+
artifacts_testing:
2525
description: 'Comma-separated list of URLs of test results'
2626
required: false
27-
artefacts_documentation:
28-
description: 'Comma-separated list of URLs of documentation artefacts'
27+
artifacts_documentation:
28+
description: 'Comma-separated list of URLs of documentation artifacts'
2929
required: false
30-
artefacts_coding_guidelines:
30+
artifacts_coding_guidelines:
3131
description: 'Comma-separated list of URLs of coding guidelines documents'
3232
required: false
33-
artefacts_release_process:
33+
artifacts_release_process:
3434
description: 'Comma-separated list of URLs of release process information'
3535
required: false
3636
outputs:
3737
manifest_file:
38-
description: 'Process artefacts manifest file name'
38+
description: 'Process artifacts manifest file name'
3939
runs:
4040
using: 'docker'
4141
image: 'Dockerfile'
4242
args:
4343
- ${{ inputs.release_url }}
44-
- ${{ inputs.artefacts_readme }}
45-
- ${{ inputs.artefacts_requirements }}
46-
- ${{ inputs.artefacts_testing }}
47-
- ${{ inputs.artefacts_documentation }}
48-
- ${{ inputs.artefacts_coding_guidelines }}
49-
- ${{ inputs.artefacts_release_process }}
44+
- ${{ inputs.artifacts_readme }}
45+
- ${{ inputs.artifacts_requirements }}
46+
- ${{ inputs.artifacts_testing }}
47+
- ${{ inputs.artifacts_documentation }}
48+
- ${{ inputs.artifacts_coding_guidelines }}
49+
- ${{ inputs.artifacts_release_process }}

sdv-manifest.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,26 +90,26 @@ for var in $(env | grep "^INPUT_" | cut -d= -f1); do
9090
value="${!var}"
9191

9292
case "$var" in
93-
"INPUT_ARTEFACTS_README")
93+
"INPUT_ARTIFACTS_README")
9494
generate_toml_section "readme" "$value" >>"$OUTPUT"
9595
;;
96-
"INPUT_ARTEFACTS_REQUIREMENTS")
96+
"INPUT_ARTIFACTS_REQUIREMENTS")
9797
generate_toml_section "requirements" "$value" >>"$OUTPUT"
9898
;;
99-
"INPUT_ARTEFACTS_TESTING")
99+
"INPUT_ARTIFACTS_TESTING")
100100
generate_toml_section "testing" "$value" >>"$OUTPUT"
101101
;;
102-
"INPUT_ARTEFACTS_DOCUMENTATION")
102+
"INPUT_ARTIFACTS_DOCUMENTATION")
103103
generate_toml_section "documentation" "$value" >>"$OUTPUT"
104104
;;
105-
"INPUT_ARTEFACTS_CODING_GUIDELINES")
105+
"INPUT_ARTIFACTS_CODING_GUIDELINES")
106106
generate_toml_section "coding_guidelines" "$value" >>"$OUTPUT"
107107
;;
108-
"INPUT_ARTEFACTS_RELEASE_PROCESS")
108+
"INPUT_ARTIFACTS_RELEASE_PROCESS")
109109
generate_toml_section "release_process" "$value" >>"$OUTPUT"
110110
;;
111111
*)
112-
echo "Unknown artefact type ${var#INPUT_ARTEFACTS_}"
112+
echo "Unknown artifact type ${var#INPUT_ARTIFACTS_}"
113113
;;
114114
esac
115115
done

tools/test_runner.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export GITHUB_REPOSITORY=eclipse-dash/quevee
1515
export GITHUB_REF_NAME=main
1616
export GITHUB_WORKFLOW_SHA=e69b6ff8f67e0d2edfd0968ebc5f99d7e8d763c7
1717

18-
export INPUT_ARTEFACTS_README="https://some.example.url,https://other.example.url"
19-
export INPUT_ARTEFACTS_REQUIREMENTS="another/file.md,https://another.org/example-test/artefact.bz2"
20-
export INPUT_ARTEFACTS_TESTING="http://first.doc.com/doc/url,https://another.doc.com/example/docs.zip"
21-
export INPUT_ARTEFACTS_DOCUMENTATION="./Random/URL,https://another.org/example/artefact.bz2"
22-
export INPUT_ARTEFACTS_CODING_GUIDELINES="./SomeOther/URL,https://another.org/example/artefact.bz2"
23-
export INPUT_ARTEFACTS_RELEASE_PROCESS="./YetAnother/URL,https://another.org/example/artefact.bz2"
18+
export INPUT_ARTIFACTS_README="https://some.example.url,https://other.example.url"
19+
export INPUT_ARTIFACTS_REQUIREMENTS="another/file.md,https://another.org/example-test/artifact.bz2"
20+
export INPUT_ARTIFACTS_TESTING="http://first.doc.com/doc/url,https://another.doc.com/example/docs.zip"
21+
export INPUT_ARTIFACTS_DOCUMENTATION="./Random/URL,https://another.org/example/artifact.bz2"
22+
export INPUT_ARTIFACTS_CODING_GUIDELINES="./SomeOther/URL,https://another.org/example/artifact.bz2"
23+
export INPUT_ARTIFACTS_RELEASE_PROCESS="./YetAnother/URL,https://another.org/example/artifact.bz2"
2424

2525
./sdv-manifest.sh

0 commit comments

Comments
 (0)