-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump to pypy 7.3.14 and alpine 19 * Ignore python2.7 docker container for now * Use 7.3.14 for pypy * Verify releases
- Loading branch information
1 parent
72bd8b6
commit df5f7d2
Showing
6 changed files
with
50 additions
and
22 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import subprocess | ||
import sys | ||
import hashlib | ||
|
||
BUF_SIZE = 1048576 # lets read stuff in 64kb chunks! | ||
|
||
|
||
def sign(filename: str): | ||
subprocess.run(["gpg", "--quiet", "--batch", "--yes", "--detach-sign", filename]) | ||
sha256sum = hashlib.sha256() | ||
with open(sys.argv[1], 'rb') as f: | ||
while True: | ||
data = f.read(BUF_SIZE) | ||
if not data: | ||
break | ||
sha256sum.update(data) | ||
with open(f"{filename}.sha256sum", "w") as f: | ||
f.write(f"{sha256sum.hexdigest()} {filename}") | ||
|
||
|
||
if __name__ == "__main__": | ||
sign(sys.argv[1]) |
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
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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
description: 'Comma seperated base version: 2.7,3.9,3.10' | ||
required: true | ||
pypy_version: | ||
description: 'PyPy version to build: 7.3.13' | ||
description: 'PyPy version to download: 7.3.13' | ||
required: true | ||
|
||
jobs: | ||
|
@@ -19,7 +19,7 @@ jobs: | |
TAG: "${{ github.event.inputs.pypy_version }}-${{ github.event.inputs.pypy_base }}" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Release Info | ||
run: | | ||
echo "::notice title=PYPY_BASE::${{ github.event.inputs.pypy_base }}" | ||
|
@@ -35,9 +35,11 @@ jobs: | |
run: | | ||
ls -la *.tar.bz2* | ||
sha256sum *.tar.bz2 > checksums.sha256 | ||
gpg --no-tty --keyserver hkps://keys.openpgp.org --auto-key-locate keyserver --locate-keys [email protected] | ||
find . -iname "*.tar.bz2" -type f -exec bash -c "echo verifying {}; gpg --verify {}.sig {} " \; | ||
- name: Create tag | ||
uses: actions/github-script@v6.4.1 | ||
uses: actions/github-script@v7.0.1 | ||
with: | ||
script: | | ||
github.rest.git.createRef({ | ||
|
@@ -50,7 +52,7 @@ jobs: | |
- name: Release | ||
uses: crazy-max/ghaction-github-release@v2 | ||
with: | ||
draft: trues | ||
draft: true | ||
tag_name: ${{ env.TAG }} | ||
files: | | ||
*.tar.bz2 | ||
|
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