|
| 1 | +# GENERATED FILE - DO NOT EDIT! |
| 2 | +# Update with: bazel run //.circleci:write_merged_config |
| 3 | +version: 2.1 |
| 4 | +workflows: |
| 5 | + aspect-workflows: |
| 6 | + jobs: |
| 7 | + - aw-format: |
| 8 | + context: [] |
| 9 | + workspace: . |
| 10 | + - aw-lint: |
| 11 | + context: [] |
| 12 | + workspace: . |
| 13 | + - aw-test: |
| 14 | + context: [] |
| 15 | + workspace: . |
| 16 | + when: |
| 17 | + not: |
| 18 | + equal: |
| 19 | + - scheduled_pipeline |
| 20 | + - << pipeline.trigger_source >> |
| 21 | + aspect-workflows-warming: |
| 22 | + jobs: |
| 23 | + - aw-warming: {} |
| 24 | + when: |
| 25 | + and: |
| 26 | + - equal: |
| 27 | + - scheduled_pipeline |
| 28 | + - << pipeline.trigger_source >> |
| 29 | + - equal: |
| 30 | + - aspect-workflows-warming |
| 31 | + - << pipeline.schedule.name >> |
| 32 | + user-workflow: |
| 33 | + jobs: |
| 34 | + - user-job |
| 35 | + when: |
| 36 | + and: |
| 37 | + - not: |
| 38 | + equal: |
| 39 | + - << pipeline.trigger_source >> |
| 40 | + - scheduled_pipeline |
| 41 | +jobs: |
| 42 | + aw-format: |
| 43 | + environment: |
| 44 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >> |
| 45 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >> |
| 46 | + ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows |
| 47 | + ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml |
| 48 | + ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >> |
| 49 | + XDG_CACHE_HOME: /mnt/ephemeral/caches |
| 50 | + machine: true |
| 51 | + parameters: |
| 52 | + workspace: |
| 53 | + type: string |
| 54 | + resource_class: aspect-build/aspect-default |
| 55 | + steps: |
| 56 | + - run: |
| 57 | + command: /etc/aspect/workflows/bin/configure_workflows_env |
| 58 | + name: Workflows environment |
| 59 | + - checkout |
| 60 | + - run: |
| 61 | + command: rm -rf /workflows/artifacts /workflows/testlogs |
| 62 | + name: Prepare archive directories |
| 63 | + - run: |
| 64 | + command: /etc/aspect/workflows/bin/agent_health_check |
| 65 | + name: Agent health check |
| 66 | + no_output_timeout: 180m |
| 67 | + - run: |
| 68 | + command: rosetta run checkout |
| 69 | + name: Checkout health |
| 70 | + no_output_timeout: 180m |
| 71 | + - run: |
| 72 | + command: rosetta run format --workspace << parameters.workspace >> |
| 73 | + name: Format |
| 74 | + no_output_timeout: 180m |
| 75 | + - store_artifacts: |
| 76 | + path: /workflows/artifacts |
| 77 | + - run: |
| 78 | + command: rosetta run finalization |
| 79 | + name: Finalization |
| 80 | + no_output_timeout: 10m |
| 81 | + when: always |
| 82 | + working_directory: /mnt/ephemeral/workdir |
| 83 | + aw-lint: |
| 84 | + environment: |
| 85 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >> |
| 86 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >> |
| 87 | + ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows |
| 88 | + ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml |
| 89 | + ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >> |
| 90 | + XDG_CACHE_HOME: /mnt/ephemeral/caches |
| 91 | + machine: true |
| 92 | + parameters: |
| 93 | + workspace: |
| 94 | + type: string |
| 95 | + resource_class: aspect-build/aspect-default |
| 96 | + steps: |
| 97 | + - run: |
| 98 | + command: /etc/aspect/workflows/bin/configure_workflows_env |
| 99 | + name: Workflows environment |
| 100 | + - checkout |
| 101 | + - run: |
| 102 | + command: rm -rf /workflows/artifacts /workflows/testlogs |
| 103 | + name: Prepare archive directories |
| 104 | + - run: |
| 105 | + command: /etc/aspect/workflows/bin/agent_health_check |
| 106 | + name: Agent health check |
| 107 | + no_output_timeout: 180m |
| 108 | + - run: |
| 109 | + command: rosetta run checkout |
| 110 | + name: Checkout health |
| 111 | + no_output_timeout: 180m |
| 112 | + - run: |
| 113 | + command: rosetta run lint --workspace << parameters.workspace >> |
| 114 | + name: Lint |
| 115 | + no_output_timeout: 180m |
| 116 | + - store_artifacts: |
| 117 | + path: /workflows/artifacts |
| 118 | + - run: |
| 119 | + command: rosetta run finalization |
| 120 | + name: Finalization |
| 121 | + no_output_timeout: 10m |
| 122 | + when: always |
| 123 | + working_directory: /mnt/ephemeral/workdir |
| 124 | + aw-test: |
| 125 | + environment: |
| 126 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >> |
| 127 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >> |
| 128 | + ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows |
| 129 | + ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml |
| 130 | + ASPECT_WORKFLOWS_WORKSPACE: << parameters.workspace >> |
| 131 | + XDG_CACHE_HOME: /mnt/ephemeral/caches |
| 132 | + machine: true |
| 133 | + parameters: |
| 134 | + workspace: |
| 135 | + type: string |
| 136 | + resource_class: aspect-build/aspect-default |
| 137 | + steps: |
| 138 | + - run: |
| 139 | + command: /etc/aspect/workflows/bin/configure_workflows_env |
| 140 | + name: Workflows environment |
| 141 | + - checkout |
| 142 | + - run: |
| 143 | + command: rm -rf /workflows/artifacts /workflows/testlogs |
| 144 | + name: Prepare archive directories |
| 145 | + - run: |
| 146 | + command: /etc/aspect/workflows/bin/agent_health_check |
| 147 | + name: Agent health check |
| 148 | + no_output_timeout: 180m |
| 149 | + - run: |
| 150 | + command: rosetta run checkout |
| 151 | + name: Checkout health |
| 152 | + no_output_timeout: 180m |
| 153 | + - run: |
| 154 | + command: rosetta run test --workspace << parameters.workspace >> |
| 155 | + name: Test |
| 156 | + no_output_timeout: 180m |
| 157 | + - store_test_results: |
| 158 | + path: /workflows/testlogs |
| 159 | + - store_artifacts: |
| 160 | + path: /workflows/testlogs |
| 161 | + - store_artifacts: |
| 162 | + path: /workflows/artifacts |
| 163 | + - run: |
| 164 | + command: rosetta run finalization |
| 165 | + name: Finalization |
| 166 | + no_output_timeout: 10m |
| 167 | + when: always |
| 168 | + working_directory: /mnt/ephemeral/workdir |
| 169 | + aw-warming: |
| 170 | + environment: |
| 171 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_NUMBER: << pipeline.number >> |
| 172 | + ASPECT_WORKFLOWS_CIRCLE_PIPELINE_PROJECT_TYPE: << pipeline.project.type >> |
| 173 | + ASPECT_WORKFLOWS_CIRCLE_WORKFLOW_BASE_NAME: aspect-workflows |
| 174 | + ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml |
| 175 | + XDG_CACHE_HOME: /mnt/ephemeral/caches |
| 176 | + machine: true |
| 177 | + resource_class: aspect-build/aspect-warming |
| 178 | + steps: |
| 179 | + - run: |
| 180 | + command: /etc/aspect/workflows/bin/configure_workflows_env |
| 181 | + name: Workflows environment |
| 182 | + - checkout |
| 183 | + - run: |
| 184 | + command: /etc/aspect/workflows/bin/agent_health_check |
| 185 | + name: Agent health check |
| 186 | + no_output_timeout: 180m |
| 187 | + - run: |
| 188 | + command: rosetta run warming --workspace . |
| 189 | + name: Create warming archive for root |
| 190 | + no_output_timeout: 180m |
| 191 | + - run: |
| 192 | + command: /etc/aspect/workflows/bin/warming_archive |
| 193 | + name: Archive warming tars |
| 194 | + working_directory: /mnt/ephemeral/workdir |
| 195 | + user-job: |
| 196 | + docker: |
| 197 | + - image: cimg/base:2023.03 |
| 198 | + steps: |
| 199 | + - checkout |
| 200 | + - run: echo "Example user CircleCI job that is not generated by Aspect Workflows." |
0 commit comments