From 410beb3bf443cd3271c8963503fcc0c45a7ba42e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Tue, 29 Oct 2024 12:23:57 +0200 Subject: [PATCH 1/3] chore: add passed_env with intentional misspelling --- .../src/commands/new/new-project-template/Cargo.toml.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template index 22fa32ef..a068f39c 100644 --- a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template +++ b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template @@ -18,6 +18,10 @@ crate-type = ["cdylib", "rlib"] image = "sourcescan/cargo-near:0.10.1-rust-1.82.0" # tag after colon above serves only descriptive purpose; image is identified by digest image_digest = "sha256:48206ab74c774cb03394ef84f0c5e0b458a071331164b5da853de06f3510cbf8" +# list of environment variables names, whose values, if set, will be used as external build parameters +# in a reproducible manner +# supported by `sourcescan/cargo-near:0.10.1-rust-1.82.0` image or later images +paxxed_env = [] # build command inside of docker container # if docker image from default gallery is used https://hub.docker.com/r/sourcescan/cargo-near/tags, # the command may be any combination of flags of `cargo-near`, From 73bf39c5c50caec7f1d0136e019ba3dadcc44c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Tue, 29 Oct 2024 12:25:28 +0200 Subject: [PATCH 2/3] ci: remove special token from autorenewal wf, with misleading comment --- .github/workflows/crontab_new_template_renewal.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/crontab_new_template_renewal.yml b/.github/workflows/crontab_new_template_renewal.yml index 0b46f4ee..c2db82fb 100644 --- a/.github/workflows/crontab_new_template_renewal.yml +++ b/.github/workflows/crontab_new_template_renewal.yml @@ -51,6 +51,3 @@ jobs: uses: peter-evans/create-pull-request@v7 with: title: update `cargo near new` template `image` and `image_digest` - env: - # https://github.com/peter-evans/create-pull-request/issues/48#issuecomment-536204092 - GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} From 9c92cb7880bab104bbf15c75c17aa4a627353391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Tue, 29 Oct 2024 12:45:05 +0200 Subject: [PATCH 3/3] chore: correct spelling of key in tmplt --- .../src/commands/new/new-project-template/Cargo.toml.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template index a068f39c..6551d104 100644 --- a/cargo-near/src/commands/new/new-project-template/Cargo.toml.template +++ b/cargo-near/src/commands/new/new-project-template/Cargo.toml.template @@ -21,7 +21,7 @@ image_digest = "sha256:48206ab74c774cb03394ef84f0c5e0b458a071331164b5da853de06f3 # list of environment variables names, whose values, if set, will be used as external build parameters # in a reproducible manner # supported by `sourcescan/cargo-near:0.10.1-rust-1.82.0` image or later images -paxxed_env = [] +passed_env = [] # build command inside of docker container # if docker image from default gallery is used https://hub.docker.com/r/sourcescan/cargo-near/tags, # the command may be any combination of flags of `cargo-near`,