From d3ef41c10dda0cbd5484e7573ae6298d53465eef Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 15 Aug 2024 17:16:30 +0000 Subject: [PATCH 1/4] fix: upgrade sass from 1.77.7 to 1.77.8 Snyk has created this PR to upgrade sass from 1.77.7 to 1.77.8. See this package in npm: sass See this project in Snyk: https://app.snyk.io/org/radix-team/project/a11ff57c-dbcf-461e-a49d-8498edcdcdbd?utm_source=github&utm_medium=referral&page=upgrade-pr --- public-site/package-lock.json | 8 ++++---- public-site/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public-site/package-lock.json b/public-site/package-lock.json index ad094619..9cfc213c 100644 --- a/public-site/package-lock.json +++ b/public-site/package-lock.json @@ -15,7 +15,7 @@ "prism-react-renderer": "^2.3.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "sass": "^1.77.7" + "sass": "^1.77.8" }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.4.0", @@ -13279,9 +13279,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sass": { - "version": "1.77.7", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.7.tgz", - "integrity": "sha512-9ywH75cO+rLjbrZ6en3Gp8qAMwPGBapFtlsMJoDTkcMU/bSe5a6cjKVUn5Jr4Gzg5GbP3HE8cm+02pLCgcoMow==", + "version": "1.77.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz", + "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", "license": "MIT", "dependencies": { "chokidar": ">=3.0.0 <4.0.0", diff --git a/public-site/package.json b/public-site/package.json index 2504d9c6..cd3a9d2b 100644 --- a/public-site/package.json +++ b/public-site/package.json @@ -22,7 +22,7 @@ "prism-react-renderer": "^2.3.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "sass": "^1.77.7" + "sass": "^1.77.8" }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.4.0", From 744b0f583872e76ec04faca9b58cbc5a7ee4e3e6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 15 Aug 2024 17:16:35 +0000 Subject: [PATCH 2/4] fix: upgrade typescript from 5.5.3 to 5.5.4 Snyk has created this PR to upgrade typescript from 5.5.3 to 5.5.4. See this package in npm: typescript See this project in Snyk: https://app.snyk.io/org/radix-team/project/a11ff57c-dbcf-461e-a49d-8498edcdcdbd?utm_source=github&utm_medium=referral&page=upgrade-pr --- public-site/package-lock.json | 8 ++++---- public-site/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public-site/package-lock.json b/public-site/package-lock.json index ad094619..ca894d8f 100644 --- a/public-site/package-lock.json +++ b/public-site/package-lock.json @@ -21,7 +21,7 @@ "@docusaurus/module-type-aliases": "^3.4.0", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", - "typescript": "~5.5.2" + "typescript": "^5.5.4" }, "engines": { "node": ">=18.0" @@ -14352,9 +14352,9 @@ } }, "node_modules/typescript": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", - "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/public-site/package.json b/public-site/package.json index 2504d9c6..97d49c89 100644 --- a/public-site/package.json +++ b/public-site/package.json @@ -28,7 +28,7 @@ "@docusaurus/module-type-aliases": "^3.4.0", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", - "typescript": "~5.5.2" + "typescript": "~5.5.4" }, "browserslist": { "production": [ From 57efdac333569fc21b2e25c03ccae3c6c255e404 Mon Sep 17 00:00:00 2001 From: Sergey Smolnikov Date: Mon, 26 Aug 2024 12:14:23 +0200 Subject: [PATCH 3/4] Info about overriding useBuildCache --- public-site/docs/docs/topic-radix-cli/index.md | 1 + public-site/docs/radix-config/index.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/public-site/docs/docs/topic-radix-cli/index.md b/public-site/docs/docs/topic-radix-cli/index.md index a5923e07..35fef320 100644 --- a/public-site/docs/docs/topic-radix-cli/index.md +++ b/public-site/docs/docs/topic-radix-cli/index.md @@ -126,6 +126,7 @@ An option `job` of commands `create`, `get logs` is replaced with `pipeline-job` ```shell rx create pipeline-job build-deploy -a your-app-name --branch main ``` + Optional argument `--use-build-cache=true|false` can override the radixconfig option [useBuildCache](/radix-config/index.md#usebuildcache) #### Promote pipeline job * Promote active deployment in one environment to another: ```shell diff --git a/public-site/docs/radix-config/index.md b/public-site/docs/radix-config/index.md index cf5b3f2b..20edae52 100644 --- a/public-site/docs/radix-config/index.md +++ b/public-site/docs/radix-config/index.md @@ -72,6 +72,8 @@ Example: instead of `FROM alpine` use `FROM docker.io/alpine`, as this `alpine` ### `useBuildCache` `useBuildCache` - (optional, defaults to `true`) pushes all layers to cache, and uses it in future builds when possible. Requires `useBuildKit` to be enabled. Internally we set `--cache-to`, `--cache-from` and `--layers` in Buildah. Read more at [Buildahs Documentation](https://github.com/containers/buildah/blob/main/docs/buildah-build.1.md) +This option can be overridden in the [Radix CLI command](/docs/topic-radix-cli/index.md#build-and-deploy-pipeline-job) `rx create pipeline-job build-deploy` with an argument `--use-build-cache=true|false` + :::tip Make sure you never store secrets or confidential information in any intermitent layer, multistage image, or in your final container image. ::: From f6dbc25bb559f716101c77fa9bace7ad15f2613e Mon Sep 17 00:00:00 2001 From: Sergey Smolnikov Date: Mon, 26 Aug 2024 12:19:32 +0200 Subject: [PATCH 4/4] Update --- public-site/package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public-site/package-lock.json b/public-site/package-lock.json index 40aef54a..68233879 100644 --- a/public-site/package-lock.json +++ b/public-site/package-lock.json @@ -21,7 +21,7 @@ "@docusaurus/module-type-aliases": "^3.4.0", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", - "typescript": "^5.5.4" + "typescript": "~5.5.4" }, "engines": { "node": ">=18.0"