chore: upgrade to Aspect Workflows 5.10.0-alpha.10 (#822)
This commit is contained in:
parent
c329eced6f
commit
8d789e71c4
|
@ -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")
|
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
|
# 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 = {
|
rosetta_integrity = {
|
||||||
"darwin_aarch64": "sha256-V0bNR/+maBaqrqUazXlW1TYn4U5deaBvYTgubSRZ4nA=",
|
"darwin_aarch64": "sha256-PAtmWKu6Wou7vj4GQ7F6dbewnz+C/i20anjAVg+GsbM=",
|
||||||
"darwin_x86_64": "sha256-YCrJqDuoJhT/00QLVE+hDDk/L/BZ7XhYSpZye3v077U=",
|
"darwin_x86_64": "sha256-rAAcl2O9+WrSY7aUNiUUYSIhpMeOvwWEB4k0iOQSy68=",
|
||||||
"linux_aarch64": "sha256-sLwXCMbWXVKxsRgvzsnDz9ijw7Bbi/7FDUOvypPFy6U=",
|
"linux_aarch64": "sha256-mPlRcXzU454MF/7fbVipMH3qhMvl18PbM6jIyDWfHHs=",
|
||||||
"linux_x86_64": "sha256-SzgXGemVSObSqFRBDyMmvvjXwu6XKFloooIvkOkghjw=",
|
"linux_x86_64": "sha256-8YLhccxH5K7mm3azO/rKmOH+YzoEJBSjkPy4SsBR1qw=",
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases
|
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases
|
||||||
|
|
|
@ -12,6 +12,7 @@ workflows:
|
||||||
- /^main$/
|
- /^main$/
|
||||||
requires:
|
requires:
|
||||||
- aw-root_workspace_test
|
- aw-root_workspace_test
|
||||||
|
workspace: .
|
||||||
- aw-buildifier:
|
- aw-buildifier:
|
||||||
context: []
|
context: []
|
||||||
workspace: .
|
workspace: .
|
||||||
|
@ -90,6 +91,7 @@ workflows:
|
||||||
jobs:
|
jobs:
|
||||||
- aw-manual-deliver:
|
- aw-manual-deliver:
|
||||||
context: []
|
context: []
|
||||||
|
workspace: << pipeline.parameters.workspace >>
|
||||||
when:
|
when:
|
||||||
equal:
|
equal:
|
||||||
- true
|
- true
|
||||||
|
@ -119,16 +121,21 @@ jobs:
|
||||||
aw-auto-deliver:
|
aw-auto-deliver:
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
machine: true
|
machine: true
|
||||||
|
parameters:
|
||||||
|
workspace:
|
||||||
|
type: string
|
||||||
resource_class: aspect-build/bazel-lib-default
|
resource_class: aspect-build/bazel-lib-default
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
command: /etc/aspect/workflows/bin/configure_workflows_env
|
command: /etc/aspect/workflows/bin/configure_workflows_env
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -138,6 +145,7 @@ jobs:
|
||||||
command: /etc/aspect/workflows/bin/agent_health_check
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -147,6 +155,7 @@ jobs:
|
||||||
command: git fetch
|
command: git fetch
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -158,6 +167,7 @@ jobs:
|
||||||
command: git checkout << pipeline.parameters.delivery_commit >>
|
command: git checkout << pipeline.parameters.delivery_commit >>
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -166,6 +176,7 @@ jobs:
|
||||||
command: rosetta run delivery
|
command: rosetta run delivery
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -903,17 +914,22 @@ jobs:
|
||||||
aw-manual-deliver:
|
aw-manual-deliver:
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >>
|
DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
machine: true
|
machine: true
|
||||||
|
parameters:
|
||||||
|
workspace:
|
||||||
|
type: string
|
||||||
resource_class: aspect-build/bazel-lib-default
|
resource_class: aspect-build/bazel-lib-default
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
command: /etc/aspect/workflows/bin/configure_workflows_env
|
command: /etc/aspect/workflows/bin/configure_workflows_env
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -923,6 +939,7 @@ jobs:
|
||||||
command: /etc/aspect/workflows/bin/agent_health_check
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -932,6 +949,7 @@ jobs:
|
||||||
command: git fetch
|
command: git fetch
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -943,6 +961,7 @@ jobs:
|
||||||
command: git checkout << pipeline.parameters.delivery_commit >>
|
command: git checkout << pipeline.parameters.delivery_commit >>
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -951,6 +970,7 @@ jobs:
|
||||||
command: rosetta run delivery
|
command: rosetta run delivery
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
|
||||||
CC: /bin/false
|
CC: /bin/false
|
||||||
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
@ -1175,3 +1195,7 @@ parameters:
|
||||||
perform_delivery:
|
perform_delivery:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
workspace:
|
||||||
|
default: .
|
||||||
|
description: The workspace that the `delivery_targets` live within.
|
||||||
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue