Skip to content

fix(export): add missing cdtn-elasticsearch to Dockerfile (#1038) #3160

fix(export): add missing cdtn-elasticsearch to Dockerfile (#1038)

fix(export): add missing cdtn-elasticsearch to Dockerfile (#1038) #3160

Triggered via push September 28, 2023 14:12
Status Success
Total duration 14m 21s
Artifacts

quality.yml

on: push
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 59 warnings
Lint Dockerfile: docker/elasticsearch/Dockerfile#L1
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L37
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L40
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/contributions/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/contributions/Dockerfile#L29
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L48
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@shared/dila-resolver)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (@socialgouv/cdtn-logger)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (@socialgouv/cdtn-logger): shared/logger/src/index.ts#L3
Variable name `Console` must match one of the following formats: camelCase, UPPER_CASE
Lint (@shared/dila-resolver)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L54
Object Literal Property name `created_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L58
Object Literal Property name `updated_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L59
Object Literal Property name `user_id` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L71
Object Literal Property name `created_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L75
Object Literal Property name `updated_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L76
Object Literal Property name `user_id` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L90
Object Literal Property name `created_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L94
Object Literal Property name `updated_at` must match one of the following formats: camelCase
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/__test__/export.test.ts#L95
Object Literal Property name `user_id` must match one of the following formats: camelCase
Lint (@shared/elasticsearch-document-adapter)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/__tests__/cdtnDocuments.test.ts#L24
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/__tests__/cdtnDocuments.test.ts#L44
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/breadcrumbs.ts#L27
'parentTheme' is already declared in the upper scope on line 26 column 11
Lint (@shared/elasticsearch-document-adapter): shared/elasticsearch-document-adapter/src/breadcrumbs.ts#L65
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Test (@shared/elasticsearch-document-adapter)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (ingester): targets/ingester/src/articles/kali/__tests__/indexed-article.test.ts#L25
Async arrow function has no 'await' expression
Lint (ingester): targets/ingester/src/articles/kali/__tests__/load-agreement-articles.specs.ts#L25
Object Literal Property name `agreement_id` must match one of the following formats: camelCase
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L6
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L9
Type Property name `agreement_id` must match one of the following formats: camelCase
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L19
Parameter name `agreement_id` must match one of the following formats: camelCase
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L31
Object Literal Property name `agreement_id` must match one of the following formats: camelCase
Lint (ingester): targets/ingester/src/articles/kali/load-agreement-articles.ts#L40
Parameter name `kali_id` must match one of the following formats: camelCase
Lint (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (alert-cli): targets/alert-cli/src/APIs/api.ts#L138
Object Literal Property name `Authorization` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L18
Object Literal Property name `dila_cid` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L19
Object Literal Property name `dila_container_id` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L20
Object Literal Property name `dila_id` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L26
Object Literal Property name `dila_cid` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L27
Object Literal Property name `dila_container_id` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L28
Object Literal Property name `dila_id` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L43
Object Literal Property name `dila_cid` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L44
Object Literal Property name `dila_container_id` must match one of the following formats: camelCase
Lint (alert-cli): targets/alert-cli/src/__tests__/relevantContent.test.ts#L45
Object Literal Property name `dila_id` must match one of the following formats: camelCase
Lint (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@socialgouv/cdtn-logger)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/