Skip to content

Commit 2f027fc

Browse files
committed
Update to pdk-templates and puppet-module-gems 1.0.0
1 parent c78e73f commit 2f027fc

File tree

8 files changed

+450
-99
lines changed

8 files changed

+450
-99
lines changed

.github/workflows/nightly.yml

+7-20
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: "Honeycomb: Start recording"
20-
uses: kvrhdn/[email protected]
20+
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2
2121
with:
2222
apikey: ${{ env.HONEYCOMB_WRITEKEY }}
2323
dataset: ${{ env.HONEYCOMB_DATASET }}
@@ -90,7 +90,7 @@ jobs:
9090
echo 'collection=${{ matrix.collection }}' >> $BUILDEVENT_FILE
9191
9292
- name: "Honeycomb: Start recording"
93-
uses: kvrhdn/[email protected]
93+
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2
9494
with:
9595
apikey: ${{ env.HONEYCOMB_WRITEKEY }}
9696
dataset: ${{ env.HONEYCOMB_DATASET }}
@@ -155,26 +155,13 @@ jobs:
155155
sed -e 's/password: .*/password: "[redacted]"/' < inventory.yaml || true
156156
echo ::endgroup::
157157
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.
161158
- 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 }}]'
168161
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.
171162
- 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'
178165
179166
- name: "Honeycomb: Record deployment times"
180167
if: ${{ always() }}
@@ -220,7 +207,7 @@ jobs:
220207
runs-on: ubuntu-20.04
221208
steps:
222209
- name: Slack Workflow Notification
223-
uses: Gamesight/slack-workflow-status@master
210+
uses: Gamesight/slack-workflow-status@88ee95b73b4669825883ddf22747966204663e58 # pin@master
224211
with:
225212
# Required Input
226213
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr_test.yml

+6-19
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: "Honeycomb: Start recording"
18-
uses: kvrhdn/[email protected]
18+
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2
1919
with:
2020
apikey: ${{ env.HONEYCOMB_WRITEKEY }}
2121
dataset: ${{ env.HONEYCOMB_DATASET }}
@@ -88,7 +88,7 @@ jobs:
8888
echo 'collection=${{ matrix.collection }}' >> $BUILDEVENT_FILE
8989
9090
- name: "Honeycomb: Start recording"
91-
uses: kvrhdn/[email protected]
91+
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2
9292
with:
9393
apikey: ${{ env.HONEYCOMB_WRITEKEY }}
9494
dataset: ${{ env.HONEYCOMB_DATASET }}
@@ -153,26 +153,13 @@ jobs:
153153
sed -e 's/password: .*/password: "[redacted]"/' < inventory.yaml || true
154154
echo ::endgroup::
155155
156-
# The provision service hands out machines as soon as they're provisioned.
157-
# The GCP VMs might still take a while to spool up and configure themselves fully.
158-
# This retry loop spins until all agents have been installed successfully.
159156
- name: Install agent
160-
uses: nick-invision/retry@v1
161-
with:
162-
timeout_minutes: 30
163-
max_attempts: 5
164-
retry_wait_seconds: 60
165-
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]'
157+
run: |
158+
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]'
166159
167-
# The agent installer on windows does not finish in time for this to work. To
168-
# work around this for now, retry after a minute if installing the module failed.
169160
- name: Install module
170-
uses: nick-invision/retry@v1
171-
with:
172-
timeout_minutes: 30
173-
max_attempts: 2
174-
retry_wait_seconds: 60
175-
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module'
161+
run: |
162+
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module'
176163
177164
- name: "Honeycomb: Record deployment times"
178165
if: ${{ always() }}

0 commit comments

Comments
 (0)