diff --git a/e2e/smoke/.circleci/aspect-workflows-config.yml b/e2e/smoke/.circleci/aspect-workflows-config.yml index 8e7f1e3..cdc57d4 100644 --- a/e2e/smoke/.circleci/aspect-workflows-config.yml +++ b/e2e/smoke/.circleci/aspect-workflows-config.yml @@ -312,8 +312,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 resource_class: aspect-build/aspect-default @@ -328,10 +328,10 @@ 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_DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >> ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >> - DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >> XDG_CACHE_HOME: /mnt/ephemeral/caches - DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >> machine: true resource_class: aspect-build/aspect-default working_directory: /mnt/ephemeral/workdir diff --git a/e2e/smoke/.circleci/config.yml b/e2e/smoke/.circleci/config.yml index 4d9fda9..618a2d6 100644 --- a/e2e/smoke/.circleci/config.yml +++ b/e2e/smoke/.circleci/config.yml @@ -73,8 +73,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: @@ -270,9 +270,9 @@ 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_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: diff --git a/examples/circleci/merged_stamped_config/aspect-workflows-config.yml b/examples/circleci/merged_stamped_config/aspect-workflows-config.yml index 92e5f94..4797eab 100644 --- a/examples/circleci/merged_stamped_config/aspect-workflows-config.yml +++ b/examples/circleci/merged_stamped_config/aspect-workflows-config.yml @@ -312,8 +312,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 resource_class: aspect-build/aspect-default @@ -328,10 +328,10 @@ 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_DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >> ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >> - DELIVERY_COMMIT: << pipeline.parameters.delivery_commit >> XDG_CACHE_HOME: /mnt/ephemeral/caches - DELIVERY_TARGETS: << pipeline.parameters.delivery_targets >> machine: true resource_class: aspect-build/aspect-default working_directory: /mnt/ephemeral/workdir diff --git a/examples/circleci/merged_stamped_config/config.yml b/examples/circleci/merged_stamped_config/config.yml index d305d66..7b30fe7 100644 --- a/examples/circleci/merged_stamped_config/config.yml +++ b/examples/circleci/merged_stamped_config/config.yml @@ -83,8 +83,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: @@ -280,9 +280,9 @@ 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_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: diff --git a/examples/circleci/merged_unstamped_config/config.yml b/examples/circleci/merged_unstamped_config/config.yml index 2a07457..561623f 100644 --- a/examples/circleci/merged_unstamped_config/config.yml +++ b/examples/circleci/merged_unstamped_config/config.yml @@ -83,8 +83,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: @@ -280,9 +280,9 @@ 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_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: diff --git a/workflows/private/versions.bzl b/workflows/private/versions.bzl index 5405ebb..8e75f51 100644 --- a/workflows/private/versions.bzl +++ b/workflows/private/versions.bzl @@ -2,6 +2,12 @@ # Versions should be in descending order so ROSETTA_VERSIONS.keys()[0] is always the latest version. ROSETTA_VERSIONS = { + "5.11.0": { + "darwin_aarch64": "sha256-zmWdxspunpc9Sz5iZOow0FotE66EGe6WFeHk5+vwMJ8=", + "darwin_x86_64": "sha256-5V6SxvL3QYWbBE/GuwP1ReJwpe0zkznb+j8n4V36O+E=", + "linux_aarch64": "sha256-qwscEgk9kdMnNZ9df+Cw8aPo1ZokIHViS6+6nCSsfSU=", + "linux_x86_64": "sha256-WgDaxOssma7zDHGh+iZ4p3MyBvIBk6m138ZWzR44g2Q=", + }, "5.10.13": { "darwin_aarch64": "sha256-TkFUVQ6CsDlTbz219DfWHr7DcY+ZkIS0CRWBWykCfOU=", "darwin_x86_64": "sha256-mRHbTUfeKNIeWa0byk6KfnQvDHJnF2TotdzY6Ca5r8k=", diff --git a/workflows/tests/versions_test.bzl b/workflows/tests/versions_test.bzl index aa397dc..3a1a293 100644 --- a/workflows/tests/versions_test.bzl +++ b/workflows/tests/versions_test.bzl @@ -3,11 +3,13 @@ See https://bazel.build/rules/testing#testing-starlark-utilities """ load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest") +load("//workflows:repositories.bzl", "LATEST_WORKFLOWS_VERSION") load("//workflows/private:versions.bzl", "ROSETTA_VERSIONS") def _smoke_test_impl(ctx): env = unittest.begin(ctx) - asserts.equals(env, "5.10.13", ROSETTA_VERSIONS.keys()[0]) + asserts.equals(env, "5.11.0", ROSETTA_VERSIONS.keys()[0]) + asserts.equals(env, "5.11.0", LATEST_WORKFLOWS_VERSION) return unittest.end(env) # The unittest library requires that we export the test cases as named test rules,