Skip to content

Commit

Permalink
Update rosetta
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Aug 27, 2024
1 parent a0f7f0e commit 65d0d4c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .aspect/workflows/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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.12"
rosetta_version = "5.11.0-beta1.dev.30.g3f51b7a"
rosetta_integrity = {
"darwin_aarch64": "sha256-AmrO0e44haDvaVCosuNCPONPTLflSWyHMmSVv7V6iO8=",
"darwin_x86_64": "sha256-9g21wDZPBKqP0Z/KCmULJhwH4SqsKqOS1ceRVg3TWYs=",
"linux_aarch64": "sha256-KncnXJfAstOI5savV+pCF8/AuPlJs1DG8xTwXstPmuM=",
"linux_x86_64": "sha256-1oyhGKI0yzL1Y/5IjFmWShl27Bs4TqFZNipVL2xb9wU=",
"darwin_aarch64": "sha256-o3p3YBycqw8Lxc6oyO1keaB+kdGTn95dt0SpIr/8Y30=",
"darwin_x86_64": "sha256-gWz0FS7C6lKWdYpUR2AafszmdqKZrfy0Rpfcg1p93Ps=",
"linux_aarch64": "sha256-NQkpIlSB5AaD4VcYSLc3mnHIIVR4onO/HGPKJ4lIUdU=",
"linux_x86_64": "sha256-woRb0CZiv1J040yXQi4gBlez/eFrcyDqT/+IzNbJ7NM=",
}

# https://github.com/suzuki-shunsuke/circleci-config-merge/releases
Expand Down
49 changes: 46 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ workflows:
- aw-gazelle:
context: []
workspace: .
- aw-lint:
context: []
workspace: .
- aw-root_workspace_configure:
context: []
workspace: .
Expand Down Expand Up @@ -137,8 +140,8 @@ jobs:
ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >>
ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
machine: true
parameters:
Expand Down Expand Up @@ -588,15 +591,55 @@ jobs:
no_output_timeout: 10m
when: always
working_directory: /mnt/ephemeral/workdir
aw-lint:
environment:
ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >>
ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >>
ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
machine: true
parameters:
delivery_manifest:
default: true
type: boolean
workspace:
type: string
resource_class: aspect-build/bazel-lib-small
steps:
- run:
command: /etc/aspect/workflows/bin/configure_workflows_env
name: Workflows environment
- checkout
- run:
command: rm -rf /workflows/artifacts /workflows/testlogs
name: Prepare archive directories
- run:
command: /etc/aspect/workflows/bin/agent_health_check
name: Agent health check
no_output_timeout: 180m
- run:
command: rosetta run lint --workspace << parameters.workspace >>
name: Lint
no_output_timeout: 180m
- store_artifacts:
path: /workflows/artifacts
- run:
command: rosetta run finalization
name: Finalization
no_output_timeout: 10m
when: always
working_directory: /mnt/ephemeral/workdir
aw-manual-deliver:
environment:
ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >>
ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >>
ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
ASPECT_WORKFLOWS_DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
ASPECT_WORKFLOWS_DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >>
ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >>
DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >>
DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >>
XDG_CACHE_HOME: /mnt/ephemeral/caches
machine: true
parameters:
Expand Down

0 comments on commit 65d0d4c

Please sign in to comment.