Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add Workflows 5.11.0 to versions #1

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e/smoke/.circleci/aspect-workflows-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions e2e/smoke/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions examples/circleci/merged_stamped_config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions examples/circleci/merged_unstamped_config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions workflows/private/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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=",
Expand Down
4 changes: 3 additions & 1 deletion workflows/tests/versions_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading