Adapt integration tests to reuse the packed charm #91
test.yaml
on: pull_request
unit-tests
/
...
/
Get runner image
2s
unit-tests
/
Inclusive naming
24s
unit-tests
/
Shell scripts lint
15s
unit-tests
/
Dockerfile lint
24s
unit-tests
/
Lint metadata.yaml
20s
unit-tests
/
Draft publish docs
53s
unit-tests
/
Check license headers
1m 29s
unit-tests
/
Check libraries
15s
unit-tests
/
Required Test Status Checks
11s
Annotations
7 errors, 23 warnings, and 4 notices
unit-tests / Inclusive naming
Process completed with exit code 1.
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L37
Use absolute WORKDIR
|
unit-tests / Dockerfile lint
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
Process completed with exit code 1.
|
unit-tests / Required Test Status Checks
Process completed with exit code 1.
|
unit-tests / Check libraries
No lib folder detected. Skipping action.
|
unit-tests / Inclusive naming:
config.yaml#L31
[Inclusive naming check] reported by reviewdog 🐶
[warning] `whitelist` may be insensitive, use `allowlist` instead
Raw Output:
config.yaml:31:12: [warning] `whitelist` may be insensitive, use `allowlist` instead
|
unit-tests / Inclusive naming:
config.yaml#L34
[Inclusive naming check] reported by reviewdog 🐶
[warning] `whitelist` may be insensitive, use `allowlist` instead
Raw Output:
config.yaml:34:80: [warning] `whitelist` may be insensitive, use `allowlist` 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 / Inclusive naming:
src/charm.py#L260
[Inclusive naming check] reported by reviewdog 🐶
[warning] `whitelist` may be insensitive, use `allowlist` instead
Raw Output:
src/charm.py:260:16: [warning] `whitelist` may be insensitive, use `allowlist` instead
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L10
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L10
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#L31
`COPY` to a relative destination without `WORKDIR` set.
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L33
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#L52
Use WORKDIR to switch to a directory
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L73
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L78
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#L111
Use WORKDIR to switch to a directory
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L111
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#L118
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 / 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#L73
Delete the apt-get lists after installing something
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L73
Avoid additional packages by specifying `--no-install-recommends`
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L101
Multiple consecutive `RUN` instructions. Consider consolidation.
|
unit-tests / Dockerfile lint:
mattermost.Dockerfile#L106
Multiple consecutive `RUN` instructions. Consider consolidation.
|