Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.9.0-rc.7 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Dec 16, 2023
1 parent cc29d7e commit 089c9f9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 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.7/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.7)
#
# 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.7
#
# 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.7
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.9.0-rc.0)
name: Aspect Workflows Reusable Workflow (v5.9.0-rc.7)

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.7
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.7
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.7
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
2 changes: 1 addition & 1 deletion .github/workflows/aspect-workflows-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Agent health checks
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Run Delivery
uses: ./workflows/rosetta/gh-actions
uses: aspect-build/workflows-action@5.9.0-rc.7
with:
task: delivery
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aspect-workflows-warming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Agent health checks
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Create warming archive
uses: aspect-build/workflows-action@5.8.2
uses: aspect-build/workflows-action@5.9.0-rc.7
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.9.0-rc.0"
ASPECT_WORKFLOWS_ACTION_SHA256 = "9f1f87a45aa2fd2af15bd315d87ff09efed917268328e7993704c89f9d0e9a3a"
ASPECT_WORKFLOWS_VERSION = "5.9.0-rc.7"
ASPECT_WORKFLOWS_ACTION_SHA256 = "52cb8413cfb995f256e6359944101703719e9725d6de7392819e93ca68dbef1e"

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

0 comments on commit 089c9f9

Please sign in to comment.