mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Merge pull request #1509 from saltstack/create-pull-request/patch
Changes by create-pull-request action
This commit is contained in:
commit
446d269b65
3 changed files with 48 additions and 24 deletions
26
.github/workflows/checksums.yml
vendored
26
.github/workflows/checksums.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Checksums
|
name: Scripts-Checksums
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checksums:
|
checksums:
|
||||||
name: Update Release Checksums
|
name: Update Scripts Checksums
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -34,25 +34,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
commit-message: Update sha256 checksums
|
commit-message: Update sha256 checksums
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
if: github.repository == 'saltstack/salt-bootstrap'
|
|
||||||
with:
|
|
||||||
ref: develop
|
|
||||||
|
|
||||||
- name: Set up Python 3.7
|
|
||||||
if: github.repository == 'saltstack/salt-bootstrap'
|
|
||||||
uses: actions/setup-python@v1
|
|
||||||
with:
|
|
||||||
python-version: 3.7
|
|
||||||
|
|
||||||
- name: Update Latest Release on README
|
|
||||||
if: github.repository == 'saltstack/salt-bootstrap'
|
|
||||||
run: |
|
|
||||||
python3 .github/workflows/scripts/update-release-shasum.py ${{ env.BS_VERSION }} ${{ env.SH }}
|
|
||||||
|
|
||||||
- name: Create Pull Request Against Develop
|
|
||||||
uses: peter-evans/create-pull-request@v3
|
|
||||||
with:
|
|
||||||
commit-message: Update README.rst with latest release sha256sum
|
|
||||||
delete-branch: true
|
|
||||||
|
|
45
.github/workflows/release.yml
vendored
Normal file
45
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checksums:
|
||||||
|
name: Update Release Checksums on Develop
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
if: github.repository == 'saltstack/salt-bootstrap'
|
||||||
|
with:
|
||||||
|
ref: stable
|
||||||
|
|
||||||
|
- name: Get bootstrap-salt.sh sha256sum
|
||||||
|
if: github.repository == 'saltstack/salt-bootstrap'
|
||||||
|
run: |
|
||||||
|
echo "SH=$(sha256sum bootstrap-salt.sh | awk '{ print $1 }')" >> $GITHUB_ENV
|
||||||
|
echo "BS_VERSION=$(sh bootstrap-salt.sh -v | awk '{ print $4 }')" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
if: github.repository == 'saltstack/salt-bootstrap'
|
||||||
|
with:
|
||||||
|
ref: develop
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
if: github.repository == 'saltstack/salt-bootstrap'
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Update Latest Release on README
|
||||||
|
if: github.repository == 'saltstack/salt-bootstrap'
|
||||||
|
run: |
|
||||||
|
python3 .github/workflows/scripts/update-release-shasum.py ${{ env.BS_VERSION }} ${{ env.SH }}
|
||||||
|
|
||||||
|
- name: Create Pull Request Against Develop
|
||||||
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
with:
|
||||||
|
commit-message: Update README.rst with ${{ env.BS_VERSION }} release sha256sum
|
||||||
|
delete-branch: true
|
|
@ -32,6 +32,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
|
||||||
|
|
||||||
The SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:
|
The SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:
|
||||||
|
|
||||||
|
- 2020.10.20: ``b47bfc8d63cccf22eb4cd94491d30cc1d571e184be25a5be7f775e7f2daaf6e2``
|
||||||
- 2020.10.19: ``f6c3e2c52f98d115809044b09062219369957caf30228b594033f0543e202c52``
|
- 2020.10.19: ``f6c3e2c52f98d115809044b09062219369957caf30228b594033f0543e202c52``
|
||||||
- 2020.06.23: ``1d07db867c195c864d0ae70664524f2099cc9a46872953293c67c3f239d4f4f5``
|
- 2020.06.23: ``1d07db867c195c864d0ae70664524f2099cc9a46872953293c67c3f239d4f4f5``
|
||||||
- 2020.05.28: ``6b3ea15c78f01060ab12fc01c0bb18480eaf36858c7ba188b200c0fb11aac173``
|
- 2020.05.28: ``6b3ea15c78f01060ab12fc01c0bb18480eaf36858c7ba188b200c0fb11aac173``
|
||||||
|
|
Loading…
Add table
Reference in a new issue