Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 0 additions & 156 deletions .github/workflows/check-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,6 @@ jobs:
- run: docker pull minimum2scp/debian:latest
- run: bundle exec rspec spec/debian/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/debian:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

baseimage:
name: baseimage
runs-on: ubuntu-latest
Expand All @@ -65,32 +39,6 @@ jobs:
- run: docker pull minimum2scp/baseimage:latest
- run: bundle exec rspec spec/baseimage/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/baseimage:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

debian-trixie:
name: debian-trixie
runs-on: ubuntu-latest
Expand All @@ -107,32 +55,6 @@ jobs:
- run: docker pull minimum2scp/debian-trixie:latest
- run: bundle exec rspec spec/debian-trixie/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/debian-trixie:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

baseimage-trixie:
name: baseimage-trixie
runs-on: ubuntu-latest
Expand All @@ -150,32 +72,6 @@ jobs:
- run: docker pull minimum2scp/baseimage-trixie:latest
- run: bundle exec rspec spec/baseimage-trixie/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/baseimage-trixie:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

debian-bookworm:
name: debian-bookworm
runs-on: ubuntu-latest
Expand All @@ -192,32 +88,6 @@ jobs:
- run: docker pull minimum2scp/debian-bookworm:latest
- run: bundle exec rspec spec/debian-bookworm/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/debian-bookworm:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

baseimage-bookworm:
name: baseimage-bookworm
runs-on: ubuntu-latest
Expand All @@ -235,29 +105,3 @@ jobs:
- run: docker pull minimum2scp/baseimage-bookworm:latest
- run: bundle exec rspec spec/baseimage-bookworm/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/baseimage-bookworm:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

26 changes: 0 additions & 26 deletions .github/workflows/check-update.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,4 @@ jobs:
- run: docker pull minimum2scp/<%= image %>:latest
- run: bundle exec rspec spec/<%= image %>/01apt_spec.rb -e 'apt list --upgradable'

# notify to slack
- uses: ruby/action-slack@v3.2.2
with:
payload: |
{
"username": "GitHub Actions",
"icon_emoji": ":octocat:",
"channel": "#gh",
"attachments": [{
"color": "danger",
"text": "${{ job.status }}: Workflow ${{ github.workflow }} (<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|#${{ github.run_number }}>)",
"footer": "<https://github.com/${{ github.repository }}|${{ github.repository }}>",
"footer_icon": "https://github.githubassets.com/favicon.ico",
"fields": [
{
"title": "image",
"value": "minimum2scp/<%= image %>:latest",
"short": false
}
]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: "failure()"

<%- end -%>