Skip to content

Only upload images declared in metadata.yaml in the publish workflow #765

Only upload images declared in metadata.yaml in the publish workflow

Only upload images declared in metadata.yaml in the publish workflow #765

Triggered via pull request September 5, 2023 07:51
Status Success
Total duration 3h 2m 35s
Artifacts 5

workflow_test.yaml

on: pull_request
integration  /  ...  /  Get runner image
7s
integration / Get runner image / Get runner image
simple-self-hosted  /  ...  /  Get runner image
3s
simple-self-hosted / Get runner image / Get runner image
simple-self-hosted  /  Inclusive naming
27s
simple-self-hosted / Inclusive naming
simple-self-hosted  /  Shell scripts lint
19s
simple-self-hosted / Shell scripts lint
simple-self-hosted  /  Dockerfile lint
22s
simple-self-hosted / Dockerfile lint
simple-self-hosted  /  Lint metadata.yaml
22s
simple-self-hosted / Lint metadata.yaml
simple-self-hosted  /  Draft publish docs
47s
simple-self-hosted / Draft publish docs
simple-self-hosted  /  Check license headers
1m 21s
simple-self-hosted / Check license headers
simple-self-hosted  /  Check libraries
20s
simple-self-hosted / Check libraries
simple  /  ...  /  Get runner image
3s
simple / Get runner image / Get runner image
simple  /  Inclusive naming
9s
simple / Inclusive naming
simple  /  Shell scripts lint
4s
simple / Shell scripts lint
simple  /  Dockerfile lint
7s
simple / Dockerfile lint
simple  /  Lint metadata.yaml
15s
simple / Lint metadata.yaml
simple  /  Draft publish docs
24s
simple / Draft publish docs
simple  /  Check license headers
38s
simple / Check license headers
simple  /  Check libraries
3s
simple / Check libraries
integration  /  ...  /  Get images
6s
integration / Build image / Get images
integration  /  ...  /  Get rocks
8s
integration / Build rock / Get rocks
integration  /  Build and push charm
3m 58s
integration / Build and push charm
simple-self-hosted  /  Lint and unit tests
1m 24s
simple-self-hosted / Lint and unit tests
simple  /  Lint and unit tests
57s
simple / Lint and unit tests
Matrix: integration / Build image / Build image
Matrix: integration / Build rock / Build rock
simple-self-hosted  /  Required Test Status Checks
13s
simple-self-hosted / Required Test Status Checks
simple  /  Required Test Status Checks
3s
simple / Required Test Status Checks
integration  /  Get rocks or Docker images
1s
integration / Get rocks or Docker images
Matrix: integration / Integration tests / Integration tests
integration  /  Required Integration Test Status Checks
0s
integration / Required Integration Test Status Checks
integration-rock  /  ...  /  Get runner image
5s
integration-rock / Get runner image / Get runner image
integration-rock  /  ...  /  Get images
2s
integration-rock / Build image / Get images
integration-rock  /  ...  /  Get rocks
7s
integration-rock / Build rock / Get rocks
integration-rock  /  Build and push charm
2m 32s
integration-rock / Build and push charm
Matrix: integration-rock / Build image / Build image
Matrix: integration-rock / Build rock / Build rock
integration-rock  /  Get rocks or Docker images
2s
integration-rock / Get rocks or Docker images
Matrix: integration-rock / Integration tests / Integration tests
integration-rock  /  Required Integration Test Status Checks
0s
integration-rock / Required Integration Test Status Checks
publish  /  branch-up-to-date-check-enabled
5s
publish / branch-up-to-date-check-enabled
publish  /  ...  /  Get runner image
4s
publish / Get runner image / Get runner image
publish  /  Get images
3s
publish / Get images
publish  /  Get workflow run id
0s
publish / Get workflow run id
publish  /  Draft publish docs
20s
publish / Draft publish docs
publish  /  Release charm libs
6s
publish / Release charm libs
publish  /  Publish images to charmhub
2m 58s
publish / Publish images to charmhub
publish  /  Publish charm to latest/edge
2m 26s
publish / Publish charm to latest/edge
Fit to window
Zoom out
Zoom in

Annotations

13 warnings and 4 notices
simple / Check libraries
No lib folder detected. Skipping action.
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L4
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
simple-self-hosted / Check libraries
No lib folder detected. Skipping action.
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L4
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
simple / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
simple-self-hosted / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
publish / branch-up-to-date-check-enabled
Unexpected input(s) 'repo', 'owner', 'branch', valid inputs are ['route', 'mediaType']
publish / Release charm libs
Charm test-upload has no own libs. Skipping action.
publish / Publish charm to latest/edge
No resources were uploaded as part of this build. If you wish to upload the OCI image, set 'upload-image' to 'true'
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Delete the apt-get lists after installing something
simple / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Avoid additional packages by specifying `--no-install-recommends`
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Delete the apt-get lists after installing something
simple-self-hosted / Dockerfile lint: tests/workflows/integration/test-upload-charm/test.Dockerfile#L6
Avoid additional packages by specifying `--no-install-recommends`

Artifacts

Produced during runtime
Name Size
integration-test-charm-1-charm Expired
1.8 KB
integration-test-charm-1-images Expired
88 Bytes
report Expired
877 Bytes
test-upload-charm Expired
6.37 MB
test-upload-images Expired
88 Bytes