chore: upgrade to Aspect Workflows 5.10.0-alpha.10 (#822)

This commit is contained in:
Greg Magolan 2024-04-24 14:12:33 -07:00 committed by GitHub
parent c329eced6f
commit 8d789e71c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 5 deletions

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.10.0-alpha.9"
rosetta_version = "5.10.0-alpha.10"
rosetta_integrity = {
"darwin_aarch64": "sha256-V0bNR/+maBaqrqUazXlW1TYn4U5deaBvYTgubSRZ4nA=",
"darwin_x86_64": "sha256-YCrJqDuoJhT/00QLVE+hDDk/L/BZ7XhYSpZye3v077U=",
"linux_aarch64": "sha256-sLwXCMbWXVKxsRgvzsnDz9ijw7Bbi/7FDUOvypPFy6U=",
"linux_x86_64": "sha256-SzgXGemVSObSqFRBDyMmvvjXwu6XKFloooIvkOkghjw=",
"darwin_aarch64": "sha256-PAtmWKu6Wou7vj4GQ7F6dbewnz+C/i20anjAVg+GsbM=",
"darwin_x86_64": "sha256-rAAcl2O9+WrSY7aUNiUUYSIhpMeOvwWEB4k0iOQSy68=",
"linux_aarch64": "sha256-mPlRcXzU454MF/7fbVipMH3qhMvl18PbM6jIyDWfHHs=",
"linux_x86_64": "sha256-8YLhccxH5K7mm3azO/rKmOH+YzoEJBSjkPy4SsBR1qw=",
}
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases

View File

@ -12,6 +12,7 @@ workflows:
- /^main$/
requires:
- aw-root_workspace_test
workspace: .
- aw-buildifier:
context: []
workspace: .
@ -90,6 +91,7 @@ workflows:
jobs:
- aw-manual-deliver:
context: []
workspace: << pipeline.parameters.workspace >>
when:
equal:
- true
@ -119,16 +121,21 @@ jobs:
aw-auto-deliver:
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
machine: true
parameters:
workspace:
type: string
resource_class: aspect-build/bazel-lib-default
steps:
- run:
command: /etc/aspect/workflows/bin/configure_workflows_env
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -138,6 +145,7 @@ jobs:
command: /etc/aspect/workflows/bin/agent_health_check
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -147,6 +155,7 @@ jobs:
command: git fetch
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -158,6 +167,7 @@ jobs:
command: git checkout << pipeline.parameters.delivery_commit >>
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -166,6 +176,7 @@ jobs:
command: rosetta run delivery
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -903,17 +914,22 @@ jobs:
aw-manual-deliver:
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
machine: true
parameters:
workspace:
type: string
resource_class: aspect-build/bazel-lib-default
steps:
- run:
command: /etc/aspect/workflows/bin/configure_workflows_env
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -923,6 +939,7 @@ jobs:
command: /etc/aspect/workflows/bin/agent_health_check
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -932,6 +949,7 @@ jobs:
command: git fetch
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -943,6 +961,7 @@ jobs:
command: git checkout << pipeline.parameters.delivery_commit >>
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -951,6 +970,7 @@ jobs:
command: rosetta run delivery
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
CC: /bin/false
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
@ -1175,3 +1195,7 @@ parameters:
perform_delivery:
default: false
type: boolean
workspace:
default: .
description: The workspace that the `delivery_targets` live within.
type: string