chore: upgrade to Aspect Workflows 5.9.14 (#772)

This commit is contained in:
Greg Magolan 2024-03-01 10:22:55 -08:00 committed by GitHub
parent d3f98c32ee
commit 00b2d2ceb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 30 additions and 16 deletions

View File

@ -68,7 +68,16 @@ tasks:
- delivery:
queue: bazel-lib
auto_deliver: true
branches:
- main
rules:
- deliverable: 'attr("tags", "\bdeliverable\b", //...)'
condition:
branches:
- main
- deliverable:
- //tools/release:tools_delivery
condition:
only_on_change: false
branches:
- main
- warming:
queue: bazel-lib-warming

View File

@ -4,12 +4,12 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", _http_archive = "http_archi
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
# TODO: move this to a rule set so repositories on Aspect Workflows can avoid this boilerplate
rosetta_version = "5.9.11"
rosetta_version = "5.9.14"
rosetta_integrity = {
"darwin_aarch64": "sha256-07fV4gu3MwF7s+ZElHt5S/8BUJnpEch7JXkdw7Adgco=",
"darwin_x86_64": "sha256-e6cCF2IucoY6p0nk+Gc3zlfR4MWYJEL/88a8OrCpBEw=",
"linux_aarch64": "sha256-+5pZQCNKkEMMpLL4SMs/kc7rFeJdHJw7qBsvnFg5Uqo=",
"linux_x86_64": "sha256-pNkdIQbxP8tTgiuTR/C3P7cbn3hGuSDfsywdKOoMxmU=",
"darwin_aarch64": "sha256-THlyA2Lg1gFU2y7oFGUDzogVfjF1vFJHRUzzgCA5hak=",
"darwin_x86_64": "sha256-jkz0lAjBff0WmCq10T+dlM0JfA9FAdhQ90lInfTYR7s=",
"linux_aarch64": "sha256-jXPd65iCh/nXnyceSEH1LKGxCB61NVy6tRdF1eyEi9I=",
"linux_x86_64": "sha256-qfe05GRkErFYVyZ2nV6/vGSLOkNimvH7t9QWGtL5+KQ=",
}
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases

View File

@ -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.11/terraform-gcp-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.14/terraform-gcp-aspect-workflows.zip"
# Network properties
network = google_compute_network.workflows_network.id

View File

@ -10,7 +10,6 @@ workflows:
branches:
only:
- /^main$/
- /^aspect-build\/test-delivery$/
requires:
- aw-root_workspace_test
- aw-buildifier:
@ -553,9 +552,6 @@ jobs:
- matches:
pattern: ^main$
value: << pipeline.git.branch >>
- matches:
pattern: ^aspect-build\/test-delivery$
value: << pipeline.git.branch >>
steps:
- run:
command: rosetta run delivery_manifest --workspace << parameters.workspace
@ -643,9 +639,6 @@ jobs:
- matches:
pattern: ^main$
value: << pipeline.git.branch >>
- matches:
pattern: ^aspect-build\/test-delivery$
value: << pipeline.git.branch >>
steps:
- run:
command: rosetta run delivery_manifest --workspace << parameters.workspace

View File

@ -36,7 +36,7 @@ release(
# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push dev releases to an S3 bucket.
sh_binary(
name = "tools_delivery",
name = "tools_delivery_only_on_change",
srcs = ["delivery.sh"],
data = [
":copy_directory",
@ -46,6 +46,18 @@ sh_binary(
tags = ["deliverable"],
)
# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push dev releases to an S3 bucket.
sh_binary(
name = "tools_delivery",
srcs = ["delivery.sh"],
data = [
":copy_directory",
":copy_to_directory",
":expand_template",
],
)
bzl_library(
name = "hashes",
srcs = ["hashes.bzl"],