Skip to content

Adapt integration tests to reuse the packed charm #97

Adapt integration tests to reuse the packed charm

Adapt integration tests to reuse the packed charm #97

Triggered via pull request August 25, 2023 12:05
Status Failure
Total duration 13m 30s
Artifacts

test.yaml

on: pull_request
unit-tests  /  ...  /  Get runner image
2s
unit-tests / Get runner image / Get runner image
unit-tests  /  Inclusive naming
35s
unit-tests / Inclusive naming
unit-tests  /  Shell scripts lint
15s
unit-tests / Shell scripts lint
unit-tests  /  Dockerfile lint
18s
unit-tests / Dockerfile lint
unit-tests  /  Lint metadata.yaml
19s
unit-tests / Lint metadata.yaml
unit-tests  /  Draft publish docs
57s
unit-tests / Draft publish docs
unit-tests  /  Check license headers
1m 11s
unit-tests / Check license headers
unit-tests  /  Check libraries
22s
unit-tests / Check libraries
unit-tests  /  Lint and unit tests
1m 40s
unit-tests / Lint and unit tests
unit-tests  /  Required Test Status Checks
11s
unit-tests / Required Test Status Checks
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 13 warnings, and 4 notices
unit-tests / Lint and unit tests
Unhandled error: TypeError: Cannot read properties of undefined (reading '0')
unit-tests / Required Test Status Checks
Process completed with exit code 1.
unit-tests / Dockerfile lint: mattermost.Dockerfile#L75
Avoid additional packages by specifying `--no-install-recommends`
unit-tests / Dockerfile lint: mattermost.Dockerfile#L75
Delete the apt-get lists after installing something
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.
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
Use WORKDIR to switch to a directory
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.