Skip to content

Commit

Permalink
Merge branch 'main' into lrl-dynamic-tokenbuckets
Browse files Browse the repository at this point in the history
Signed-off-by: Vikas Choudhary (vikasc) <choudharyvikas16@gmail.com>
  • Loading branch information
vikaschoudhary16 committed Jan 18, 2025
2 parents 25aa2ab + 9b4e465 commit 0a3df60
Show file tree
Hide file tree
Showing 204 changed files with 5,617 additions and 1,971 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_check_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
request: ${{ inputs.request }}
runs-on: ${{ fromJSON(inputs.request).config.ci.agent-ubuntu }}
steps-post: |
- uses: envoyproxy/toolshed/gh-actions/gcs/artefact/sync@actions-v0.3.13
- uses: envoyproxy/toolshed/gh-actions/gcs/artefact/sync@actions-v0.3.15
with:
bucket: ${{ inputs.trusted && vars.GCS_ARTIFACT_BUCKET_POST || vars.GCS_ARTIFACT_BUCKET_PRE }}
path: generated/${{ matrix.target }}
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/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
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/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
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/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.15
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 @@ -100,7 +100,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/load@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/env/load@actions-v0.3.15
name: Load env
id: data
with:
Expand All @@ -111,21 +111,21 @@ jobs:
GH_TOKEN: ${{ github.token }}

# Update the check
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.15
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/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
name: Print request summary
with:
input: |
Expand All @@ -145,7 +145,7 @@ jobs:
| $summary.summary as $summary
| "${{ inputs.template-request-summary }}"
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
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/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: started
name: Create timestamp
with:
options: -r
filter: |
now
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.15
id: checkout
name: Checkout Envoy repository
- name: Generate environment variables
uses: envoyproxy/toolshed/gh-actions/envoy/ci/env@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/envoy/ci/env@actions-v0.3.15
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/summary@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/github/env/summary@actions-v0.3.15
with:
actor: ${{ toJSON(fromJSON(steps.env.outputs.data).request.actor) }}
base-sha: ${{ fromJSON(steps.env.outputs.data).request.base-sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_precheck_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
--config=docs-ci
rbe: true
steps-post: |
- uses: envoyproxy/toolshed/gh-actions/gcs/artefact/sync@actions-v0.3.13
- uses: envoyproxy/toolshed/gh-actions/gcs/artefact/sync@actions-v0.3.15
with:
bucket: ${{ inputs.trusted && vars.GCS_ARTIFACT_BUCKET_POST || vars.GCS_ARTIFACT_BUCKET_PRE }}
path: generated/docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_publish_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
needs:
- publish
steps:
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
id: appauth
with:
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
key: ${{ secrets.ENVOY_CI_SYNC_APP_KEY }}
- uses: envoyproxy/toolshed/gh-actions/dispatch@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/dispatch@actions-v0.3.15
with:
ref: main
repository: ${{ fromJSON(inputs.request).request.version.dev && 'envoyproxy/envoy-website' || 'envoyproxy/archive' }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
caches: ${{ steps.caches.outputs.value }}
config: ${{ steps.config.outputs.config }}
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: started
name: Create timestamp
with:
options: -r
filter: |
now
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.15
id: checkout
name: Checkout Envoy repository (requested)
with:
Expand All @@ -77,7 +77,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/request@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/envoy/ci/request@actions-v0.3.15
id: env
with:
branch-name: ${{ steps.checkout.outputs.branch-name }}
Expand All @@ -88,15 +88,15 @@ jobs:
vars: ${{ toJSON(vars) }}
working-directory: requested

- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.15
id: checkout-target
name: Checkout Envoy repository (target branch)
with:
branch: ${{ fromJSON(steps.env.outputs.data).request.target-branch }}
config: |
fetch-depth: 1
path: target
- uses: envoyproxy/toolshed/gh-actions/hashfiles@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/hashfiles@actions-v0.3.15
id: bazel-cache-hash
name: Bazel cache hash
with:
Expand All @@ -105,7 +105,7 @@ jobs:

- name: Request summary
id: summary
uses: envoyproxy/toolshed/gh-actions/github/env/summary@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/github/env/summary@actions-v0.3.15
with:
actor: ${{ toJSON(fromJSON(steps.env.outputs.data).request.actor) }}
base-sha: ${{ fromJSON(steps.env.outputs.data).request.base-sha }}
Expand All @@ -121,7 +121,7 @@ jobs:
target-branch: ${{ fromJSON(steps.env.outputs.data).request.target-branch }}

- name: Environment data
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: data
with:
input: |
Expand Down Expand Up @@ -164,26 +164,26 @@ jobs:
path: /tmp/cache
key: ${{ fromJSON(steps.data.outputs.value).request.build-image.default }}-arm64

- uses: envoyproxy/toolshed/gh-actions/gcp/setup@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/gcp/setup@actions-v0.3.15
name: Setup GCP
with:
key: ${{ secrets.gcs-cache-key }}

- uses: envoyproxy/toolshed/gh-actions/gcs/cache/exists@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/gcs/cache/exists@actions-v0.3.15
name: Check GCS bucket cache (x64)
id: cache-exists-bazel-x64
with:
bucket: ${{ inputs.gcs-cache-bucket }}
key: ${{ fromJSON(steps.data.outputs.value).config.ci.cache.bazel }}-x64
- uses: envoyproxy/toolshed/gh-actions/gcs/cache/exists@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/gcs/cache/exists@actions-v0.3.15
name: Check GCS bucket cache (arm64)
id: cache-exists-bazel-arm64
with:
bucket: ${{ inputs.gcs-cache-bucket }}
key: ${{ fromJSON(steps.data.outputs.value).config.ci.cache.bazel }}-arm64

- name: Caches
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: caches
with:
input-format: yaml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_request_cache_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ jobs:
name: "[${{ inputs.arch }}] Prime Bazel cache"
if: ${{ ! fromJSON(inputs.caches).bazel[inputs.arch] }}
steps:
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checkout@actions-v0.3.15
id: checkout-target
name: Checkout Envoy repository (target branch)
with:
branch: ${{ fromJSON(inputs.request).request.target-branch }}
config: |
fetch-depth: 1
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
id: appauth
name: Appauth (mutex lock)
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}

- uses: envoyproxy/toolshed/gh-actions/gcp/setup@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/gcp/setup@actions-v0.3.15
name: Setup GCP
with:
key: ${{ secrets.gcs-cache-key }}
Expand All @@ -76,7 +76,7 @@ jobs:
sudo mkdir /build
sudo chown runner:docker /build
echo "GITHUB_TOKEN=${{ github.token }}" >> $GITHUB_ENV
- uses: envoyproxy/toolshed/gh-actions/cache/prime@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/cache/prime@actions-v0.3.15
id: bazel-cache
name: Prime Bazel cache
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_request_cache_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
# For a job that does, you can restore with something like:
#
# steps:
# - uses: envoyproxy/toolshed/gh-actions/docker/cache/restore@actions-v0.3.13
# - uses: envoyproxy/toolshed/gh-actions/docker/cache/restore@actions-v0.3.15
# with:
# key: "${{ needs.env.outputs.build-image }}"
#
Expand All @@ -51,29 +51,29 @@ jobs:
name: "[${{ inputs.arch }}] Prime Docker cache"
if: ${{ ! fromJSON(inputs.caches).docker[inputs.arch] }}
steps:
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
id: appauth
name: Appauth (mutex lock)
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/docker/cache/prime@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/docker/cache/prime@actions-v0.3.15
id: docker
name: Prime Docker cache (${{ inputs.image-tag }}${{ inputs.cache-suffix }})
with:
image-tag: ${{ inputs.image-tag }}
key-suffix: ${{ inputs.cache-suffix }}
lock-token: ${{ steps.appauth.outputs.token }}
lock-repository: ${{ inputs.lock-repository }}
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: data
name: Cache data
with:
input-format: yaml
input: |
cached: ${{ steps.docker.outputs.cached }}
key: ${{ inputs.image-tag }}${{ inputs.cache-suffix }}
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.15
name: Summary
with:
json: ${{ steps.data.outputs.value }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_request_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ${{ fromJSON(inputs.env).config.ci.agent-ubuntu }}
name: Start checks
steps:
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/jq@actions-v0.3.15
id: check-config
name: Prepare check data
with:
Expand All @@ -78,13 +78,13 @@ jobs:
| .skipped.output.summary = "${{ inputs.skipped-summary }}"
| .skipped.output.text = ""
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.3.15
name: Appauth
id: appauth
with:
app_id: ${{ secrets.app-id }}
key: ${{ secrets.app-key }}
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/checks@actions-v0.3.15
name: Start checks
id: checks
with:
Expand All @@ -95,7 +95,7 @@ jobs:
${{ fromJSON(inputs.env).summary.summary }}
token: ${{ steps.appauth.outputs.token }}
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/json/table@actions-v0.3.15
name: Summary
with:
collapse-open: true
Expand All @@ -119,7 +119,7 @@ jobs:
output-path: GITHUB_STEP_SUMMARY
title: Checks started/skipped

- uses: envoyproxy/toolshed/gh-actions/github/env/save@actions-v0.3.14
- uses: envoyproxy/toolshed/gh-actions/github/env/save@actions-v0.3.15
name: Save env
id: data
with:
Expand Down
Loading

0 comments on commit 0a3df60

Please sign in to comment.