Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bcrypt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
bcrypt
Commits
b63cf6974384
Commit
b63cf6974384
authored
3 years ago
by
Paul Kehrer
Browse files
Options
Downloads
Patches
Plain Diff
goodbye qemu (#285)
* goodbye qemu * poke
parent
7fa922b8dd13
Loading
Loading
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/ci.yml
+0
-21
0 additions, 21 deletions
.github/workflows/ci.yml
.github/workflows/wheel-builder.yml
+0
-42
0 additions, 42 deletions
.github/workflows/wheel-builder.yml
with
0 additions
and
63 deletions
.github/workflows/ci.yml
+
0
−
21
View file @
b63cf697
...
...
@@ -90,24 +90,3 @@
-
run
:
'
tox'
env
:
TOXENV
:
${{ matrix.IMAGE.TOXENV }}
manylinux-arm64
:
name
:
"
${{
matrix.PYTHON.TOXENV
}}
on
manylinux2014-aarch64"
runs-on
:
ubuntu-20.04
strategy
:
matrix
:
PYTHON
:
-
{
VERSION
:
"
cp36-cp36m"
,
TOXENV
:
'
py36'
}
steps
:
-
uses
:
actions/checkout@v2.4.0
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v1.2.0
with
:
platforms
:
arm64
-
uses
:
docker://quay.io/pypa/manylinux2014_aarch64
with
:
args
:
|
bash -c "set -xe;
/opt/python/${{ matrix.PYTHON.VERSION }}/bin/python -m venv .venv;
.venv/bin/pip install -U tox;
.venv/bin/tox -e ${{ matrix.PYTHON.TOXENV }};"
This diff is collapsed.
Click to expand it.
.github/workflows/wheel-builder.yml
+
0
−
42
View file @
b63cf697
...
...
@@ -127,45 +127,3 @@
with
:
name
:
"
bcrypt-${{
github.event.inputs.version
}}-${{
matrix.WINDOWS
}}-${{
matrix.PYTHON.ABI_VERSION
}}"
path
:
bcrypt-wheelhouse\
manylinux-arm64
:
name
:
"
${{
matrix.PYTHON.ABI_VERSION
}}
manylinux2014-aarch64"
runs-on
:
ubuntu-latest
strategy
:
matrix
:
PYTHON
:
-
{
VERSION
:
"
cp36-cp36m"
,
ABI_VERSION
:
'
cp36'
}
steps
:
-
uses
:
actions/checkout@v2.4.0
with
:
# The tag to build or the tag received by the tag event
ref
:
${{ github.event.inputs.version || github.ref }}
persist-credentials
:
false
-
run
:
|
docker run --rm --privileged hypriot/qemu-register
-
uses
:
docker://ghcr.io/pyca/cryptography-manylinux2014_aarch64:latest
# The weird pip cache nonsense below is due to docker ownership issues. We want
# a cache because otherwise we end up building cffi twice.
with
:
args
:
|
bash -c "set -xe;
mkdir -p /github/home/.cache/pip;
chown -R $(whoami) /github/home/.cache;
/opt/python/${{ matrix.PYTHON.VERSION }}/bin/python -m venv .venv;
.venv/bin/pip install -U pip wheel cffi six;
.venv/bin/python setup.py sdist;
tar zxvf dist/bcrypt*.tar.gz;
mkdir tmpwheelhouse;
pushd bcrypt*;
../.venv/bin/python setup.py bdist_wheel --py-limited-api=${{ matrix.PYTHON.ABI_VERSION }};
mv dist/bcrypt*.whl ../tmpwheelhouse;
popd;
auditwheel repair tmpwheelhouse/bcrypt*.whl -w wheelhouse/;
.venv/bin/pip install bcrypt --no-index -f wheelhouse/;
.venv/bin/python -c \"import bcrypt; password = b'super secret password';hashed = bcrypt.hashpw(password, bcrypt.gensalt());bcrypt.checkpw(password, hashed)\";"
-
run
:
mkdir bcrypt-wheelhouse
-
run
:
sudo mv wheelhouse/bcrypt*.whl bcrypt-wheelhouse/
-
uses
:
actions/upload-artifact@v1
with
:
name
:
"
bcrypt-${{
github.event.inputs.version
}}-manylinux2014-aarch64-${{
matrix.PYTHON.ABI_VERSION
}}"
path
:
bcrypt-wheelhouse/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment