Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 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/actions/fetch@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/fetch@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
input-format: json-path
input: ${{ steps.fetch.outputs.path }}
Expand Down
2 changes: 1 addition & 1 deletion actions/bind-mounts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
using: composite
steps:
- name: Bind mount directories
uses: envoyproxy/toolshed/actions/bson@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/bson@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: mount
with:
input: ${{ inputs.mounts }}
Expand Down
4 changes: 2 additions & 2 deletions 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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
if: ${{ inputs.result-filter }}
with:
input: ${{ steps.run.outputs.output }}
Expand Down
2 changes: 1 addition & 1 deletion actions/buildah/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
echo '${{ inputs.gcr-key }}' | base64 -d | buildah login --username _json_key --password-stdin gcr.io
echo "::endgroup::"
- name: Execute buildah operations
uses: envoyproxy/toolshed/actions/bson@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/bson@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: execute
with:
title: Execute buildah operations
Expand Down
16 changes: 8 additions & 8 deletions actions/cache/prime/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ runs:
id: gcs-object
if: >-
inputs.cache-type == 'gcs'
uses: envoyproxy/toolshed/actions/gcs/cache/exists@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/gcs/cache/exists@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
bucket: ${{ inputs.gcs-bucket }}
key: ${{ inputs.key }}
- name: Check artifact cache
id: artifact-object
if: >-
inputs.cache-type == 'artifact'
uses: envoyproxy/toolshed/actions/github/artifact/cache/id@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/github/artifact/cache/id@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
name: ${{ inputs.key }}
wf-path: ${{ inputs.artifact-wf-path }}
Expand All @@ -94,7 +94,7 @@ runs:
key: ${{ inputs.key }}

# Mutex
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
if: >-
! inputs.lock-id
&& steps.cache-restore-initial.outputs.cache-hit != 'true'
Expand All @@ -106,7 +106,7 @@ runs:
options: -Rr
filter: |
@base64
- uses: envoyproxy/toolshed/actions/github/mutex@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/github/mutex@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
if: >-
inputs.lock-token
&& steps.cache-restore-initial.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -134,7 +134,7 @@ runs:
if: >-
inputs.cache-type == 'artifact'
&& steps.artifact-object.outputs.exists == ''
uses: envoyproxy/toolshed/actions/github/artifact/cache/id@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/github/artifact/cache/id@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
name: ${{ inputs.key }}
wf-path: ${{ inputs.artifact-wf-path }}
Expand All @@ -143,7 +143,7 @@ runs:
if: >-
inputs.cache-type == 'gcs'
&& steps.gcs-object.outputs.exists != 'true'
uses: envoyproxy/toolshed/actions/gcs/cache/exists@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/gcs/cache/exists@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
bucket: ${{ inputs.gcs-bucket }}
key: ${{ inputs.key }}
Expand Down Expand Up @@ -210,7 +210,7 @@ runs:
- if: >-
steps.restore.outputs.save == 'true'
&& inputs.gcs-bucket
uses: envoyproxy/toolshed/actions/gcs/cache/save@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/gcs/cache/save@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
bucket: ${{ inputs.gcs-bucket }}
key: ${{ inputs.key }}
Expand All @@ -220,7 +220,7 @@ runs:
if: >-
steps.restore.outputs.save == 'true'
&& inputs.cache-type == 'artifact'
uses: envoyproxy/toolshed/actions/github/artifact/cache/save@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/github/artifact/cache/save@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.path || inputs.path-tmp }}
Expand Down
4 changes: 2 additions & 2 deletions actions/cache/restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
if: >-
inputs.cache-type == 'gcs'
id: cache-restore-gcs
uses: envoyproxy/toolshed/actions/gcs/cache/restore@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/gcs/cache/restore@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
bucket: ${{ inputs.gcs-bucket }}
path: ${{ inputs.path || inputs.path-tmp }}
Expand All @@ -81,7 +81,7 @@ runs:
if: >-
inputs.cache-type == 'artifact'
id: cache-restore-artifact
uses: envoyproxy/toolshed/actions/github/artifact/cache/restore@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/github/artifact/cache/restore@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
id: ${{ inputs.artifact-id }}
name: ${{ inputs.artifact-name }}
Expand Down
2 changes: 1 addition & 1 deletion 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/actions/cache/prime@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/cache/prime@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: prime
with:
key: ${{ inputs.image-tag }}${{ inputs.key-suffix }}
Expand Down
2 changes: 1 addition & 1 deletion actions/docker/cache/restore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: envoyproxy/toolshed/actions/cache/restore@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/cache/restore@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
key: ${{ inputs.image-tag }}${{ inputs.key-suffix }}
command: |
Expand Down
2 changes: 1 addition & 1 deletion 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/actions/fetch@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/fetch@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: fetch
with:
url: ${{ inputs.url }}
Expand Down
8 changes: 4 additions & 4 deletions 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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: yaml
with:
input: ${{ inputs.images }}
input-format: yaml
- uses: envoyproxy/toolshed/actions/foreach@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/foreach@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: json_actions
with:
items: ${{ steps.yaml.outputs.value }}
steps: |
- uses: envoyproxy/toolshed/actions/docker/sha@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/docker/sha@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: $KEY
with:
image: >-
%{{ fromJSON(inputs.context).items['$KEY'] }}
env_var: ${{ inputs.env_prefix }}_$KEY

- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: images
with:
input: ${{ steps.json_actions.outputs.out }}
Expand Down
20 changes: 10 additions & 10 deletions 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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/bson@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/bson@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/bson@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/bson@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/bson@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/bson@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
input: |
actor: ${{ toJSON(github.actor) }}
Expand Down Expand Up @@ -240,18 +240,18 @@ runs:

- name: Run config
id: run-config
uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
input-format: yaml
input: ${{ toJSON(fromJSON(steps.config.outputs.output).run) }}
- uses: envoyproxy/toolshed/actions/torun@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/torun@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: torun
with:
event: ${{ github.event_name }}
config: ${{ steps.run-config.outputs.value }}
paths: ${{ steps.changed.outputs.output || '[]' }}

- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Create data
id: data
with:
Expand Down
8 changes: 4 additions & 4 deletions 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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
if: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }}
with:
input: ${{ inputs.context }}
print-result: true
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/json/table@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/json/table@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Run information summary
id: run-summary
with:
json: ${{ steps.run-info.outputs.value }}
title: Runtime information
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
with:
input: ${{ inputs.context }}
options: -r
Expand Down
8 changes: 4 additions & 4 deletions 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/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Context
id: context
with:
input: ${{ inputs.context || '{}' }}
filter: |
${{ inputs.context-filter }}
| . * {"items": ${{ inputs.items }}}
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Steps (JSON)
id: steps-json
with:
input: ${{ inputs.steps }}
input-format: yaml
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
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/actions/using/steps@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/using/steps@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: steps
with:
name: ${{ inputs.name }}
Expand Down
2 changes: 1 addition & 1 deletion actions/gcp/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:
if: ${{ inputs.key }}
shell: bash

- uses: envoyproxy/toolshed/actions/github/script/run@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/github/script/run@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
id: key
if: ${{ inputs.key }}
with:
Expand Down
6 changes: 3 additions & 3 deletions actions/gcs/fuse/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ runs:
ARCH="arm64"
fi
echo "address=${GCSFUSE_DOWNLOAD_ROOT}/${GCSFUSE_VERSION}/gcsfuse_${GCSFUSE_VERSION#v}_${ARCH}.deb" >> $GITHUB_OUTPUT
- uses: envoyproxy/toolshed/actions/fetch@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/fetch@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Fetch gcsfuse
if: ${{ steps.status.outputs.installed != 'true' }}
with:
Expand Down Expand Up @@ -171,7 +171,7 @@ runs:
echo "key-path=${KEY_PATH}" >> $GITHUB_OUTPUT
echo "GOOGLE_APPLICATION_CREDENTIALS=${KEY_PATH}" >> $GITHUB_ENV
shell: bash
- uses: envoyproxy/toolshed/actions/github/script/run@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/github/script/run@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Mount GCS bucket
id: mount
env:
Expand Down Expand Up @@ -232,7 +232,7 @@ runs:
post: |
rm -rf ${{ steps.sa.outputs.key-path }}
${AS_ROOT} fusermount -u "${{ inputs.mount-point }}" || true
- uses: envoyproxy/toolshed/actions/jq@718038ba06daddeee163f264a77aa47b31a66779
- uses: envoyproxy/toolshed/actions/jq@5544efa32de04553cf299b2b02e1bf7b6f1d43dc
name: Parse mount
with:
input: ${{ steps.mount.outputs.output-path }}
Expand Down
Loading