chore: upgrade to Aspect Workflows 5.10.0-alpha.9 (#821)
This commit is contained in:
parent
8c96b0eeb3
commit
c329eced6f
|
@ -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.8"
|
rosetta_version = "5.10.0-alpha.9"
|
||||||
rosetta_integrity = {
|
rosetta_integrity = {
|
||||||
"darwin_aarch64": "sha256-YN0JkaBSGznMDyJkng4lPLbRDEvYmSDEK5K44O5Yo3M=",
|
"darwin_aarch64": "sha256-V0bNR/+maBaqrqUazXlW1TYn4U5deaBvYTgubSRZ4nA=",
|
||||||
"darwin_x86_64": "sha256-xUsh228UOhZGy+7gUnbWU6OMQMlRcTES1PHUHV3Ok8M=",
|
"darwin_x86_64": "sha256-YCrJqDuoJhT/00QLVE+hDDk/L/BZ7XhYSpZye3v077U=",
|
||||||
"linux_aarch64": "sha256-WqxH2Gufte+Y1yE77BFYszD72Y7k2K2Eg5Fk5xqyXuE=",
|
"linux_aarch64": "sha256-sLwXCMbWXVKxsRgvzsnDz9ijw7Bbi/7FDUOvypPFy6U=",
|
||||||
"linux_x86_64": "sha256-72uFkQM1IRTnVm5ssS0Fzo4ezXBYaE/F1pwOLI+Ru+s=",
|
"linux_x86_64": "sha256-SzgXGemVSObSqFRBDyMmvvjXwu6XKFloooIvkOkghjw=",
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases
|
# https://github.com/suzuki-shunsuke/circleci-config-merge/releases
|
||||||
|
|
|
@ -36,7 +36,7 @@ workflows:
|
||||||
- << pipeline.trigger_source >>
|
- << pipeline.trigger_source >>
|
||||||
aspect-workflows-e2e-copy_to_directory:
|
aspect-workflows-e2e-copy_to_directory:
|
||||||
jobs:
|
jobs:
|
||||||
- aw-test:
|
- aw-e2e_copy_to_directory_test:
|
||||||
context: []
|
context: []
|
||||||
delivery_manifest: false
|
delivery_manifest: false
|
||||||
workspace: e2e/copy_to_directory
|
workspace: e2e/copy_to_directory
|
||||||
|
@ -49,7 +49,7 @@ workflows:
|
||||||
- << pipeline.trigger_source >>
|
- << pipeline.trigger_source >>
|
||||||
aspect-workflows-e2e-coreutils:
|
aspect-workflows-e2e-coreutils:
|
||||||
jobs:
|
jobs:
|
||||||
- aw-test:
|
- aw-e2e_coreutils_test:
|
||||||
context: []
|
context: []
|
||||||
delivery_manifest: false
|
delivery_manifest: false
|
||||||
workspace: e2e/coreutils
|
workspace: e2e/coreutils
|
||||||
|
@ -62,7 +62,7 @@ workflows:
|
||||||
- << pipeline.trigger_source >>
|
- << pipeline.trigger_source >>
|
||||||
aspect-workflows-e2e-external_copy_to_directory:
|
aspect-workflows-e2e-external_copy_to_directory:
|
||||||
jobs:
|
jobs:
|
||||||
- aw-test:
|
- aw-e2e_external_copy_to_directory_test:
|
||||||
context: []
|
context: []
|
||||||
delivery_manifest: false
|
delivery_manifest: false
|
||||||
workspace: e2e/external_copy_to_directory
|
workspace: e2e/external_copy_to_directory
|
||||||
|
@ -75,7 +75,7 @@ workflows:
|
||||||
- << pipeline.trigger_source >>
|
- << pipeline.trigger_source >>
|
||||||
aspect-workflows-e2e-smoke:
|
aspect-workflows-e2e-smoke:
|
||||||
jobs:
|
jobs:
|
||||||
- aw-test:
|
- aw-e2e_smoke_test:
|
||||||
context: []
|
context: []
|
||||||
delivery_manifest: false
|
delivery_manifest: false
|
||||||
workspace: e2e/smoke
|
workspace: e2e/smoke
|
||||||
|
@ -326,6 +326,426 @@ jobs:
|
||||||
no_output_timeout: 10m
|
no_output_timeout: 10m
|
||||||
when: always
|
when: always
|
||||||
working_directory: /mnt/ephemeral/workdir
|
working_directory: /mnt/ephemeral/workdir
|
||||||
|
aw-e2e_copy_to_directory_test:
|
||||||
|
environment:
|
||||||
|
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
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Configure Workflows
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
command: rm -rf /workflows/artifacts /workflows/testlogs
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Prepare archive directories
|
||||||
|
- run:
|
||||||
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Agent health checks
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- run:
|
||||||
|
command: rosetta run test --workspace << parameters.workspace >>
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Test
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_test_results:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- when:
|
||||||
|
condition:
|
||||||
|
and:
|
||||||
|
- <<parameters.delivery_manifest>>
|
||||||
|
- or:
|
||||||
|
- matches:
|
||||||
|
pattern: ^main$
|
||||||
|
value: << pipeline.git.branch >>
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
command: rosetta run delivery_manifest --workspace << parameters.workspace
|
||||||
|
>> --data TARGETS_SOURCE=test
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Delivery Manifest
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/artifacts
|
||||||
|
- store_artifacts:
|
||||||
|
path: vmstat.out
|
||||||
|
- run:
|
||||||
|
command: rosetta run finalization
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Finalization
|
||||||
|
no_output_timeout: 10m
|
||||||
|
when: always
|
||||||
|
working_directory: /mnt/ephemeral/workdir
|
||||||
|
aw-e2e_coreutils_test:
|
||||||
|
environment:
|
||||||
|
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
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Configure Workflows
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
command: rm -rf /workflows/artifacts /workflows/testlogs
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Prepare archive directories
|
||||||
|
- run:
|
||||||
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Agent health checks
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- run:
|
||||||
|
command: rosetta run test --workspace << parameters.workspace >>
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Test
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_test_results:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- when:
|
||||||
|
condition:
|
||||||
|
and:
|
||||||
|
- <<parameters.delivery_manifest>>
|
||||||
|
- or:
|
||||||
|
- matches:
|
||||||
|
pattern: ^main$
|
||||||
|
value: << pipeline.git.branch >>
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
command: rosetta run delivery_manifest --workspace << parameters.workspace
|
||||||
|
>> --data TARGETS_SOURCE=test
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Delivery Manifest
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/artifacts
|
||||||
|
- store_artifacts:
|
||||||
|
path: vmstat.out
|
||||||
|
- run:
|
||||||
|
command: rosetta run finalization
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Finalization
|
||||||
|
no_output_timeout: 10m
|
||||||
|
when: always
|
||||||
|
working_directory: /mnt/ephemeral/workdir
|
||||||
|
aw-e2e_external_copy_to_directory_test:
|
||||||
|
environment:
|
||||||
|
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
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Configure Workflows
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
command: rm -rf /workflows/artifacts /workflows/testlogs
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Prepare archive directories
|
||||||
|
- run:
|
||||||
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Agent health checks
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- run:
|
||||||
|
command: rosetta run test --workspace << parameters.workspace >>
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Test
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_test_results:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- when:
|
||||||
|
condition:
|
||||||
|
and:
|
||||||
|
- <<parameters.delivery_manifest>>
|
||||||
|
- or:
|
||||||
|
- matches:
|
||||||
|
pattern: ^main$
|
||||||
|
value: << pipeline.git.branch >>
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
command: rosetta run delivery_manifest --workspace << parameters.workspace
|
||||||
|
>> --data TARGETS_SOURCE=test
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Delivery Manifest
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/artifacts
|
||||||
|
- store_artifacts:
|
||||||
|
path: vmstat.out
|
||||||
|
- run:
|
||||||
|
command: rosetta run finalization
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Finalization
|
||||||
|
no_output_timeout: 10m
|
||||||
|
when: always
|
||||||
|
working_directory: /mnt/ephemeral/workdir
|
||||||
|
aw-e2e_smoke_test:
|
||||||
|
environment:
|
||||||
|
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
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Configure Workflows
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
command: rm -rf /workflows/artifacts /workflows/testlogs
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Prepare archive directories
|
||||||
|
- run:
|
||||||
|
command: /etc/aspect/workflows/bin/agent_health_check
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Agent health checks
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- run:
|
||||||
|
command: rosetta run test --workspace << parameters.workspace >>
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Test
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_test_results:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- when:
|
||||||
|
condition:
|
||||||
|
and:
|
||||||
|
- <<parameters.delivery_manifest>>
|
||||||
|
- or:
|
||||||
|
- matches:
|
||||||
|
pattern: ^main$
|
||||||
|
value: << pipeline.git.branch >>
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
command: rosetta run delivery_manifest --workspace << parameters.workspace
|
||||||
|
>> --data TARGETS_SOURCE=test
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Delivery Manifest
|
||||||
|
no_output_timeout: 180m
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/testlogs
|
||||||
|
- store_artifacts:
|
||||||
|
path: /workflows/artifacts
|
||||||
|
- store_artifacts:
|
||||||
|
path: vmstat.out
|
||||||
|
- run:
|
||||||
|
command: rosetta run finalization
|
||||||
|
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
|
||||||
|
CC: /bin/false
|
||||||
|
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
||||||
|
name: Finalization
|
||||||
|
no_output_timeout: 10m
|
||||||
|
when: always
|
||||||
|
working_directory: /mnt/ephemeral/workdir
|
||||||
aw-format:
|
aw-format:
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
@ -642,112 +1062,6 @@ jobs:
|
||||||
no_output_timeout: 10m
|
no_output_timeout: 10m
|
||||||
when: always
|
when: always
|
||||||
working_directory: /mnt/ephemeral/workdir
|
working_directory: /mnt/ephemeral/workdir
|
||||||
aw-test:
|
|
||||||
environment:
|
|
||||||
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
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Configure Workflows
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
command: rm -rf /workflows/artifacts /workflows/testlogs
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Prepare archive directories
|
|
||||||
- run:
|
|
||||||
command: /etc/aspect/workflows/bin/agent_health_check
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Agent health checks
|
|
||||||
no_output_timeout: 180m
|
|
||||||
- run:
|
|
||||||
command: rosetta run test --workspace << parameters.workspace >>
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Test
|
|
||||||
no_output_timeout: 180m
|
|
||||||
- store_test_results:
|
|
||||||
path: /workflows/testlogs
|
|
||||||
- when:
|
|
||||||
condition:
|
|
||||||
and:
|
|
||||||
- <<parameters.delivery_manifest>>
|
|
||||||
- or:
|
|
||||||
- matches:
|
|
||||||
pattern: ^main$
|
|
||||||
value: << pipeline.git.branch >>
|
|
||||||
- matches:
|
|
||||||
pattern: ^master$
|
|
||||||
value: << pipeline.git.branch >>
|
|
||||||
steps:
|
|
||||||
- run:
|
|
||||||
command: rosetta run delivery_manifest --workspace << parameters.workspace
|
|
||||||
>> --data TARGETS_SOURCE=test
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Delivery Manifest
|
|
||||||
no_output_timeout: 180m
|
|
||||||
- store_artifacts:
|
|
||||||
path: /workflows/testlogs
|
|
||||||
- store_artifacts:
|
|
||||||
path: /workflows/artifacts
|
|
||||||
- run:
|
|
||||||
command: rosetta run finalization
|
|
||||||
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
|
|
||||||
CC: /bin/false
|
|
||||||
XDG_CACHE_HOME: /mnt/ephemeral/caches
|
|
||||||
name: Finalization
|
|
||||||
no_output_timeout: 10m
|
|
||||||
when: always
|
|
||||||
working_directory: /mnt/ephemeral/workdir
|
|
||||||
aw-warming:
|
aw-warming:
|
||||||
environment:
|
environment:
|
||||||
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
|
||||||
|
|
|
@ -2,3 +2,12 @@ bazel-*
|
||||||
**/.terraform/*
|
**/.terraform/*
|
||||||
test-out/
|
test-out/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Don't commit lockfile for now as it is unstable. Do allow for it to be
|
||||||
|
# created, however, since it gives a performance boost for local development.
|
||||||
|
# https://github.com/bazelbuild/bazel/issues/19026
|
||||||
|
# https://github.com/bazelbuild/bazel/issues/19621
|
||||||
|
# https://github.com/bazelbuild/bazel/issues/19971
|
||||||
|
# https://github.com/bazelbuild/bazel/issues/20272
|
||||||
|
# https://github.com/bazelbuild/bazel/issues/20369
|
||||||
|
MODULE.bazel.lock
|
||||||
|
|
2357
MODULE.bazel.lock
2357
MODULE.bazel.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue