| # GENERATED FILE - DO NOT EDIT! |
| # Update with: bazel run //.circleci:write_merged_config |
| version: 2.1 |
| workflows: |
| aspect-workflows: |
| jobs: |
| - aw-auto-deliver: |
| context: [] |
| filters: |
| branches: |
| only: |
| - /^main$/ |
| requires: |
| - aw-root_workspace_test |
| workspace: . |
| - aw-buildifier: |
| context: [] |
| workspace: . |
| - aw-format: |
| context: [] |
| workspace: . |
| - aw-gazelle: |
| context: [] |
| workspace: . |
| - aw-root_workspace_configure: |
| context: [] |
| workspace: . |
| - aw-root_workspace_test: |
| context: [] |
| workspace: . |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-e2e-copy_action: |
| jobs: |
| - aw-e2e_copy_action_test: |
| context: [] |
| delivery_manifest: false |
| workspace: e2e/copy_action |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-e2e-copy_to_directory: |
| jobs: |
| - aw-e2e_copy_to_directory_test: |
| context: [] |
| delivery_manifest: false |
| workspace: e2e/copy_to_directory |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-e2e-coreutils: |
| jobs: |
| - aw-e2e_coreutils_test: |
| context: [] |
| delivery_manifest: false |
| workspace: e2e/coreutils |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-e2e-external_copy_to_directory: |
| jobs: |
| - aw-e2e_external_copy_to_directory_test: |
| context: [] |
| delivery_manifest: false |
| workspace: e2e/external_copy_to_directory |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-e2e-smoke: |
| jobs: |
| - aw-e2e_smoke_test: |
| context: [] |
| delivery_manifest: false |
| workspace: e2e/smoke |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| aspect-workflows-manual-deliver: |
| jobs: |
| - aw-manual-deliver: |
| context: [] |
| workspace: << pipeline.parameters.workspace >> |
| when: |
| equal: |
| - true |
| - << pipeline.parameters.perform_delivery >> |
| aspect-workflows-warming: |
| jobs: |
| - aw-warming: {} |
| when: |
| and: |
| - equal: |
| - scheduled_pipeline |
| - << pipeline.trigger_source >> |
| - equal: |
| - aspect-workflows-warming |
| - << pipeline.schedule.name >> |
| user-workflow: |
| jobs: |
| - user-job |
| when: |
| and: |
| - not: << pipeline.parameters.perform_delivery >> |
| - not: |
| equal: |
| - << pipeline.trigger_source >> |
| - scheduled_pipeline |
| jobs: |
| aw-auto-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_WORKSPACE: << parameters.workspace >> |
| 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 |
| name: Workflows environment |
| - checkout |
| - run: |
| command: /etc/aspect/workflows/bin/agent_health_check |
| name: Agent health check |
| no_output_timeout: 180m |
| - run: |
| command: git fetch |
| name: Git fetch |
| - when: |
| condition: << pipeline.parameters.delivery_commit >> |
| steps: |
| - run: |
| command: git checkout << pipeline.parameters.delivery_commit >> |
| name: Checkout release commit |
| - run: |
| command: rosetta run delivery |
| name: Delivery |
| no_output_timeout: 180m |
| working_directory: /mnt/ephemeral/workdir |
| aw-buildifier: |
| 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 buildifier --workspace << parameters.workspace >> |
| name: Buildifier |
| 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-e2e_copy_action_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 |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| name: Delivery manifest |
| no_output_timeout: 180m |
| - store_artifacts: |
| path: /workflows/testlogs |
| - store_artifacts: |
| path: /workflows/artifacts |
| - store_artifacts: |
| path: e2e/copy_action/vmstat.out |
| - run: |
| command: rosetta run finalization |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-e2e_copy_to_directory_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 |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| name: Delivery manifest |
| no_output_timeout: 180m |
| - store_artifacts: |
| path: /workflows/testlogs |
| - store_artifacts: |
| path: /workflows/artifacts |
| - store_artifacts: |
| path: e2e/copy_to_directory/vmstat.out |
| - run: |
| command: rosetta run finalization |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-e2e_coreutils_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 |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| name: Delivery manifest |
| no_output_timeout: 180m |
| - store_artifacts: |
| path: /workflows/testlogs |
| - store_artifacts: |
| path: /workflows/artifacts |
| - store_artifacts: |
| path: e2e/coreutils/vmstat.out |
| - run: |
| command: rosetta run finalization |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-e2e_external_copy_to_directory_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 |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| name: Delivery manifest |
| no_output_timeout: 180m |
| - store_artifacts: |
| path: /workflows/testlogs |
| - store_artifacts: |
| path: /workflows/artifacts |
| - store_artifacts: |
| path: e2e/external_copy_to_directory/vmstat.out |
| - run: |
| command: rosetta run finalization |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-e2e_smoke_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 |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| name: Delivery manifest |
| no_output_timeout: 180m |
| - store_artifacts: |
| path: /workflows/testlogs |
| - store_artifacts: |
| path: /workflows/artifacts |
| - store_artifacts: |
| path: e2e/smoke/vmstat.out |
| - run: |
| command: rosetta run finalization |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-format: |
| 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 format --workspace << parameters.workspace >> |
| name: Format |
| 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-gazelle: |
| 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 gazelle --workspace << parameters.workspace >> |
| name: Gazelle |
| 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_WORKSPACE: << parameters.workspace >> |
| 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 |
| name: Workflows environment |
| - checkout |
| - run: |
| command: /etc/aspect/workflows/bin/agent_health_check |
| name: Agent health check |
| no_output_timeout: 180m |
| - run: |
| command: git fetch |
| name: Git fetch |
| - when: |
| condition: << pipeline.parameters.delivery_commit >> |
| steps: |
| - run: |
| command: git checkout << pipeline.parameters.delivery_commit >> |
| name: Checkout release commit |
| - run: |
| command: rosetta run delivery |
| name: Delivery |
| no_output_timeout: 180m |
| working_directory: /mnt/ephemeral/workdir |
| aw-root_workspace_configure: |
| 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 configure --workspace << parameters.workspace >> |
| name: Configure |
| 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-root_workspace_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 |
| 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-default |
| 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 test --workspace << parameters.workspace >> |
| 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 |
| 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 |
| name: Finalization |
| no_output_timeout: 10m |
| when: always |
| working_directory: /mnt/ephemeral/workdir |
| aw-warming: |
| 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 |
| XDG_CACHE_HOME: /mnt/ephemeral/caches |
| machine: true |
| resource_class: aspect-build/bazel-lib-warming |
| steps: |
| - run: |
| command: /etc/aspect/workflows/bin/configure_workflows_env |
| name: Workflows environment |
| - checkout |
| - run: |
| command: /etc/aspect/workflows/bin/agent_health_check |
| name: Agent health check |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace e2e/smoke |
| name: Create warming archive for e2e/smoke |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace e2e/external_copy_to_directory |
| name: Create warming archive for e2e/external_copy_to_directory |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace e2e/coreutils |
| name: Create warming archive for e2e/coreutils |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace e2e/copy_to_directory |
| name: Create warming archive for e2e/copy_to_directory |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace e2e/copy_action |
| name: Create warming archive for e2e/copy_action |
| no_output_timeout: 180m |
| - run: |
| command: rosetta run warming --workspace . |
| name: Create warming archive for root |
| no_output_timeout: 180m |
| - run: |
| command: /etc/aspect/workflows/bin/warming_archive |
| name: Archive warming tars |
| working_directory: /mnt/ephemeral/workdir |
| user-job: |
| docker: |
| - image: cimg/base:2023.03 |
| steps: |
| - checkout |
| - run: echo "Example user CircleCI job that is not generated by Aspect Workflows." |
| parameters: |
| delivery_commit: |
| default: "" |
| description: The commit to checkout and run the delivery from. Targets listed |
| in the delivery manifest for this commit will be delivered unless specific targets |
| are listed in `delivery_targets`. |
| type: string |
| delivery_targets: |
| default: "" |
| description: List of Bazel targets to deliver, delimited by spaces. For example, |
| `//app/a:push_release //app/b:push_release`. If empty, targets listed in the |
| delivery manifest for the target commit will be delivered. |
| type: string |
| perform_delivery: |
| default: false |
| type: boolean |
| workspace: |
| default: . |
| description: The workspace that the `delivery_targets` live within. |
| type: string |