Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.9.0-rc.0 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Dec 14, 2023
1 parent 7cb7604 commit cc29d7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "google_compute_image" "runner_image" {
# https://github.com/aspect-build/workflows-images for example packer scripts and BUILD targets
# for building GCP images for Workflows.
project = "aspect-workflows-images"
name = "aspect-workflows-debian-11-gcc-1-5-0"
name = "aspect-workflows-debian-11-gcc-amd64-1-6-0"
}

module "aspect_workflows" {
Expand All @@ -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-beta.10/workflows-gcp/terraform-gcp-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.0/workflows-gcp/terraform-gcp-aspect-workflows.zip"

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

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -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-beta.10
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 }}
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-beta.10
uses: aspect-build/workflows-action@5.9.0-rc.0
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,7 +152,7 @@ jobs:

- name: Delivery Manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/workflows-action@5.9.0-beta.10
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 }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
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-beta.10"
ASPECT_WORKFLOWS_ACTION_SHA256 = "14ad210115f03a1f002ade3d54f0a4813ecc0cbfd79e9bcd6233f575a1bfd2ec"
ASPECT_WORKFLOWS_VERSION = "5.9.0-rc.0"
ASPECT_WORKFLOWS_ACTION_SHA256 = "9f1f87a45aa2fd2af15bd315d87ff09efed917268328e7993704c89f9d0e9a3a"

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

0 comments on commit cc29d7e

Please sign in to comment.