-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ryan Northey <[email protected]>
- Loading branch information
Showing
24 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,13 @@ runs: | |
|
||
- id: fetch | ||
name: Fetch AZP agents list | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
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/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input-format: json-path | ||
input: ${{ steps.fetch.outputs.path }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ runs: | |
chmod +x $TMPFILE | ||
echo "path=$TMPFILE" >> $GITHUB_OUTPUT | ||
shell: bash | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: command | ||
with: | ||
input: ${{ inputs.input }} | ||
|
@@ -76,7 +76,7 @@ runs: | |
TMPFILE: ${{ steps.script.outputs.path }} | ||
shell: bash | ||
- id: output | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
if: ${{ inputs.result-filter }} | ||
with: | ||
input: ${{ steps.run.outputs.output }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,15 +46,15 @@ runs: | |
lookup-only: true | ||
path: ${{ inputs.path_tmp }} | ||
key: ${{ inputs.key }} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
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/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].37 | ||
if: ${{ inputs.lock-token && steps.cache-restore-initial.outputs.cache-hit != 'true' }} | ||
with: | ||
key: ${{ inputs.lock-id || steps.lock-id.outputs.value }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ outputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].37 | ||
id: prime | ||
with: | ||
key: ${{ inputs.image-tag }}${{ inputs.key-suffix }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].37 | ||
with: | ||
key: ${{ inputs.image_tag }}${{ inputs.key-suffix }} | ||
command: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: fetch | ||
with: | ||
url: ${{ inputs.url }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,24 +14,24 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: yaml | ||
with: | ||
input: ${{ inputs.images }} | ||
input-format: yaml | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: json_actions | ||
with: | ||
items: ${{ steps.yaml.outputs.value }} | ||
steps: | | ||
- uses: envoyproxy/toolshed/gh-actions/docker/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/docker/[email protected].37 | ||
id: $KEY | ||
with: | ||
image: >- | ||
%{{ fromJSON(inputs.context).items['$KEY'] }} | ||
env_var: ${{ inputs.env_prefix }}_$KEY | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: images | ||
with: | ||
input: ${{ steps.json_actions.outputs.out }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ runs: | |
steps: | ||
|
||
# Check current/requested config (currently only build-images can be overridden) | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: config | ||
with: | ||
title: fetch ${{ inputs.branch-name }}:${{ inputs.config-file }} | ||
|
@@ -70,7 +70,7 @@ runs: | |
result-filter: . | ||
|
||
- id: build-images | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input-format: yaml-path | ||
input: ${{ inputs.config-file }} | ||
|
@@ -86,7 +86,7 @@ runs: | |
| {$requested} | ||
# Check request version | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Validate given version string | ||
id: version | ||
with: | ||
|
@@ -105,7 +105,7 @@ runs: | |
| {requested: .} | ||
- id: request | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: | | ||
actor: ${{ toJSON(github.actor) }} | ||
|
@@ -138,12 +138,12 @@ runs: | |
- name: Run config | ||
id: run-config | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input-format: yaml | ||
input: ${{ toJSON(fromJSON(steps.config.outputs.output).run) }} | ||
|
||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Create data | ||
id: data | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ runs: | |
# | ||
# Only specified bots are trusted. | ||
- id: trusted | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: | | ||
trusted_bots: | | ||
|
@@ -84,7 +84,7 @@ runs: | |
| (. and ($input.event_name | startswith("pull_request") | not)) | ||
# Check requested changes | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: changed | ||
with: | ||
title: git diff changes from ${{ inputs.merge-commit || 'HEAD^1' }} | ||
|
@@ -103,7 +103,7 @@ runs: | |
| split("\n") | ||
# Check current/requested config (currently only build-images can be overridden) | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: config | ||
with: | ||
title: fetch ${{ inputs.branch-name }}:${{ inputs.config-file }} | ||
|
@@ -121,7 +121,7 @@ runs: | |
result-filter: . | ||
|
||
- id: build-images | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input-format: yaml-path | ||
input: ${{ inputs.config-file }} | ||
|
@@ -144,7 +144,7 @@ runs: | |
| {$requested, current: .} | ||
# Check current/request versions | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Validate given version string | ||
id: version-string | ||
with: | ||
|
@@ -153,7 +153,7 @@ runs: | |
input: VERSION.txt | ||
filter: | | ||
validate::version | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: version | ||
with: | ||
title: fetch ${{ inputs.branch-name }}:${{ inputs.version-file }} | ||
|
@@ -184,7 +184,7 @@ runs: | |
| {requested: ., current: $current} | ||
- id: request | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: | | ||
actor: ${{ toJSON(github.actor) }} | ||
|
@@ -232,18 +232,18 @@ runs: | |
- name: Run config | ||
id: run-config | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input-format: yaml | ||
input: ${{ toJSON(fromJSON(steps.config.outputs.output).run) }} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
id: torun | ||
with: | ||
event: ${{ github.event_name }} | ||
config: ${{ steps.run-config.outputs.value }} | ||
paths: ${{ steps.changed.outputs.output || '[]' }} | ||
|
||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Create data | ||
id: data | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,12 +113,12 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
if: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }} | ||
with: | ||
input: ${{ inputs.context }} | ||
print-result: true | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Runtime information | ||
id: run-info | ||
with: | ||
|
@@ -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/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].37 | ||
name: Run information summary | ||
id: run-summary | ||
with: | ||
json: ${{ steps.run-info.outputs.value }} | ||
title: Runtime information | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: ${{ inputs.context }} | ||
options: -r | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,21 +25,21 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Context | ||
id: context | ||
with: | ||
input: ${{ inputs.context || '{}' }} | ||
filter: | | ||
${{ inputs.context-filter }} | ||
| . * {"items": ${{ inputs.items }}} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Steps (JSON) | ||
id: steps-json | ||
with: | ||
input: ${{ inputs.steps }} | ||
input-format: yaml | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Steps | ||
id: steps-subs | ||
with: | ||
|
@@ -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/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/using/[email protected].37 | ||
id: steps | ||
with: | ||
name: ${{ inputs.name }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].37 | ||
id: merge-commit | ||
name: Fetch merge commit hash | ||
if: ${{ inputs.pr && fromJSON(inputs.fetch-merge-commit) }} | ||
|
@@ -57,7 +57,7 @@ runs: | |
# depth of the checked ancestor. | ||
- name: Parse YAML config | ||
id: parsed-config | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: ${{ inputs.config || '{}' }} | ||
input-format: yaml | ||
|
@@ -102,7 +102,7 @@ runs: | |
- name: Config | ||
id: config-token | ||
if: ${{ inputs.ssh-key == '' }} | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: ${{ inputs.token || github.token }} | ||
options: -R | ||
|
@@ -115,7 +115,7 @@ runs: | |
| del(.branch, .["requested-ref"]) | ||
- name: Config | ||
id: config-ssh | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
if: ${{ inputs.ssh-key != '' }} | ||
with: | ||
input: ${{ inputs.ssh-key }} | ||
|
@@ -151,7 +151,7 @@ runs: | |
COMMITTER_EMAIL: ${{ inputs.committer-email }} | ||
shell: bash | ||
- id: branch | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
with: | ||
input: ${{ fromJSON(steps.parsed-config.outputs.value).branch }} | ||
input-format: text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Parse command from text | ||
id: command | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Find request | ||
id: find-request | ||
if: ${{ inputs.head-sha }} | ||
|
@@ -47,12 +47,12 @@ runs: | |
| ("${{ inputs.template-script-current }}" | bash::output) | ||
- name: Download environment data | ||
id: download | ||
uses: envoyproxy/toolshed/gh-actions/github/artifact/[email protected].36 | ||
uses: envoyproxy/toolshed/gh-actions/github/artifact/[email protected].37 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ runner.temp }} | ||
run-id: ${{ steps.find-request.outputs.output || inputs.run-id }} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Load env data | ||
id: data | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ runs: | |
# Create temporary directory | ||
OUTPUT_DIR=$(mktemp -d) | ||
echo "directory=${OUTPUT_DIR}" >> $GITHUB_OUTPUT | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].36 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].37 | ||
name: Check proxy data | ||
id: env | ||
with: | ||
|
Oops, something went wrong.