|
17 | 17 |
|
18 | 18 | steps:
|
19 | 19 | - name: "Honeycomb: Start recording"
|
20 |
| - |
| 20 | + uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 |
21 | 21 | with:
|
22 | 22 | apikey: ${{ env.HONEYCOMB_WRITEKEY }}
|
23 | 23 | dataset: ${{ env.HONEYCOMB_DATASET }}
|
|
90 | 90 | echo 'collection=${{ matrix.collection }}' >> $BUILDEVENT_FILE
|
91 | 91 |
|
92 | 92 | - name: "Honeycomb: Start recording"
|
93 |
| - |
| 93 | + uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 |
94 | 94 | with:
|
95 | 95 | apikey: ${{ env.HONEYCOMB_WRITEKEY }}
|
96 | 96 | dataset: ${{ env.HONEYCOMB_DATASET }}
|
@@ -155,26 +155,13 @@ jobs:
|
155 | 155 | sed -e 's/password: .*/password: "[redacted]"/' < inventory.yaml || true
|
156 | 156 | echo ::endgroup::
|
157 | 157 |
|
158 |
| - # The provision service hands out machines as soon as they're provisioned. |
159 |
| - # The GCP VMs might still take a while to spool up and configure themselves fully. |
160 |
| - # This retry loop spins until all agents have been installed successfully. |
161 | 158 | - name: Install agent
|
162 |
| - uses: nick-invision/retry@v1 |
163 |
| - with: |
164 |
| - timeout_minutes: 30 |
165 |
| - max_attempts: 5 |
166 |
| - retry_wait_seconds: 60 |
167 |
| - command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' |
| 159 | + run: | |
| 160 | + buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' |
168 | 161 |
|
169 |
| - # The agent installer on windows does not finish in time for this to work. To |
170 |
| - # work around this for now, retry after a minute if installing the module failed. |
171 | 162 | - name: Install module
|
172 |
| - uses: nick-invision/retry@v1 |
173 |
| - with: |
174 |
| - timeout_minutes: 30 |
175 |
| - max_attempts: 2 |
176 |
| - retry_wait_seconds: 60 |
177 |
| - command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' |
| 163 | + run: | |
| 164 | + buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' |
178 | 165 |
|
179 | 166 | - name: "Honeycomb: Record deployment times"
|
180 | 167 | if: ${{ always() }}
|
@@ -220,7 +207,7 @@ jobs:
|
220 | 207 | runs-on: ubuntu-20.04
|
221 | 208 | steps:
|
222 | 209 | - name: Slack Workflow Notification
|
223 |
| - uses: Gamesight/slack-workflow-status@master |
| 210 | + uses: Gamesight/slack-workflow-status@88ee95b73b4669825883ddf22747966204663e58 # pin@master |
224 | 211 | with:
|
225 | 212 | # Required Input
|
226 | 213 | repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
0 commit comments