Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.9.0-rc.15 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Jan 13, 2024
1 parent dcc4062 commit 0537872
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 16 deletions.
6 changes: 6 additions & 0 deletions .aspect/workflows/terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .aspect/workflows/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.4.0"
required_version = ">= 1.4.0"

backend "gcs" {
bucket = "aw-deployment-terraform-state-rules-jasmine"
Expand Down
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.9/workflows-gcp/terraform-gcp-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.15/workflows-gcp/terraform-gcp-aspect-workflows.zip"

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

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -115,22 +115,22 @@ jobs:
run: rm -rf ${{ join(fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].artifact_paths, ' ') }}

- name: Determine changed files
uses: tj-actions/changed-files@v40
uses: tj-actions/changed-files@v41
if: endsWith(matrix.job, 'format')
with:
json: true
write_output_files: true
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}

- name: Branch Freshness
uses: aspect-build/workflows-action@5.9.0-rc.9
uses: aspect-build/workflows-action@5.9.0-rc.15
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.9
uses: aspect-build/workflows-action@5.9.0-rc.15
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-rc.9
uses: aspect-build/workflows-action@5.9.0-rc.15
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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aspect-workflows-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
workflow_dispatch:
inputs:
delivery_commit:
description: commit to run
description: The commit to checkout and run the delivery from. Targets listed in the delivery manifest for this commit will be delivered unless specific targets are listed in `delivery_targets`.
type: string
required: true
delivery_targets:
description: targets to run, delimited by comma and/or space
description: List of Bazel targets to deliver, delimited by spaces. For example, \`//app/a:push_release //app/b:push_release\`. If empty, targets listed in the delivery manifest for the target commit will be delivered.
type: string
required: false

Expand All @@ -33,7 +33,7 @@ jobs:
- name: Agent health checks
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Run Delivery
uses: aspect-build/workflows-action@5.9.0-rc.9
uses: aspect-build/workflows-action@5.9.0-rc.15
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.9.0-rc.9
uses: aspect-build/workflows-action@5.9.0-rc.15
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.9"
ASPECT_WORKFLOWS_ACTION_SHA256 = "02e1c14b272c122cbe0b9445163b705bc6ffc1f8a6043fe80521fbc400c46cf9"
ASPECT_WORKFLOWS_VERSION = "5.9.0-rc.15"
ASPECT_WORKFLOWS_ACTION_SHA256 = "9c2b3801a2cdb05e92922b59f8fa7d3e6a292c09672cbe329aba759bf2d44193"

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

0 comments on commit 0537872

Please sign in to comment.