|
| 1 | +steps: |
| 2 | +- key: gazelle |
| 3 | + label: ":deer: Gazelle" |
| 4 | + retry: |
| 5 | + manual: |
| 6 | + allowed: true |
| 7 | + permit_on_passed: false |
| 8 | + automatic: |
| 9 | + - limit: 1 |
| 10 | + exit_status: 36 |
| 11 | + - limit: 1 |
| 12 | + exit_status: 255 |
| 13 | + - limit: 1 |
| 14 | + exit_status: -1 |
| 15 | + agents: |
| 16 | + queue: aspect-default |
| 17 | + command: | |
| 18 | + echo "--- :aspect-build: Workflows environment" |
| 19 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 20 | + echo "--- :stethoscope: Agent health check" |
| 21 | + /etc/aspect/workflows/bin/agent_health_check |
| 22 | + echo "~~~ :broom: Prepare archive directories" |
| 23 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 24 | + echo "--- :deer: Gazelle" |
| 25 | + rosetta run gazelle |
| 26 | + artifact_paths: |
| 27 | + - "/workflows/artifacts/**/*" |
| 28 | + |
| 29 | +- key: buildifier |
| 30 | + label: ":hammer_and_wrench: Buildifier" |
| 31 | + retry: |
| 32 | + manual: |
| 33 | + allowed: true |
| 34 | + permit_on_passed: false |
| 35 | + automatic: |
| 36 | + - limit: 1 |
| 37 | + exit_status: 36 |
| 38 | + - limit: 1 |
| 39 | + exit_status: 255 |
| 40 | + - limit: 1 |
| 41 | + exit_status: -1 |
| 42 | + agents: |
| 43 | + queue: aspect-default |
| 44 | + command: | |
| 45 | + echo "--- :aspect-build: Workflows environment" |
| 46 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 47 | + echo "--- :stethoscope: Agent health check" |
| 48 | + /etc/aspect/workflows/bin/agent_health_check |
| 49 | + echo "~~~ :broom: Prepare archive directories" |
| 50 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 51 | + echo "--- :hammer_and_wrench: Buildifier" |
| 52 | + rosetta run buildifier |
| 53 | + artifact_paths: |
| 54 | + - "/workflows/artifacts/**/*" |
| 55 | + |
| 56 | +- key: lint |
| 57 | + label: ":broom: Lint" |
| 58 | + retry: |
| 59 | + manual: |
| 60 | + allowed: true |
| 61 | + permit_on_passed: false |
| 62 | + automatic: |
| 63 | + - limit: 1 |
| 64 | + exit_status: 36 |
| 65 | + - limit: 1 |
| 66 | + exit_status: 255 |
| 67 | + - limit: 1 |
| 68 | + exit_status: -1 |
| 69 | + agents: |
| 70 | + queue: aspect-default |
| 71 | + command: | |
| 72 | + echo "--- :aspect-build: Workflows environment" |
| 73 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 74 | + echo "--- :stethoscope: Agent health check" |
| 75 | + /etc/aspect/workflows/bin/agent_health_check |
| 76 | + echo "~~~ :broom: Prepare archive directories" |
| 77 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 78 | + echo "--- :broom: Lint" |
| 79 | + rosetta run lint |
| 80 | + artifact_paths: |
| 81 | + - "/workflows/artifacts/**/*" |
| 82 | + |
| 83 | +- key: format |
| 84 | + label: ":hammer_and_wrench: Format" |
| 85 | + retry: |
| 86 | + manual: |
| 87 | + allowed: true |
| 88 | + permit_on_passed: false |
| 89 | + automatic: |
| 90 | + - limit: 1 |
| 91 | + exit_status: 36 |
| 92 | + - limit: 1 |
| 93 | + exit_status: 255 |
| 94 | + - limit: 1 |
| 95 | + exit_status: -1 |
| 96 | + agents: |
| 97 | + queue: aspect-default |
| 98 | + command: | |
| 99 | + echo "--- :aspect-build: Workflows environment" |
| 100 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 101 | + echo "--- :stethoscope: Agent health check" |
| 102 | + /etc/aspect/workflows/bin/agent_health_check |
| 103 | + echo "~~~ :broom: Prepare archive directories" |
| 104 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 105 | + echo "--- :hammer_and_wrench: Format" |
| 106 | + rosetta run format |
| 107 | + artifact_paths: |
| 108 | + - "/workflows/artifacts/**/*" |
| 109 | + |
| 110 | +- key: test_0 |
| 111 | + label: ":bazel: Test" |
| 112 | + retry: |
| 113 | + manual: |
| 114 | + allowed: true |
| 115 | + permit_on_passed: false |
| 116 | + automatic: |
| 117 | + - limit: 1 |
| 118 | + exit_status: 36 |
| 119 | + - limit: 1 |
| 120 | + exit_status: 255 |
| 121 | + - limit: 1 |
| 122 | + exit_status: -1 |
| 123 | + agents: |
| 124 | + queue: aspect-default |
| 125 | + command: | |
| 126 | + echo "--- :aspect-build: Workflows environment" |
| 127 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 128 | + echo "--- :stethoscope: Agent health check" |
| 129 | + /etc/aspect/workflows/bin/agent_health_check |
| 130 | + echo "~~~ :broom: Prepare archive directories" |
| 131 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 132 | + echo "--- :bazel: Test" |
| 133 | + rosetta run test_0 |
| 134 | + artifact_paths: |
| 135 | + - "/workflows/artifacts/**/*" |
| 136 | + |
| 137 | +- key: test_1 |
| 138 | + label: ":bazel: Test (1)" |
| 139 | + retry: |
| 140 | + manual: |
| 141 | + allowed: true |
| 142 | + permit_on_passed: false |
| 143 | + automatic: |
| 144 | + - limit: 1 |
| 145 | + exit_status: 36 |
| 146 | + - limit: 1 |
| 147 | + exit_status: 255 |
| 148 | + - limit: 1 |
| 149 | + exit_status: -1 |
| 150 | + agents: |
| 151 | + queue: aspect-default |
| 152 | + command: | |
| 153 | + echo "--- :aspect-build: Workflows environment" |
| 154 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 155 | + echo "--- :stethoscope: Agent health check" |
| 156 | + /etc/aspect/workflows/bin/agent_health_check |
| 157 | + echo "~~~ :broom: Prepare archive directories" |
| 158 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 159 | + echo "--- :bazel: Test (1)" |
| 160 | + rosetta run test_1 |
| 161 | + artifact_paths: |
| 162 | + - "/workflows/artifacts/**/*" |
| 163 | + |
| 164 | +- key: delivery |
| 165 | + if: build.branch == "main" |
| 166 | + label: ":bazel: Delivery" |
| 167 | + retry: |
| 168 | + manual: |
| 169 | + allowed: true |
| 170 | + permit_on_passed: false |
| 171 | + automatic: |
| 172 | + - limit: 1 |
| 173 | + exit_status: 36 |
| 174 | + - limit: 1 |
| 175 | + exit_status: 255 |
| 176 | + - limit: 1 |
| 177 | + exit_status: -1 |
| 178 | + agents: |
| 179 | + queue: aspect-default |
| 180 | + command: | |
| 181 | + echo "--- :aspect-build: Workflows environment" |
| 182 | + /etc/aspect/workflows/bin/configure_workflows_env |
| 183 | + echo "--- :stethoscope: Agent health check" |
| 184 | + /etc/aspect/workflows/bin/agent_health_check |
| 185 | + echo "~~~ :broom: Prepare archive directories" |
| 186 | + rm -rf /workflows/artifacts /workflows/testlogs |
| 187 | + echo "--- :bazel: Delivery manifest" |
| 188 | + rosetta run delivery_manifest |
| 189 | + echo "--- :bazel: Delivery" |
| 190 | + rosetta run delivery |
| 191 | + depends_on: |
| 192 | + - test_0 |
| 193 | + - test_1 |
| 194 | + artifact_paths: |
| 195 | + - "/workflows/artifacts/**/*" |
0 commit comments