Skip to content

Commit 3fd13cc

Browse files
committed
feat: test
1 parent 3605bb9 commit 3fd13cc

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/chef_install_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
push:
99

1010
jobs:
11-
puppet-install:
11+
chef-install:
1212
runs-on: ubuntu-latest
1313

1414
steps:
@@ -25,6 +25,7 @@ jobs:
2525
# Install newrelic-install cookbook
2626
wget https://supermarket.chef.io/cookbooks/newrelic-install/download -O newrelic-install.tar.gz
2727
tar -xzf newrelic-install.tar.gz -C .
28+
ls -la
2829
2930
# Execute newrelic install
3031
sudo chef-client --local-mode --runlist 'recipe[newrelic-install::default]'

.github/workflows/puppet_install_test.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,18 @@ jobs:
7373
exit 1
7474
fi
7575
76-
notify-failure:
77-
if: ${{ always() && failure() }}
78-
needs: [puppet-install]
79-
runs-on: ubuntu-latest
80-
steps:
81-
- name: Notify failure via Slack
82-
uses: slackapi/slack-github-action@v1.22.0
83-
with:
84-
payload: |
85-
{
86-
"text": ":warning: [Puppet installation workflow failed] @hero check <${{ env.GITHUB_JOB_URL }}>"
87-
}
88-
env:
89-
SLACK_WEBHOOK_URL: ${{ secrets.AC_SLACK_WEBHOOK }}
90-
GITHUB_JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
76+
# notify-failure:
77+
# if: ${{ always() && failure() }}
78+
# needs: [puppet-install]
79+
# runs-on: ubuntu-latest
80+
# steps:
81+
# - name: Notify failure via Slack
82+
# uses: slackapi/slack-github-action@v1.22.0
83+
# with:
84+
# payload: |
85+
# {
86+
# "text": ":warning: [Puppet installation workflow failed] @hero check <${{ env.GITHUB_JOB_URL }}>"
87+
# }
88+
# env:
89+
# SLACK_WEBHOOK_URL: ${{ secrets.AC_SLACK_WEBHOOK }}
90+
# GITHUB_JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)