Skip to content

Adapt integration tests to reuse the packed charm #93

Adapt integration tests to reuse the packed charm

Adapt integration tests to reuse the packed charm #93

Triggered via pull request August 25, 2023 10:45
Status Cancelled
Total duration 4m 39s
Artifacts

test.yaml

on: pull_request
unit-tests  /  ...  /  Get runner image
4s
unit-tests / Get runner image / Get runner image
unit-tests  /  Inclusive naming
33s
unit-tests / Inclusive naming
unit-tests  /  Shell scripts lint
25s
unit-tests / Shell scripts lint
unit-tests  /  Dockerfile lint
15s
unit-tests / Dockerfile lint
unit-tests  /  Lint metadata.yaml
25s
unit-tests / Lint metadata.yaml
unit-tests  /  Draft publish docs
39s
unit-tests / Draft publish docs
unit-tests  /  Check license headers
1m 19s
unit-tests / Check license headers
unit-tests  /  Check libraries
15s
unit-tests / Check libraries
unit-tests  /  Lint and unit tests
1m 8s
unit-tests / Lint and unit tests
unit-tests  /  Required Test Status Checks
0s
unit-tests / Required Test Status Checks
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 13 warnings, and 4 notices
unit-tests / Dockerfile lint: mattermost.Dockerfile#L39
Use absolute WORKDIR
unit-tests / Dockerfile lint
Process completed with exit code 1.
unit-tests / Check license headers
Process completed with exit code 1.
unit-tests / Lint and unit tests
Canceling since a higher priority waiting request for 'operator-workflows-Tests-tests-refs/pull/13/merge-self-hosted-true' exists
unit-tests / Lint and unit tests
Unhandled error: TypeError: lint_result is not iterable
unit-tests / Lint and unit tests
Process completed with exit code 1.
unit-tests / Dockerfile lint: mattermost.Dockerfile#L12
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
unit-tests / Dockerfile lint: mattermost.Dockerfile#L12
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
unit-tests / Dockerfile lint: mattermost.Dockerfile#L33
`COPY` to a relative destination without `WORKDIR` set.
unit-tests / Dockerfile lint: mattermost.Dockerfile#L35
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
unit-tests / Dockerfile lint: mattermost.Dockerfile#L54
Use WORKDIR to switch to a directory
unit-tests / Dockerfile lint: mattermost.Dockerfile#L75
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
unit-tests / Dockerfile lint: mattermost.Dockerfile#L80
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
unit-tests / Dockerfile lint: mattermost.Dockerfile#L113
Use WORKDIR to switch to a directory
unit-tests / Dockerfile lint: mattermost.Dockerfile#L113
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
unit-tests / Dockerfile lint: mattermost.Dockerfile#L120
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
unit-tests / Check libraries
No lib folder detected. Skipping action.
unit-tests / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
unit-tests / Lint and unit tests
No files were found with the provided path: report.json. No artifacts will be uploaded.
unit-tests / Dockerfile lint: mattermost.Dockerfile#L75
Delete the apt-get lists after installing something
unit-tests / Dockerfile lint: mattermost.Dockerfile#L75
Avoid additional packages by specifying `--no-install-recommends`
unit-tests / Dockerfile lint: mattermost.Dockerfile#L103
Multiple consecutive `RUN` instructions. Consider consolidation.
unit-tests / Dockerfile lint: mattermost.Dockerfile#L108
Multiple consecutive `RUN` instructions. Consider consolidation.