Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.9.0-rc.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Dec 16, 2023
1 parent cc29d7e commit b8e9c73
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module "aspect_workflows" {
region = local.region

# Aspect Workflows terraform module
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.0/workflows-gcp/terraform-gcp-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.4/workflows-gcp/terraform-gcp-aspect-workflows.zip"

# Network properties
network = google_compute_network.workflows_network.id
Expand Down
20 changes: 10 additions & 10 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.9.0-rc.0)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.9.0-rc.4)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.0-rc.0
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.0-rc.4
#
# 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/.aspect-workflows-reusable.yaml@5.9.0-rc.0
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.9.0-rc.4
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.9.0-rc.0)
name: Aspect Workflows Reusable Workflow (v5.9.0-rc.4)

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Agent health checks
run: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.WORKFLOWS_BIN_DIR }}/agent_health_check
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).task_config[fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace].tasks['bazel_health_probe'].timeout_in_minutes }}
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].health_check_timeout }}

- name: Process Secrets
id: process_secrets
Expand All @@ -123,14 +123,14 @@ jobs:
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}

- name: Branch Freshness
uses: aspect-build/workflows-action@5.9.0-rc.0
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).task_config[fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace].tasks['branch_freshness'].timeout_in_minutes }}
uses: aspect-build/workflows-action@5.9.0-rc.4
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].branch_freshness_timeout }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
task: branch_freshness

- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
uses: aspect-build/workflows-action@5.9.0-rc.0
uses: aspect-build/workflows-action@5.9.0-rc.4
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 @@ -152,8 +152,8 @@ jobs:

- name: Delivery Manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/workflows-action@5.9.0-rc.0
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).task_config[fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace].tasks['delivery'].timeout_in_minutes }}
uses: aspect-build/workflows-action@5.9.0-rc.4
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 }}
task: delivery_manifest
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.9.0-rc.0"
ASPECT_WORKFLOWS_ACTION_SHA256 = "9f1f87a45aa2fd2af15bd315d87ff09efed917268328e7993704c89f9d0e9a3a"
ASPECT_WORKFLOWS_VERSION = "5.9.0-rc.4"
ASPECT_WORKFLOWS_ACTION_SHA256 = "7d3eccddcf59530d230bc53268ef98809e26c05758acd4540312162377e1fee7"

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

0 comments on commit b8e9c73

Please sign in to comment.