From 1ac37a40c6b55ebdbbb17d44661b4d749129ddaf Mon Sep 17 00:00:00 2001 From: Sergey Smolnikov Date: Mon, 26 Aug 2024 12:44:01 +0200 Subject: [PATCH] Info about overriding useBuildCache (#375) * 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 * 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 * Info about overriding useBuildCache * Update --------- Co-authored-by: snyk-bot --- public-site/docs/docs/topic-radix-cli/index.md | 1 + public-site/docs/radix-config/index.md | 2 ++ public-site/package-lock.json | 16 ++++++++-------- public-site/package.json | 4 ++-- 4 files changed, 13 insertions(+), 10 deletions(-) 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. ::: diff --git a/public-site/package-lock.json b/public-site/package-lock.json index ad094619..68233879 100644 --- a/public-site/package-lock.json +++ b/public-site/package-lock.json @@ -15,13 +15,13 @@ "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", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", - "typescript": "~5.5.2" + "typescript": "~5.5.4" }, "engines": { "node": ">=18.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", @@ -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..ff1e53f8 100644 --- a/public-site/package.json +++ b/public-site/package.json @@ -22,13 +22,13 @@ "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", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", - "typescript": "~5.5.2" + "typescript": "~5.5.4" }, "browserslist": { "production": [