Skip to content

Commit

Permalink
gh-actions: Release 0.3.2 (#2431)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Nov 8, 2024
1 parent c105df7 commit 46a13f2
Show file tree
Hide file tree
Showing 23 changed files with 83 additions and 83 deletions.
4 changes: 2 additions & 2 deletions gh-actions/azp/agent-cleanup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ runs:

- id: fetch
name: Fetch AZP agents list
uses: envoyproxy/toolshed/gh-actions/fetch@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/fetch@actions-v0.3.2
with:
url: https://dev.azure.com/${{ inputs.azp-org }}/_apis/distributedtask/pools/${{ inputs.pool-id }}/agents?api-version=7.1-preview.1
args: -u ":${{ inputs.azp-token }}"

- name: Get dead AZP agent ids
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input-format: json-path
input: ${{ steps.fetch.outputs.path }}
Expand Down
4 changes: 2 additions & 2 deletions gh-actions/bson/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
chmod +x $TMPFILE
echo "path=$TMPFILE" >> $GITHUB_OUTPUT
shell: bash
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
id: command
with:
input: ${{ inputs.input }}
Expand Down Expand Up @@ -76,7 +76,7 @@ runs:
TMPFILE: ${{ steps.script.outputs.path }}
shell: bash
- id: output
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
if: ${{ inputs.result-filter }}
with:
input: ${{ steps.run.outputs.output }}
Expand Down
4 changes: 2 additions & 2 deletions gh-actions/cache/prime/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ runs:
lookup-only: true
path: ${{ inputs.path || inputs.path-tmp }}
key: ${{ inputs.key }}
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
if: ${{ ! inputs.lock-id && steps.cache-restore-initial.outputs.cache-hit != 'true' }}
id: lock-id
with:
input: ${{ inputs.key }}
options: -Rr
filter: |
@base64
- uses: envoyproxy/toolshed/gh-actions/github/mutex@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/github/mutex@actions-v0.3.2
if: ${{ inputs.lock-token && steps.cache-restore-initial.outputs.cache-hit != 'true' }}
with:
key: ${{ inputs.lock-id || steps.lock-id.outputs.value }}
Expand Down
2 changes: 1 addition & 1 deletion gh-actions/docker/cache/prime/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ outputs:
runs:
using: "composite"
steps:
- uses: envoyproxy/toolshed/gh-actions/cache/prime@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/cache/prime@actions-v0.3.2
id: prime
with:
key: ${{ inputs.image-tag }}${{ inputs.key-suffix }}
Expand Down
2 changes: 1 addition & 1 deletion gh-actions/docker/cache/restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: envoyproxy/toolshed/gh-actions/cache/restore@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/cache/restore@actions-v0.3.2
with:
key: ${{ inputs.image-tag }}${{ inputs.key-suffix }}
command: |
Expand Down
2 changes: 1 addition & 1 deletion gh-actions/docker/fetch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: envoyproxy/toolshed/gh-actions/fetch@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/fetch@actions-v0.3.2
id: fetch
with:
url: ${{ inputs.url }}
Expand Down
8 changes: 4 additions & 4 deletions gh-actions/docker/shas/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ outputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
id: yaml
with:
input: ${{ inputs.images }}
input-format: yaml
- uses: envoyproxy/toolshed/gh-actions/foreach@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/foreach@actions-v0.3.2
id: json_actions
with:
items: ${{ steps.yaml.outputs.value }}
steps: |
- uses: envoyproxy/toolshed/gh-actions/docker/sha@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/docker/sha@actions-v0.3.2
id: $KEY
with:
image: >-
%{{ fromJSON(inputs.context).items['$KEY'] }}
env_var: ${{ inputs.env_prefix }}_$KEY
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
id: images
with:
input: ${{ steps.json_actions.outputs.out }}
Expand Down
12 changes: 6 additions & 6 deletions gh-actions/envoy/ci/env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
steps:

# Check current/requested config (currently only build-images can be overridden)
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.2
id: config
with:
title: fetch ${{ inputs.branch-name }}:${{ inputs.config-file }}
Expand All @@ -70,7 +70,7 @@ runs:
result-filter: .

- id: build-images
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input-format: yaml-path
input: ${{ inputs.config-file }}
Expand All @@ -86,7 +86,7 @@ runs:
| {$requested}
# Check request version
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Validate given version string
id: version
with:
Expand All @@ -105,7 +105,7 @@ runs:
| {requested: .}
- id: request
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: |
actor: ${{ toJSON(github.actor) }}
Expand Down Expand Up @@ -138,12 +138,12 @@ runs:
- name: Run config
id: run-config
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input-format: yaml
input: ${{ toJSON(fromJSON(steps.config.outputs.output).run) }}

- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Create data
id: data
with:
Expand Down
20 changes: 10 additions & 10 deletions gh-actions/envoy/ci/request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ runs:
#
# Only specified bots are trusted.
- id: trusted
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: |
trusted_bots: |
Expand All @@ -87,7 +87,7 @@ runs:
| (. and ($input.event_name | startswith("pull_request") | not))
# Check requested changes
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.2
id: changed
with:
title: git diff changes from ${{ inputs.merge-commit || 'HEAD^1' }}
Expand All @@ -108,7 +108,7 @@ runs:
| split("\n")
# Check current/requested config (currently only build-images can be overridden)
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.2
id: config
with:
title: fetch ${{ inputs.branch-name }}:${{ inputs.config-file }}
Expand All @@ -128,7 +128,7 @@ runs:
result-filter: .

- id: build-images
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input-format: yaml-path
input: ${{ inputs.working-directory }}/${{ inputs.config-file }}
Expand All @@ -151,7 +151,7 @@ runs:
| {$requested, current: .}
# Check current/request versions
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Validate given version string
id: version-string
with:
Expand All @@ -160,7 +160,7 @@ runs:
input: ${{ inputs.working-directory }}/VERSION.txt
filter: |
validate::version
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.2
id: version
with:
title: fetch ${{ inputs.branch-name }}:${{ inputs.version-file }}
Expand Down Expand Up @@ -192,7 +192,7 @@ runs:
| {requested: ., current: $current}
- id: request
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: |
actor: ${{ toJSON(github.actor) }}
Expand Down Expand Up @@ -240,18 +240,18 @@ runs:
- name: Run config
id: run-config
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input-format: yaml
input: ${{ toJSON(fromJSON(steps.config.outputs.output).run) }}
- uses: envoyproxy/toolshed/gh-actions/torun@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/torun@actions-v0.3.2
id: torun
with:
event: ${{ github.event_name }}
config: ${{ steps.run-config.outputs.value }}
paths: ${{ steps.changed.outputs.output || '[]' }}

- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Create data
id: data
with:
Expand Down
8 changes: 4 additions & 4 deletions gh-actions/envoy/run/summary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ inputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
if: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }}
with:
input: ${{ inputs.context }}
print-result: true
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Runtime information
id: run-info
with:
Expand All @@ -135,13 +135,13 @@ runs:
completed: .run.completed,
"run-time": "\(.run.completed - .run.started | . * 100 | round / 100)s",
"job-time": "\(.run.completed - .context["job-started"] | . * 100 | round / 100)s"}
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.2
name: Run information summary
id: run-summary
with:
json: ${{ steps.run-info.outputs.value }}
title: Runtime information
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: ${{ inputs.context }}
options: -r
Expand Down
8 changes: 4 additions & 4 deletions gh-actions/foreach/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ outputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Context
id: context
with:
input: ${{ inputs.context || '{}' }}
filter: |
${{ inputs.context-filter }}
| . * {"items": ${{ inputs.items }}}
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Steps (JSON)
id: steps-json
with:
input: ${{ inputs.steps }}
input-format: yaml
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Steps
id: steps-subs
with:
Expand All @@ -55,7 +55,7 @@ runs:
| map(.key as $k | $out | . + [($steps | walk(if type == "string" then sub("\\$KEY"; "\($k)") else . end))])
| flatten
- uses: envoyproxy/toolshed/gh-actions/using/steps@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/using/steps@actions-v0.3.2
id: steps
with:
name: ${{ inputs.name }}
Expand Down
10 changes: 5 additions & 5 deletions gh-actions/github/checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ outputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/github/merge-commit@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/github/merge-commit@actions-v0.3.2
id: merge-commit
name: Fetch merge commit hash
if: ${{ inputs.pr && fromJSON(inputs.fetch-merge-commit) }}
Expand All @@ -57,7 +57,7 @@ runs:
# depth of the checked ancestor.
- name: Parse YAML config
id: parsed-config
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: ${{ inputs.config || '{}' }}
input-format: yaml
Expand Down Expand Up @@ -102,7 +102,7 @@ runs:
- name: Config
id: config-token
if: ${{ inputs.ssh-key == '' }}
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: ${{ inputs.token || github.token }}
options: -R
Expand All @@ -115,7 +115,7 @@ runs:
| del(.branch, .["requested-ref"])
- name: Config
id: config-ssh
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
if: ${{ inputs.ssh-key != '' }}
with:
input: ${{ inputs.ssh-key }}
Expand Down Expand Up @@ -151,7 +151,7 @@ runs:
COMMITTER_EMAIL: ${{ inputs.committer-email }}
shell: bash
- id: branch
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
with:
input: ${{ fromJSON(steps.parsed-config.outputs.value).branch }}
input-format: text
Expand Down
2 changes: 1 addition & 1 deletion gh-actions/github/command/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ outputs:
runs:
using: composite
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Parse command from text
id: command
with:
Expand Down
6 changes: 3 additions & 3 deletions gh-actions/github/env/load/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
using: composite
steps:
# For dispatch events we have to find the request via the Request workflow
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/bson@actions-v0.3.2
name: Find request
id: find-request
if: ${{ inputs.head-sha }}
Expand All @@ -47,12 +47,12 @@ runs:
| ("${{ inputs.template-script-current }}" | bash::output)
- name: Download environment data
id: download
uses: envoyproxy/toolshed/gh-actions/github/artifact/download@actions-v0.3.1
uses: envoyproxy/toolshed/gh-actions/github/artifact/download@actions-v0.3.2
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}
run-id: ${{ steps.find-request.outputs.output || inputs.run-id }}
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Load env data
id: data
with:
Expand Down
2 changes: 1 addition & 1 deletion gh-actions/github/env/save/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
# Create temporary directory
OUTPUT_DIR=$(mktemp -d)
echo "directory=${OUTPUT_DIR}" >> $GITHUB_OUTPUT
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.1
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.2
name: Check proxy data
id: env
with:
Expand Down
Loading

0 comments on commit 46a13f2

Please sign in to comment.