Skip to content

Commit

Permalink
chore: update to Aspect Workflows 5.7.1 (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Aug 31, 2023
1 parent 9b26a0e commit 0e7ac00
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 @@ -30,7 +30,7 @@ module "aspect_workflows" {
}

# Aspect Workflows terraform module
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.7.0/workflows/terraform-aws-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.7.1/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 Expand Up @@ -93,7 +93,7 @@ module "aspect_workflows" {
min_runners = 0
queue = "aspect-default"
resource_type = "default"
scaling_polling_frequency = 3 # check for queued jobs every 20s
scaling_polling_frequency = 2 # check for queued jobs every 30s
warming = true
}
# The warming runner group is used for the periodic warming job that creates
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.7.0)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.7.1)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.7.0
# https://github.com/marketplace/actions/aspect-workflows?version=5.7.1
#
# 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].1
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.7.0)
name: Aspect Workflows Reusable Workflow (v5.7.1)

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
echo "filtered_secrets=${FILTERED_SECRETS}" | tee ${GITHUB_OUTPUT}
- name: Branch Freshness
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].1
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 }}
Expand All @@ -121,7 +121,7 @@ jobs:
run: rm -rf ${{ join(fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].artifact_paths, ' ') }}

- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].task }}
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].1
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 @@ -143,7 +143,7 @@ jobs:

- 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].1
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.7.0"
ASPECT_WORKFLOWS_ACTION_SHA256 = "69eea3655b3b2b9cb66bccdd43a068def42e36aeb5c98931ae463bcca28531b4"
ASPECT_WORKFLOWS_VERSION = "5.7.1"
ASPECT_WORKFLOWS_ACTION_SHA256 = "abdf68cebe27270cb11297f462f4433ad82f77fd93c21f756914f236bb4859d1"

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

0 comments on commit 0e7ac00

Please sign in to comment.