chore: upgrade to Aspect Workflows 5.10.0-alpha.10 (#822)
diff --git a/.aspect/workflows/deps.bzl b/.aspect/workflows/deps.bzl index 01de245..f807ef2 100644 --- a/.aspect/workflows/deps.bzl +++ b/.aspect/workflows/deps.bzl
@@ -4,12 +4,12 @@ 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
diff --git a/.circleci/config.yml b/.circleci/config.yml index 0da4224..86753e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml
@@ -12,6 +12,7 @@ - /^main$/ requires: - aw-root_workspace_test + workspace: . - aw-buildifier: context: [] workspace: . @@ -90,6 +91,7 @@ jobs: - aw-manual-deliver: context: [] + workspace: << pipeline.parameters.workspace >> when: equal: - true @@ -119,16 +121,21 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ perform_delivery: default: false type: boolean + workspace: + default: . + description: The workspace that the `delivery_targets` live within. + type: string