Skip to content

Adapt integration tests to reuse the packed charm #92

Adapt integration tests to reuse the packed charm

Adapt integration tests to reuse the packed charm #92

Triggered via pull request August 25, 2023 10:44
Status Cancelled
Total duration 1m 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
34s
unit-tests / Inclusive naming
unit-tests  /  Shell scripts lint
16s
unit-tests / Shell scripts lint
unit-tests  /  Dockerfile lint
16s
unit-tests / Dockerfile lint
unit-tests  /  Lint metadata.yaml
19s
unit-tests / Lint metadata.yaml
unit-tests  /  Draft publish docs
41s
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
50s
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, 23 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 / Inclusive naming
Process completed with exit code 1.
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 / Check license headers
The operation was canceled.
unit-tests / Check libraries
No lib folder detected. Skipping action.
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 / Inclusive naming: config.yaml#L33
[Inclusive naming check] reported by reviewdog 🐶 [warning] `whitelist` may be insensitive, use `allowlist` instead Raw Output: config.yaml:33:12: [warning] `whitelist` may be insensitive, use `allowlist` instead
unit-tests / Inclusive naming: config.yaml#L36
[Inclusive naming check] reported by reviewdog 🐶 [warning] `whitelist` may be insensitive, use `allowlist` instead Raw Output: config.yaml:36:80: [warning] `whitelist` may be insensitive, use `allowlist` instead
unit-tests / Inclusive naming: src/environment.py#L169
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/environment.py:169:59: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L152
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/charm.py:152:47: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L152
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/charm.py:152:73: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L153
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/charm.py:153:42: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L153
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/charm.py:153:68: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L155
[Inclusive naming check] reported by reviewdog 🐶 [warning] `master` may be insensitive, use `primary`, `main` instead Raw Output: src/charm.py:155:17: [warning] `master` may be insensitive, use `primary`, `main` instead
unit-tests / Inclusive naming: src/charm.py#L179
[Inclusive naming check] reported by reviewdog 🐶 [warning] `whitelist` may be insensitive, use `allowlist` instead Raw Output: src/charm.py:179:44: [warning] `whitelist` may be insensitive, use `allowlist` instead
unit-tests / Inclusive naming: src/charm.py#L181
[Inclusive naming check] reported by reviewdog 🐶 [warning] `whitelist` may be insensitive, use `allowlist` instead Raw Output: src/charm.py:181:58: [warning] `whitelist` may be insensitive, use `allowlist` instead
unit-tests / Lint and unit tests
No files were found with the provided path: report.json. No artifacts will be uploaded.
unit-tests / Check license headers
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
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.