Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump to Workflows 5.11.17 GitHub Actions #172

Merged
merged 1 commit into from
Nov 10, 2024
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
19 changes: 11 additions & 8 deletions .github/workflows/.aspect-workflows-reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ==================================================================================================
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.11.0)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.11.17)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.11.0
# https://github.com/marketplace/actions/aspect-workflows?version=5.11.17
#
# At this time, GitHub Actions does not allow referencing reusable workflows from public
# repositories in other organizations. See
Expand Down Expand Up @@ -37,10 +37,10 @@
# jobs:
# aspect-workflows:
# name: Aspect Workflows
# uses: my-github-org/workflows-action/.github/workflows/[email protected].0
# uses: my-github-org/workflows-action/.github/workflows/[email protected].17
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.11.0)
name: Aspect Workflows Reusable Workflow (v5.11.17)
on:
# Makes this workflow reusable, see
# https://github.blog/2022-02-10-using-reusable-workflows-github-actions
Expand Down Expand Up @@ -94,7 +94,10 @@ jobs:
- name: Clone repo
uses: actions/checkout@v4
- name: Agent health check
run: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.WORKFLOWS_BIN_DIR }}/agent_health_check
# Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
# during health check when "Cleaning up orphan processes" in the "Complete job" step.
# See https://github.com/actions/runner/issues/598.
run: RUNNER_TRACKING_ID="" && ${{ fromJson(needs.setup.outputs.cfg).platform.directories.WORKFLOWS_BIN_DIR }}/agent_health_check
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].health_check_timeout }}
- name: Process secrets
id: process_secrets
Expand All @@ -113,14 +116,14 @@ jobs:
write_output_files: true
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}
- name: Checkout health
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].checkout_task_timeout }}
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].has_checkout_task
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
task: checkout
- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
env: ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
with:
Expand All @@ -140,7 +143,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets[inputs.slack_webhook_url] }}
- name: Delivery manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery_manifest_timout }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/aspect-workflows-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ jobs:
# See https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches
fetch-depth: 0
- name: Agent health check
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
# Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
# during health check when "Cleaning up orphan processes" in the "Complete job" step.
# See https://github.com/actions/runner/issues/598.
run: RUNNER_TRACKER_ID="" && ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Run delivery
uses: aspect-build/workflows-action@5.10.12
uses: aspect-build/workflows-action@5.11.17
with:
task: delivery
workspace: ${{ inputs.workspace }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/aspect-workflows-warming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ jobs:
run: ${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env
- uses: actions/checkout@v4
- name: Agent health check
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
# Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
# during health check when "Cleaning up orphan processes" in the "Complete job" step.
# See https://github.com/actions/runner/issues/598.
run: RUNNER_TRACKER_ID="" && ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Create warming archive
uses: aspect-build/workflows-action@5.10.12
uses: aspect-build/workflows-action@5.11.17
with:
task: warming
- name: Archive warming tars
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

ASPECT_WORKFLOWS_VERSION = "5.11.0"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-H2h9O1gcKUEqkmrTYOH6eFKQmxL5pYnaWNT2X5CrIJ8="
ASPECT_WORKFLOWS_VERSION = "5.11.17"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-3RvALkcpaiCbfdPGD96P+0AVS6/PfvIXFsADKF/Gy1M="

def aspect_workflows_github_actions_deps():
"Fetch deps needed for Aspect Workflows on GitHub Actions"
Expand Down
Loading