From 62bd158c16bd571a65a7d64d39751de1dea114c2 Mon Sep 17 00:00:00 2001 From: Alexey Zhokhov Date: Sat, 17 Oct 2026 10:29:43 +0700 Subject: [PATCH] build: migrate to velnor-actions 0.1.12 Co-Authored-By: Claude Code Signed-off-by: Alexey Zhokhov --- .github/AGENTS.md | 2 +- .github/actionlint.yaml | 2 +- .../tofu-provider-admission/action.yml | 2 +- .github/actions/u26/action.yml | 2 +- .github/actions/velnor-tool-seed/action.yml | 2 +- .../velnor-tools-cache-restore/action.yml | 2 +- .../velnor-tools-prelude-u26/action.yml | 2 +- .../scripts/velnor-tools-cache-identity.sh | 2 +- .github/workflows/ci.yml | 56 +++++++++---------- .velnor/release-manifest.json | 16 +++--- 10 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/AGENTS.md b/.github/AGENTS.md index bf6e4c3..887e0a9 100644 --- a/.github/AGENTS.md +++ b/.github/AGENTS.md @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. # Generated GitHub Workflows and Configurations `velnor-actions` from [tailrocks/velnor-new](https://github.com/tailrocks/velnor-new) owns its declared generated paths, the complete `.github/workflows/` namespace, and marked shared action definitions under `.github/actions/`. Successful generation replaces emitted owned paths and retires owned paths no longer emitted. Do not hand-edit these managed paths; change their inputs and run `velnor-actions generate`. diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 91b4170..318f78a 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. config-variables: [] diff --git a/.github/actions/tofu-provider-admission/action.yml b/.github/actions/tofu-provider-admission/action.yml index ffbe332..75f519b 100644 --- a/.github/actions/tofu-provider-admission/action.yml +++ b/.github/actions/tofu-provider-admission/action.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: Admit OpenTofu provider cache description: Restore and admit the exact OpenTofu provider cache entry. inputs: diff --git a/.github/actions/u26/action.yml b/.github/actions/u26/action.yml index 47f5702..da250c5 100644 --- a/.github/actions/u26/action.yml +++ b/.github/actions/u26/action.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: Velnor Mise cache identity description: Qualify the hosted image and cache roots before V2 restore. inputs: diff --git a/.github/actions/velnor-tool-seed/action.yml b/.github/actions/velnor-tool-seed/action.yml index 87c3a36..5aedb45 100644 --- a/.github/actions/velnor-tool-seed/action.yml +++ b/.github/actions/velnor-tool-seed/action.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: Restore Velnor tool seed description: Copy a matching host tool seed into this job. inputs: diff --git a/.github/actions/velnor-tools-cache-restore/action.yml b/.github/actions/velnor-tools-cache-restore/action.yml index 607faad..f2c7517 100644 --- a/.github/actions/velnor-tools-cache-restore/action.yml +++ b/.github/actions/velnor-tools-cache-restore/action.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: Velnor Mise tools cache restore description: Restore the exact renderer-owned V2 Mise tools paths. inputs: diff --git a/.github/actions/velnor-tools-prelude-u26/action.yml b/.github/actions/velnor-tools-prelude-u26/action.yml index 9871134..250cf7c 100644 --- a/.github/actions/velnor-tools-prelude-u26/action.yml +++ b/.github/actions/velnor-tools-prelude-u26/action.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: Velnor hosted tools prelude description: Qualify the hosted image and copy a matching tool seed. inputs: diff --git a/.github/scripts/velnor-tools-cache-identity.sh b/.github/scripts/velnor-tools-cache-identity.sh index 825c029..cd81f66 100644 --- a/.github/scripts/velnor-tools-cache-identity.sh +++ b/.github/scripts/velnor-tools-cache-identity.sh @@ -1,2 +1,2 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. export LC_ALL=C; set -eu; umask 077; : "${GITHUB_OUTPUT:?missing GITHUB_OUTPUT}"; scratch_root=; scratch_dir=; runner_os=${RUNNER_OS-}; runner_arch=${RUNNER_ARCH-}; image_os=${ImageOS-}; image_version=${ImageVersion-}; home=${HOME-}; runner_temp=${RUNNER_TEMP-}; mise_rustup=${MISE_RUSTUP_HOME-}; rustup_home=${RUSTUP_HOME-}; mise_cargo=${MISE_CARGO_HOME-}; cargo_home=${CARGO_HOME-}; valid_path() { value=$1; case "$value" in /*) ;; *) return 1 ;; esac; [ "$value" != / ] || return 1; case "$value" in *[![:print:]]*|*//*|*/./*|*/../*|*/.|*/..) return 1 ;; esac; remaining=${value#/}; prefix=; while [ -n "$remaining" ]; do case "$remaining" in */*) part=${remaining%%/*}; remaining=${remaining#*/} ;; *) part=$remaining; remaining= ;; esac; [ -n "$part" ] || return 1; prefix="$prefix/$part"; [ ! -L "$prefix" ] || return 1; done; }; cleanup_scratch() { [ -n "$scratch_dir" ] || return 0; case "$scratch_dir" in "$scratch_root"/runtime-identity.*) ;; *) return 1 ;; esac; [ -d "$scratch_dir" ] && [ ! -L "$scratch_dir" ] || return 1; rm -rf -- "$scratch_dir" || return 1; scratch_dir=; }; on_exit() { status=$1; trap - EXIT; if ! cleanup_scratch; then status=1; fi; exit "$status"; }; trap 'status=$?; on_exit "$status"' EXIT; trap 'exit 129' HUP; trap 'exit 130' INT; trap 'exit 143' TERM; disable() { reason=$1; if ! cleanup_scratch; then printf 'enabled=false\nreason=identity_scratch_cleanup_failed\n' >> "$GITHUB_OUTPUT"; exit 1; fi; printf 'enabled=false\nreason=%s\n' "$reason" >> "$GITHUB_OUTPUT"; exit 0; }; case "$VELNOR_CACHE_LANE" in scale-set:*) disable scale_set_image_unqualified ;; esac; case "$VELNOR_CACHE_LANE" in ubuntu-22.04) expected_image_os=ubuntu22 ;; ubuntu-24.04) expected_image_os=ubuntu24 ;; ubuntu-26.04) expected_image_os=ubuntu26 ;; *) disable lane_image_unqualified ;; esac; expected_arch=X64; expected_target=x86_64-unknown-linux-gnu; [ -n "$runner_os" ] || disable runner_os_missing; [ "$runner_os" = Linux ] || disable runner_os_mismatch; [ -n "$runner_arch" ] || disable runner_arch_missing; [ "$runner_arch" = "$expected_arch" ] || disable runner_arch_mismatch; [ -n "$image_os" ] || disable image_os_missing; [ "$image_os" = "$expected_image_os" ] || disable image_os_mismatch; [ -n "$image_version" ] || disable image_version_missing; case "$image_version" in *[!0-9.]*) disable image_version_invalid ;; esac; case "$image_version" in *[0-9]*) ;; *) disable image_version_invalid ;; esac; [ -n "$home" ] && [ -d "$home" ] || disable home_missing; [ -n "$runner_temp" ] && [ -d "$runner_temp" ] || disable runner_temp_missing; valid_path "$home" || disable home_aliased; valid_path "$runner_temp" || disable runner_temp_aliased; expected_mise="$home/.local/share/mise"; effective_mise=${MISE_DATA_DIR-}; if [ -z "$effective_mise" ]; then if [ -n "${XDG_DATA_HOME-}" ]; then effective_mise="$XDG_DATA_HOME/mise"; else effective_mise=$expected_mise; fi; fi; valid_path "$expected_mise" || disable mise_root_aliased; valid_path "$effective_mise" || disable mise_root_invalid; [ "$effective_mise" = "$expected_mise" ] || disable mise_root_not_archived; expected_rustup="$runner_temp/velnor/rustup"; expected_cargo="$runner_temp/velnor/cargo"; [ "$mise_rustup" = "$expected_rustup" ] || disable mise_rustup_home_mismatch; [ "$rustup_home" = "$expected_rustup" ] || disable rustup_home_mismatch; [ "$mise_cargo" = "$expected_cargo" ] || disable mise_cargo_home_mismatch; [ "$cargo_home" = "$expected_cargo" ] || disable cargo_home_mismatch; valid_path "$expected_rustup" || disable rustup_root_invalid; valid_path "$expected_cargo" || disable cargo_root_invalid; scratch_root="$runner_temp/velnor"; valid_path "$scratch_root" || disable cache_scratch_aliased; mkdir -p "$scratch_root" || disable cache_scratch_unavailable; [ -d "$scratch_root" ] && [ ! -L "$scratch_root" ] || disable cache_scratch_invalid; scratch_dir="$scratch_root/runtime-identity.$$"; if ! mkdir -m 700 "$scratch_dir"; then scratch_dir=; disable identity_scratch_unavailable; fi; case "$scratch_dir" in "$scratch_root"/runtime-identity.*) ;; *) disable cache_scratch_invalid ;; esac; valid_path "$scratch_dir" && [ -d "$scratch_dir" ] && [ ! -L "$scratch_dir" ] || disable cache_scratch_invalid; identity_file="$scratch_dir/preimage"; sum_file="$scratch_dir/digest"; set -C; if ! : > "$identity_file"; then set +C; disable identity_file_unavailable; fi; if ! : > "$sum_file"; then set +C; disable identity_file_unavailable; fi; set +C; valid_path "$identity_file" && [ -f "$identity_file" ] && [ ! -L "$identity_file" ] || disable identity_file_invalid; valid_path "$sum_file" && [ -f "$sum_file" ] && [ ! -L "$sum_file" ] || disable identity_file_invalid; for value in "velnor-tools-runtime-v2" "$VELNOR_CACHE_STATIC_DIGEST" "$VELNOR_CACHE_LANE" "$expected_target" "$runner_os" "$runner_arch" "$image_os" "$image_version" "$home" "$runner_temp" "$effective_mise" "$expected_rustup" "$expected_cargo"; do if ! printf '%s:%s\n' "${#value}" "$value" >> "$identity_file"; then disable identity_file_write_failed; fi; done; if command -v sha256sum >/dev/null 2>&1; then if ! sha256sum < "$identity_file" > "$sum_file"; then disable identity_hash_failed; fi; elif command -v shasum >/dev/null 2>&1; then if ! shasum -a 256 < "$identity_file" > "$sum_file"; then disable identity_hash_failed; fi; else disable sha256_tool_missing; fi; if ! IFS=' ' read -r fingerprint _ < "$sum_file"; then disable fingerprint_missing; fi; [ ${#fingerprint} -eq 64 ] || disable fingerprint_invalid; case "$fingerprint" in *[!0-9a-f]*) disable fingerprint_invalid ;; esac; if ! cleanup_scratch; then disable identity_scratch_cleanup_failed; fi; printf 'identity=%s\nenabled=true\nreason=qualified_hosted_image\n' "$fingerprint" >> "$GITHUB_OUTPUT" \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57402bf..74aaf20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Generated by Velnor Actions 0.1.9; edit .velnor/config.toml and regenerate. +# Generated by Velnor Actions 0.1.12; edit .velnor/config.toml and regenerate. name: CI "on": pull_request: @@ -80,9 +80,9 @@ jobs: runs-on: ubuntu-26.04 timeout-minutes: 20 env: - VELNOR_ASSET_SHA256: 6cd0fb8b096d49f1d02b713428da04fabbe836dd3b7113d483ffbe59db96fa8e - VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-unknown-linux-gnu - VELNOR_RELEASE_COMMIT: a7d49aa6b0af3b1ccb5cac3d93147eba82eba4f9 + VELNOR_ASSET_SHA256: 2488f97877c2ed55489fdf4dec70412c0196d33afc7366bd2ced949f2a94557f + VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-unknown-linux-gnu + VELNOR_RELEASE_COMMIT: f1b044a606b6bc469f9718644f5c0ed88bf965b6 outputs: covered_tasks: ${{ steps.plan.outputs.covered_tasks }} qualification_campaign: ${{ steps.plan.outputs.qualification_campaign }} @@ -119,20 +119,20 @@ jobs: - name: Prepare pinned tools run: mise --no-config --no-env --no-hooks install actionlint@1.7.12 shellcheck@0.11.0 zizmor@1.30.1 opentofu@1.13.1 - name: Acquire Velnor - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" - name: Write request env: VELNOR_INTERNAL_OP: write-request-v1 VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/plan-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Check generated files - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; $RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9 generate --output-dir \"$RUNNER_TEMP/velnor-actions-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" && diff -r --brief .github \"$RUNNER_TEMP/velnor-actions-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}/.github\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; $RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12 generate --output-dir \"$RUNNER_TEMP/velnor-actions-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" && diff -r --brief .github \"$RUNNER_TEMP/velnor-actions-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}/.github\"'" - name: Plan id: plan env: VELNOR_INTERNAL_OP: plan-v1 VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/plan-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Publish plan if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a @@ -152,15 +152,15 @@ jobs: runs-on: ubuntu-26.04 timeout-minutes: 10 env: - VELNOR_ASSET_SHA256: 6cd0fb8b096d49f1d02b713428da04fabbe836dd3b7113d483ffbe59db96fa8e - VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-unknown-linux-gnu - VELNOR_RELEASE_COMMIT: a7d49aa6b0af3b1ccb5cac3d93147eba82eba4f9 + VELNOR_ASSET_SHA256: 2488f97877c2ed55489fdf4dec70412c0196d33afc7366bd2ced949f2a94557f + VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-unknown-linux-gnu + VELNOR_RELEASE_COMMIT: f1b044a606b6bc469f9718644f5c0ed88bf965b6 needs: - required if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Acquire Velnor - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" - name: Download plan uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c with: @@ -170,13 +170,13 @@ jobs: env: VELNOR_INTERNAL_OP: write-request-v1 VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/publish-baseline-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Publish baseline id: publish-baseline env: VELNOR_INTERNAL_OP: publish-baseline-v1 VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/publish-baseline-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Upload baseline if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a @@ -191,9 +191,9 @@ jobs: timeout-minutes: 10 env: RUSTUP_TOOLCHAIN: 1.98.1 - VELNOR_ASSET_SHA256: 6cd0fb8b096d49f1d02b713428da04fabbe836dd3b7113d483ffbe59db96fa8e - VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-unknown-linux-gnu - VELNOR_RELEASE_COMMIT: a7d49aa6b0af3b1ccb5cac3d93147eba82eba4f9 + VELNOR_ASSET_SHA256: 2488f97877c2ed55489fdf4dec70412c0196d33afc7366bd2ced949f2a94557f + VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-unknown-linux-gnu + VELNOR_RELEASE_COMMIT: f1b044a606b6bc469f9718644f5c0ed88bf965b6 permissions: contents: read actions: read @@ -213,7 +213,7 @@ jobs: sha256: c72477ae6c3a8e7d817a322f43da70e4643e75ee5c21265f1c19c894273b7428 version: 2026.10.8 - name: Acquire Velnor - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" - name: Prepare pinned tools env: MISE_CARGO_HOME: ${{ runner.temp }}/velnor/cargo @@ -230,21 +230,21 @@ jobs: GH_REPO: ${{ github.repository }} GH_TOKEN: ${{ github.token }} VELNOR_INTERNAL_OP: fetch-reports-v1 - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Write request env: VELNOR_INTERNAL_OP: write-request-v1 VELNOR_NEEDS_JSON: ${{ toJSON(needs) }} VELNOR_NEEDS_EXPECTED: "[\"actionlint\",\"plan\",\"tofu-workspace\"]" VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/merge-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Merge reports env: VELNOR_INTERNAL_OP: merge-v1 VELNOR_NEEDS_JSON: ${{ toJSON(needs) }} VELNOR_NEEDS_EXPECTED: "[\"actionlint\",\"plan\",\"tofu-workspace\"]" VELNOR_REQUEST_FILE: ${{ runner.temp }}/velnor/request/merge-v1-request.json - run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.9'" + run: "\"$RUNNER_TEMP\"'/velnor/bin/velnor-actions-0.1.12'" - name: Publish final report if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a @@ -258,9 +258,9 @@ jobs: runs-on: ubuntu-26.04 timeout-minutes: 30 env: - VELNOR_ASSET_SHA256: 6cd0fb8b096d49f1d02b713428da04fabbe836dd3b7113d483ffbe59db96fa8e - VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-unknown-linux-gnu - VELNOR_RELEASE_COMMIT: a7d49aa6b0af3b1ccb5cac3d93147eba82eba4f9 + VELNOR_ASSET_SHA256: 2488f97877c2ed55489fdf4dec70412c0196d33afc7366bd2ced949f2a94557f + VELNOR_ASSET_URL: https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-unknown-linux-gnu + VELNOR_RELEASE_COMMIT: f1b044a606b6bc469f9718644f5c0ed88bf965b6 needs: - plan strategy: @@ -291,7 +291,7 @@ jobs: sha256: c72477ae6c3a8e7d817a322f43da70e4643e75ee5c21265f1c19c894273b7428 version: 2026.10.8 - name: Acquire Velnor - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; d=\"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"&&mkdir -p \"${d%/*}\"&&s=\"/opt/velnor/seed/generator/${d##*/}\"&&p=\"$VELNOR_ASSET_SHA256 \"&&if [ -f \"$s\" ]&&echo \"$p$s\"|sha256sum -c -;then cp \"$s\" \"$d\";else curl -fsSL --retry 5 --retry-all-errors --proto '\\''=https'\\'' --tlsv1.2 \"$VELNOR_ASSET_URL\" -o \"$d\"&&echo \"$p$d\"|sha256sum -c -;fi&&chmod +x \"$d\"'" - name: Download plan uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c with: @@ -316,7 +316,7 @@ jobs: VELNOR_MATRIX_KEY: m-3c8679d9275e8dda VELNOR_TASK_DIGEST: b3-31fb3885e2c8c470833d4bccfd842757a4c93d268142f89d70c4ddbc3d3dd565 VELNOR_TASK_ID: stack/tofu/dir-/fmt/default - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu fmt -check -recursive -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu fmt -check -recursive -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" - name: Init for validate if: "!contains(needs.plan.outputs.covered_tasks, ',stack/tofu/dir-/init/default,')" env: @@ -328,7 +328,7 @@ jobs: VELNOR_MATRIX_KEY: m-dd8cb3a035daf865 VELNOR_TASK_DIGEST: b3-5ec299f3808a7018d7b433404d75005f0da6af0d189053e01407a9bdecdea694 VELNOR_TASK_ID: stack/tofu/dir-/init/default - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu init -backend=false -input=false -lockfile=readonly -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu init -backend=false -input=false -lockfile=readonly -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" - name: Validate if: "!contains(needs.plan.outputs.covered_tasks, ',stack/tofu/dir-/validate/default,')" env: @@ -340,7 +340,7 @@ jobs: VELNOR_MATRIX_KEY: m-4cb0c782e5cd0eb9 VELNOR_TASK_DIGEST: b3-b9ea8471b2e348a63462488325d31787568b7cce6bdb27dfb951a95c331efd3a VELNOR_TASK_ID: stack/tofu/dir-/validate/default - run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu validate -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.9\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" + run: "sh -c 'unset ACTIONS_ID_TOKEN_REQUEST_TOKEN ACTIONS_ID_TOKEN_REQUEST_URL ACTIONS_RUNTIME_TOKEN GITHUB_TOKEN MISE_GITHUB_TOKEN GH_TOKEN GH_HOST GH_CONFIG_DIR; s=$(date +%s%3N); mise --no-config --no-env --no-hooks exec opentofu@1.13.1 -- tofu validate -no-color; code=$?; VELNOR_EXIT_CODE=\"$code\" VELNOR_START_MS=\"$s\" VELNOR_INTERNAL_OP=write-task-report-v1 \"$RUNNER_TEMP/velnor/bin/velnor-actions-0.1.12\"; helper_code=$?; if [ \"$code\" -ne 0 ]; then exit \"$code\"; fi; exit \"$helper_code\"'" - name: Upload crate reports if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a diff --git a/.velnor/release-manifest.json b/.velnor/release-manifest.json index 4b46d47..d8e6fb8 100644 --- a/.velnor/release-manifest.json +++ b/.velnor/release-manifest.json @@ -1,23 +1,23 @@ { "schema": 1, - "version": "0.1.9", + "version": "0.1.12", "repository": "tailrocks/velnor-new", - "commit": "a7d49aa6b0af3b1ccb5cac3d93147eba82eba4f9", + "commit": "f1b044a606b6bc469f9718644f5c0ed88bf965b6", "targets": [ { "target": "x86_64-unknown-linux-gnu", - "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-unknown-linux-gnu", - "sha256": "6cd0fb8b096d49f1d02b713428da04fabbe836dd3b7113d483ffbe59db96fa8e" + "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-unknown-linux-gnu", + "sha256": "2488f97877c2ed55489fdf4dec70412c0196d33afc7366bd2ced949f2a94557f" }, { "target": "aarch64-apple-darwin", - "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-aarch64-apple-darwin", - "sha256": "1df65f6b47781e4ced14087e1fea4e5869a9e6a92d5a453dcc260ac92dde0690" + "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-aarch64-apple-darwin", + "sha256": "f08ba3c1f67e76490a4d374a323b7f716ed1bbca2c0ed4b575b50f2cd29453e9" }, { "target": "x86_64-apple-darwin", - "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.9/velnor-actions-0.1.9-x86_64-apple-darwin", - "sha256": "2a3e70d7115917982b7de5f316930655f350570a5f6986c0251f3efb325dfb68" + "artifact": "https://github.com/tailrocks/velnor-new/releases/download/v0.1.12/velnor-actions-0.1.12-x86_64-apple-darwin", + "sha256": "6bb2599797311f23f494d213cb01d6f2be3c34e08e3e3a1768297bde7e766fe3" } ] }