From 5862686c63a56f76490d2d6ae0f5eb7d066a41e2 Mon Sep 17 00:00:00 2001 From: CI Date: Tue, 4 Jun 2024 20:05:29 +0000 Subject: [PATCH 1/3] fix(deps): update dependency ajv to v8.16.0 --- packages/backend/package.json | 2 +- pnpm-lock.yaml | 17 ++++++----------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index c0adb5fd33..5f176c07a9 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -34,7 +34,7 @@ "@redocly/openapi-core": "1.14.0", "@sinonjs/fake-timers": "11.2.2", "adm-zip": "0.5.14", - "ajv": "8.15.0", + "ajv": "8.16.0", "archiver": "7.0.1", "aws-sdk": "2.1633.0", "axios": "1.7.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 425c6c2383..9563b3ca20 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,8 +79,8 @@ importers: specifier: 0.5.14 version: 0.5.14 ajv: - specifier: 8.15.0 - version: 8.15.0 + specifier: 8.16.0 + version: 8.16.0 archiver: specifier: 7.0.1 version: 7.0.1 @@ -2889,8 +2889,8 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - ajv@8.15.0: - resolution: {integrity: sha512-15BTtQUOsSrmHCy+B4VnAiJAJxJ8IFgu6fcjFQF3jQYZ78nLSQthlFg4ehp+NLIyfvFgOlxNsjKIEhydtFPVHQ==} + ajv@8.16.0: + resolution: {integrity: sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==} ansi-colors@4.1.1: resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} @@ -4510,9 +4510,6 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-uri@2.3.0: - resolution: {integrity: sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw==} - fast-xml-parser@4.4.0: resolution: {integrity: sha512-kLY3jFlwIYwBNDojclKsNAC12sfD6NwW74QB2CoNGPvtVxjliYehVunB3HYyNi+n4Tt1dAcgwYvmKF/Z18flqg==} hasBin: true @@ -10300,12 +10297,12 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - ajv@8.15.0: + ajv@8.16.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 2.3.0 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + uri-js: 4.4.1 ansi-colors@4.1.1: {} @@ -12202,8 +12199,6 @@ snapshots: fast-levenshtein@2.0.6: {} - fast-uri@2.3.0: {} - fast-xml-parser@4.4.0: dependencies: strnum: 1.0.5 From c106948f0299953941e41628de53837f1c3e6652 Mon Sep 17 00:00:00 2001 From: CI Date: Tue, 4 Jun 2024 20:05:50 +0000 Subject: [PATCH 2/3] fix(deps): update dependency aws-sdk to v2.1634.0 --- packages/backend/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index c0adb5fd33..e287aa70c1 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -36,7 +36,7 @@ "adm-zip": "0.5.14", "ajv": "8.15.0", "archiver": "7.0.1", - "aws-sdk": "2.1633.0", + "aws-sdk": "2.1634.0", "axios": "1.7.2", "backend-rs": "workspace:*", "blurhash": "2.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 425c6c2383..af99dac1f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,8 +85,8 @@ importers: specifier: 7.0.1 version: 7.0.1 aws-sdk: - specifier: 2.1633.0 - version: 2.1633.0 + specifier: 2.1634.0 + version: 2.1634.0 axios: specifier: 1.7.2 version: 1.7.2 @@ -3038,8 +3038,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - aws-sdk@2.1633.0: - resolution: {integrity: sha512-9OUTdosQgZO6P6hPyEOUDvm4cymbMB0Qn1etucPql95DHjNyIex3FJOBbeRikU+5Wt9Djgdcr+BqAee2Lv/7iw==} + aws-sdk@2.1634.0: + resolution: {integrity: sha512-uSEjzAyGIbfpALzxPYES+hsBK1zuUY/8wSv2mAwijAcQfTMV89jQ4VHI/5KsyyZhDSeS/rV9cn6376KO+HDU2w==} engines: {node: '>= 10.0.0'} axios@0.24.0: @@ -10454,7 +10454,7 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 - aws-sdk@2.1633.0: + aws-sdk@2.1634.0: dependencies: buffer: 4.9.2 events: 1.1.1 From d888343ef4db1f3cf566b89a159d9f52e48030e2 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 5 Jun 2024 06:50:14 +0900 Subject: [PATCH 3/3] ci: add clean task --- .gitlab-ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82f1a63d55..d68ae43810 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,10 +25,11 @@ workflow: - when: never stages: - - dependency - test - doc - build + - dependency + - clean variables: POSTGRES_DB: 'firefish_db' @@ -305,3 +306,19 @@ renovate: before_script: [] script: - renovate --platform gitlab --token "${API_TOKEN}" --endpoint "${CI_SERVER_URL}/api/v4" "${CI_PROJECT_PATH}" + +clean: + stage: clean + rules: + - if: $CLEAN && $CI_PIPELINE_SOURCE == 'schedule' + services: [] + before_script: + - apt-get update && apt-get -y upgrade + - apt-get -y --no-install-recommends install curl + - curl -fsSL 'https://deb.nodesource.com/setup_18.x' | bash - + - apt-get install -y --no-install-recommends nodejs + - corepack enable + - corepack prepare pnpm@latest --activate + - pnpm install --frozen-lockfile + script: + - pnpm run clean-all