Skip to content

Commit

Permalink
Merge branch 'main' into cipher_pref
Browse files Browse the repository at this point in the history
Signed-off-by: Arul Thileeban Sagayam <[email protected]>
  • Loading branch information
arulthileeban authored Jul 23, 2024
2 parents 9202b58 + ff6ced1 commit 98c0313
Show file tree
Hide file tree
Showing 187 changed files with 4,180 additions and 2,497 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,28 @@ jobs:
docker:
runs-on: ubuntu-22.04
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: appauth
name: Appauth (mutex lock)
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/docker/cache/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/docker/cache/[email protected].31
id: docker
name: Prime Docker cache (${{ inputs.image-tag }})
with:
image-tag: ${{ inputs.image-tag }}
lock-token: ${{ steps.appauth.outputs.token }}
lock-repository: ${{ inputs.lock-repository }}
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: data
name: Cache data
with:
input-format: yaml
input: |
cached: ${{ steps.docker.outputs.cached }}
key: ${{ inputs.image-tag }}
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].31
name: Summary
with:
json: ${{ steps.data.outputs.value }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_finish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
actions: read
contents: read
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Incoming data
id: needs
with:
Expand Down Expand Up @@ -87,21 +87,21 @@ jobs:
summary: "Check has finished",
text: $text}}}}
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Print summary
with:
input: ${{ toJSON(steps.needs.outputs.value).summary-title }}
filter: |
"## \(.)"
options: -Rr
output-path: GITHUB_STEP_SUMMARY
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
name: Update check
with:
action: update
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
# Handle any failure in triggering job
# Remove any `checks` we dont care about
# Prepare a check request
- uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].31
name: Load env
id: data
with:
Expand All @@ -102,21 +102,21 @@ jobs:
GH_TOKEN: ${{ github.token }}

# Update the check
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
name: Update check
if: ${{ fromJSON(steps.data.outputs.data).data.check.action == 'RUN' }}
with:
action: update
checks: ${{ toJSON(fromJSON(steps.data.outputs.data).checks) }}
token: ${{ steps.appauth.outputs.token }}

- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Print request summary
with:
input: |
Expand All @@ -136,7 +136,7 @@ jobs:
| $summary.summary as $summary
| "${{ inputs.template-request-summary }}"
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: request-output
name: Load request
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_load_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ jobs:
request: ${{ steps.env.outputs.data }}
trusted: true
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: started
name: Create timestamp
with:
options: -r
filter: |
now
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
id: checkout
name: Checkout Envoy repository
- name: Generate environment variables
uses: envoyproxy/toolshed/gh-actions/envoy/ci/[email protected].30
uses: envoyproxy/toolshed/gh-actions/envoy/ci/[email protected].31
id: env
with:
branch-name: ${{ inputs.branch-name }}
Expand All @@ -86,7 +86,7 @@ jobs:

- name: Request summary
id: summary
uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].30
uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].31
with:
actor: ${{ toJSON(fromJSON(steps.env.outputs.data).request.actor) }}
base-sha: ${{ fromJSON(steps.env.outputs.data).request.base-sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
env: ${{ steps.data.outputs.value }}
config: ${{ steps.config.outputs.config }}
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: started
name: Create timestamp
with:
options: -r
filter: |
now
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
id: checkout
name: Checkout Envoy repository
with:
Expand All @@ -60,7 +60,7 @@ jobs:
# *ALL* variables collected should be treated as untrusted and should be sanitized before
# use
- name: Generate environment variables from commit
uses: envoyproxy/toolshed/gh-actions/envoy/ci/[email protected].30
uses: envoyproxy/toolshed/gh-actions/envoy/ci/[email protected].31
id: env
with:
branch-name: ${{ steps.checkout.outputs.branch-name }}
Expand All @@ -71,7 +71,7 @@ jobs:
vars: ${{ toJSON(vars) }}
- name: Request summary
id: summary
uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].30
uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].31
with:
actor: ${{ toJSON(fromJSON(steps.env.outputs.data).request.actor) }}
base-sha: ${{ fromJSON(steps.env.outputs.data).request.base-sha }}
Expand All @@ -87,7 +87,7 @@ jobs:
target-branch: ${{ fromJSON(steps.env.outputs.data).request.target-branch }}

- name: Environment data
uses: envoyproxy/toolshed/gh-actions/[email protected].30
uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: data
with:
input: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ jobs:
name: ${{ inputs.command }} ${{ inputs.target }}
timeout-minutes: ${{ inputs.timeout-minutes }}
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: started
name: Create timestamp
with:
options: -r
filter: |
now
# This controls which input vars are exposed to the run action (and related steps)
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Context
id: context
with:
Expand All @@ -187,11 +187,11 @@ jobs:
| . * {$config, $check}
- if: ${{ inputs.cache-build-image }}
name: Restore Docker cache ${{ inputs.cache-build-image && format('({0})', inputs.cache-build-image) || '' }}
uses: envoyproxy/toolshed/gh-actions/docker/cache/[email protected].30
uses: envoyproxy/toolshed/gh-actions/docker/cache/[email protected].31
with:
image_tag: ${{ inputs.cache-build-image }}

- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: appauth
name: Appauth
if: ${{ inputs.trusted }}
Expand All @@ -202,7 +202,7 @@ jobs:
# - the workaround is to allow the token to be passed through.
token: ${{ github.token }}
token-ok: true
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
id: checkout
name: Checkout Envoy repository
with:
Expand All @@ -219,15 +219,15 @@ jobs:
token: ${{ inputs.trusted && steps.appauth.outputs.token || github.token }}

# This is currently only use by mobile-docs and can be removed once they are updated to the newer website
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
id: checkout-extra
name: Checkout extra repository (for publishing)
if: ${{ inputs.checkout-extra }}
with:
config: ${{ inputs.checkout-extra }}
ssh-key: ${{ inputs.trusted && inputs.ssh-key-extra || '' }}

- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
name: Run CI ${{ inputs.command }} ${{ inputs.target }}
with:
args: ${{ inputs.args != '--' && inputs.args || inputs.target }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_stage_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ jobs:
needs:
- publish
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: appauth
with:
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
key: ${{ secrets.ENVOY_CI_SYNC_APP_KEY }}
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
with:
ref: main
repository: ${{ fromJSON(inputs.request).request.version.dev && 'envoyproxy/envoy-website' || 'envoyproxy/archive' }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
start:
runs-on: ubuntu-22.04
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
id: check-config
name: Prepare check data
with:
Expand All @@ -77,13 +77,13 @@ jobs:
| .skipped.output.summary = "${{ inputs.skipped-summary }}"
| .skipped.output.text = ""
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
name: Start checks
id: checks
with:
Expand All @@ -94,7 +94,7 @@ jobs:
${{ fromJSON(inputs.env).summary.summary }}
token: ${{ steps.appauth.outputs.token }}
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].31
name: Summary
with:
collapse-open: true
Expand All @@ -118,7 +118,7 @@ jobs:
output-path: GITHUB_STEP_SUMMARY
title: Checks started/skipped

- uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/env/[email protected].31
name: Save env
id: data
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Free disk space
uses: envoyproxy/toolshed/gh-actions/[email protected].30
uses: envoyproxy/toolshed/gh-actions/[email protected].31

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # codeql-bundle-v3.25.12
uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # codeql-bundle-v3.25.13
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
git clean -xdf
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # codeql-bundle-v3.25.12
uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # codeql-bundle-v3.25.13
6 changes: 3 additions & 3 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:

- name: Free disk space
if: ${{ env.BUILD_TARGETS != '' }}
uses: envoyproxy/toolshed/gh-actions/[email protected].30
uses: envoyproxy/toolshed/gh-actions/[email protected].31

- name: Initialize CodeQL
if: ${{ env.BUILD_TARGETS != '' }}
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # codeql-bundle-v3.25.12
uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # codeql-bundle-v3.25.13
with:
languages: cpp

Expand Down Expand Up @@ -109,4 +109,4 @@ jobs:
- name: Perform CodeQL Analysis
if: ${{ env.BUILD_TARGETS != '' }}
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # codeql-bundle-v3.25.12
uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # codeql-bundle-v3.25.13
6 changes: 3 additions & 3 deletions .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
&& github.actor != 'dependabot[bot]'
}}
steps:
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].31
name: Parse command from comment
id: command
with:
Expand All @@ -37,14 +37,14 @@ jobs:
^/(retest)
# /retest
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
if: ${{ steps.command.outputs.command == 'retest' }}
id: appauth-retest
name: Appauth (retest)
with:
key: ${{ secrets.ENVOY_CI_APP_KEY }}
app_id: ${{ secrets.ENVOY_CI_APP_ID }}
- uses: envoyproxy/toolshed/gh-actions/[email protected].30
- uses: envoyproxy/toolshed/gh-actions/[email protected].31
if: ${{ steps.command.outputs.command == 'retest' }}
name: Retest
with:
Expand Down
Loading

0 comments on commit 98c0313

Please sign in to comment.