Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.9.0-beta.10 (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Dec 13, 2023
1 parent e4caea3 commit d3fc4a2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
11 changes: 5 additions & 6 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# See https://docs.aspect.build/v/workflows/config
---
queue: aspect-small
tasks:
format:
soft_fail: false
buildifier:
test:
queue: aspect-default
- format:
queue: aspect-small
- buildifier:
queue: aspect-small
- test:
2 changes: 1 addition & 1 deletion .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "aspect_workflows" {
}

# Aspect Workflows terraform module
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-beta.2/workflows/terraform-aws-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-beta.10/workflows/terraform-aws-aspect-workflows.zip"

# Non-terraform Aspect Workflows release artifacts are pulled from the region specific
# aspect-artifacts bucket during apply. Aspect will grant your AWS account access to this bucket
Expand Down
17 changes: 9 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.9.0-beta.2)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.9.0-beta.10)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.0-beta.2
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.0-beta.10
#
# 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.2
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.9.0-beta.10
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.9.0-beta.2)
name: Aspect Workflows Reusable Workflow (v5.9.0-beta.10)

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.2
uses: aspect-build/workflows-action@5.9.0-beta.10
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].task }}
uses: aspect-build/workflows-action@5.9.0-beta.2
- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
uses: aspect-build/workflows-action@5.9.0-beta.10
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,11 +152,12 @@ 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.2
uses: aspect-build/workflows-action@5.9.0-beta.10
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 }}
task: delivery_manifest
args: "--data TARGETS_SOURCE=${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].task }}"

# Upload all artifacts for the workspace
- name: Upload Artifact
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.9.0-beta.2
uses: aspect-build/workflows-action@5.9.0-beta.10
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-beta.2"
ASPECT_WORKFLOWS_ACTION_SHA256 = "6b9bb93b70849f8e5fcc52910cca0e5f101b244e9e894c139a0a753e3f8f1733"
ASPECT_WORKFLOWS_VERSION = "5.9.0-beta.10"
ASPECT_WORKFLOWS_ACTION_SHA256 = "14ad210115f03a1f002ade3d54f0a4813ecc0cbfd79e9bcd6233f575a1bfd2ec"

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

0 comments on commit d3fc4a2

Please sign in to comment.