forked from garethr/garethr-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request garethr#701 from puppetlabs/pdksync
Update to puppet-module-gems 1.0, pdk-templates and new rubocop
- Loading branch information
Showing
79 changed files
with
1,421 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
|
||
steps: | ||
- name: "Honeycomb: Start recording" | ||
uses: kvrhdn/[email protected] | ||
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 | ||
with: | ||
apikey: ${{ env.HONEYCOMB_WRITEKEY }} | ||
dataset: ${{ env.HONEYCOMB_DATASET }} | ||
|
@@ -90,7 +90,7 @@ jobs: | |
echo 'collection=${{ matrix.collection }}' >> $BUILDEVENT_FILE | ||
- name: "Honeycomb: Start recording" | ||
uses: kvrhdn/[email protected] | ||
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 | ||
with: | ||
apikey: ${{ env.HONEYCOMB_WRITEKEY }} | ||
dataset: ${{ env.HONEYCOMB_DATASET }} | ||
|
@@ -155,26 +155,13 @@ jobs: | |
sed -e 's/password: .*/password: "[redacted]"/' < inventory.yaml || true | ||
echo ::endgroup:: | ||
# The provision service hands out machines as soon as they're provisioned. | ||
# The GCP VMs might still take a while to spool up and configure themselves fully. | ||
# This retry loop spins until all agents have been installed successfully. | ||
- name: Install agent | ||
uses: nick-invision/retry@v1 | ||
with: | ||
timeout_minutes: 30 | ||
max_attempts: 5 | ||
retry_wait_seconds: 60 | ||
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' | ||
run: | | ||
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' | ||
# The agent installer on windows does not finish in time for this to work. To | ||
# work around this for now, retry after a minute if installing the module failed. | ||
- name: Install module | ||
uses: nick-invision/retry@v1 | ||
with: | ||
timeout_minutes: 30 | ||
max_attempts: 2 | ||
retry_wait_seconds: 60 | ||
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' | ||
run: | | ||
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' | ||
- name: "Honeycomb: Record deployment times" | ||
if: ${{ always() }} | ||
|
@@ -220,7 +207,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Slack Workflow Notification | ||
uses: Gamesight/slack-workflow-status@master | ||
uses: Gamesight/slack-workflow-status@88ee95b73b4669825883ddf22747966204663e58 # pin@master | ||
with: | ||
# Required Input | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
|
||
steps: | ||
- name: "Honeycomb: Start recording" | ||
uses: kvrhdn/[email protected] | ||
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 | ||
with: | ||
apikey: ${{ env.HONEYCOMB_WRITEKEY }} | ||
dataset: ${{ env.HONEYCOMB_DATASET }} | ||
|
@@ -88,7 +88,7 @@ jobs: | |
echo 'collection=${{ matrix.collection }}' >> $BUILDEVENT_FILE | ||
- name: "Honeycomb: Start recording" | ||
uses: kvrhdn/[email protected] | ||
uses: kvrhdn/gha-buildevents@5be4636b81803713c94d7cb7e3a4b85d759df112 # pin@v1.0.2 | ||
with: | ||
apikey: ${{ env.HONEYCOMB_WRITEKEY }} | ||
dataset: ${{ env.HONEYCOMB_DATASET }} | ||
|
@@ -153,26 +153,13 @@ jobs: | |
sed -e 's/password: .*/password: "[redacted]"/' < inventory.yaml || true | ||
echo ::endgroup:: | ||
# The provision service hands out machines as soon as they're provisioned. | ||
# The GCP VMs might still take a while to spool up and configure themselves fully. | ||
# This retry loop spins until all agents have been installed successfully. | ||
- name: Install agent | ||
uses: nick-invision/retry@v1 | ||
with: | ||
timeout_minutes: 30 | ||
max_attempts: 5 | ||
retry_wait_seconds: 60 | ||
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' | ||
run: | | ||
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_agent ${{ matrix.collection }}' -- bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' | ||
# The agent installer on windows does not finish in time for this to work. To | ||
# work around this for now, retry after a minute if installing the module failed. | ||
- name: Install module | ||
uses: nick-invision/retry@v1 | ||
with: | ||
timeout_minutes: 30 | ||
max_attempts: 2 | ||
retry_wait_seconds: 60 | ||
command: buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' | ||
run: | | ||
buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:install_module' -- bundle exec rake 'litmus:install_module' | ||
- name: "Honeycomb: Record deployment times" | ||
if: ${{ always() }} | ||
|
Oops, something went wrong.