Skip to content

Commit 151a444

Browse files
authored
chore: upgrade to Aspect Worklfows 5.9.9 (#550)
1 parent 3cada87 commit 151a444

File tree

5 files changed

+47
-47
lines changed

5 files changed

+47
-47
lines changed

.aspect/workflows/terraform/workflows.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module "aspect_workflows" {
5959
}
6060

6161
# Aspect Workflows terraform module
62-
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.6/terraform-aws-aspect-workflows.zip"
62+
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.9/terraform-aws-aspect-workflows.zip"
6363

6464
# Non-terraform Aspect Workflows release artifacts are pulled from the region specific
6565
# aspect-artifacts bucket during apply. Aspect will grant your AWS account access to this bucket
@@ -226,7 +226,7 @@ module "managed_grafana" {
226226

227227
module "aspect_workflows_grafana_dashboards" {
228228
# Aspect Workflows grafana dashboard nested terraform module
229-
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.6/terraform-aws-aspect-workflows.zip//monitoring/dashboards"
229+
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.9/terraform-aws-aspect-workflows.zip//monitoring/dashboards"
230230

231231
grafana_auth = module.managed_grafana.grafana_admin_api_key
232232
grafana_url = module.managed_grafana.grafana_endpoint

.github/workflows/.aspect-workflows-reusable.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ==================================================================================================
2-
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.9.6)
2+
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.9.9)
33
#
4-
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.6
4+
# https://github.com/marketplace/actions/aspect-workflows?version=5.9.9
55
#
66
# At this time, GitHub Actions does not allow referencing reusable workflows from public
77
# repositories in other organizations. See
@@ -37,10 +37,10 @@
3737
# jobs:
3838
# aspect-workflows:
3939
# name: Aspect Workflows
40-
# uses: my-github-org/workflows-action/.github/workflows/[email protected].6
40+
# uses: my-github-org/workflows-action/.github/workflows/[email protected].9
4141
# ```
4242
# ==================================================================================================
43-
name: Aspect Workflows Reusable Workflow (v5.9.6)
43+
name: Aspect Workflows Reusable Workflow (v5.9.9)
4444

4545
on:
4646
# Makes this workflow reusable, see
@@ -124,14 +124,14 @@ jobs:
124124
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}
125125

126126
- name: Branch Freshness
127-
uses: aspect-build/[email protected].6
127+
uses: aspect-build/[email protected].9
128128
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].branch_freshness_timeout }}
129129
with:
130130
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
131131
task: branch_freshness
132132

133133
- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
134-
uses: aspect-build/[email protected].6
134+
uses: aspect-build/[email protected].9
135135
env: ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
136136
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
137137
with:
@@ -153,7 +153,7 @@ jobs:
153153

154154
- name: Delivery Manifest
155155
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
156-
uses: aspect-build/[email protected].6
156+
uses: aspect-build/[email protected].9
157157
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery_manifest_timout }}
158158
with:
159159
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
name: Aspect Workflows Delivery
22

33
on:
4-
# Allow this to be triggered manually via the GH UI. See
5-
# https://docs.aspect.build/workflows/delivery#break-glass-deliver-on-red
6-
workflow_dispatch:
7-
inputs:
8-
delivery_commit:
9-
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`.
10-
type: string
11-
required: true
12-
delivery_targets:
13-
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.
14-
type: string
15-
required: false
4+
# Allow this to be triggered manually via the GH UI. See
5+
# https://docs.aspect.build/workflows/delivery#break-glass-deliver-on-red
6+
workflow_dispatch:
7+
inputs:
8+
delivery_commit:
9+
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`.
10+
type: string
11+
required: true
12+
delivery_targets:
13+
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.
14+
type: string
15+
required: false
1616

1717
jobs:
18-
delivery:
19-
name: Aspect Workflows Delivery
20-
runs-on: [self-hosted, aspect-workflows, aspect-default]
21-
env:
22-
ASPECT_WORKFLOWS_BIN_DIR: /etc/aspect/workflows/bin
23-
steps:
24-
- name: Configure environment
25-
run: ${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env
26-
- uses: actions/checkout@v4
27-
with:
28-
ref: ${{ inputs.delivery_commit }}
29-
# Fetch all history for all tags and branches, so the --workspace_status_command can find
30-
# any tags that it needs for `git describe`.
31-
# See https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches
32-
fetch-depth: 0
33-
- name: Agent health checks
34-
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
35-
- name: Run Delivery
36-
uses: aspect-build/[email protected]
37-
with:
38-
task: delivery
18+
delivery:
19+
name: Aspect Workflows Delivery
20+
runs-on: [self-hosted, aspect-workflows, aspect-default]
3921
env:
40-
DELIVERY_COMMIT: ${{ inputs.delivery_commit }}
41-
DELIVERY_TARGETS: ${{ inputs.delivery_targets }}
22+
ASPECT_WORKFLOWS_BIN_DIR: /etc/aspect/workflows/bin
23+
steps:
24+
- name: Configure environment
25+
run: ${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env
26+
- uses: actions/checkout@v4
27+
with:
28+
ref: ${{ inputs.delivery_commit }}
29+
# Fetch all history for all tags and branches, so the --workspace_status_command can find
30+
# any tags that it needs for `git describe`.
31+
# See https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches
32+
fetch-depth: 0
33+
- name: Agent health checks
34+
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
35+
- name: Run Delivery
36+
uses: aspect-build/[email protected]
37+
with:
38+
task: delivery
39+
env:
40+
DELIVERY_COMMIT: ${{ inputs.delivery_commit }}
41+
DELIVERY_TARGETS: ${{ inputs.delivery_targets }}

.github/workflows/aspect-workflows-warming.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Agent health checks
2323
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
2424
- name: Create warming archive
25-
uses: aspect-build/[email protected].6
25+
uses: aspect-build/[email protected].9
2626
with:
2727
task: warming
2828
- name: Archive warming tars

.github/workflows/deps.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

5-
ASPECT_WORKFLOWS_VERSION = "5.9.6"
6-
ASPECT_WORKFLOWS_ACTION_SHA256 = "efff89d9acaee191c657472fe7eda3032023a0d4849d125267fa27d962cd0cd5"
5+
ASPECT_WORKFLOWS_VERSION = "5.9.9"
6+
ASPECT_WORKFLOWS_ACTION_SHA256 = "13dfb9cc9aa85fb11d0cf5813a6e285ac9f740be0d020d504cb94ff70d91c4b4"
77

88
def aspect_workflows_github_actions_deps():
99
"Fetch deps needed for Aspect Workflows on GitHub Actions"

0 commit comments

Comments
 (0)