mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
This is a follow-up to cbe1671104
I changed `apt-get` arguments for x86_64 glibc builds,
but forgot to change it for x86_64 musl, aarch64 glibc and aarch64 musl.
Because of this, `upload-wheels` task failed with a message:
```
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.11-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
```
Concourse CI pipeline
docs_wheels.yml is a pipeline for Concourse CI
that builds C documentation, Python documentation, Python wheels for x86_64
and aarch64 and Python source packages, and uploads them.
To setup the pipeline run
fly -t <your-target> set-pipeline -c docs_wheels.yml -p docs_wheels -l secret.yml
where secret.yml contains the following secrets:
c.delta.chat:
private_key: |
-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----
devpi:
login: dc
password: ...
Secrets can be read from the password manager:
fly -t b1 set-pipeline -c docs_wheels.yml -p docs_wheels -l <(pass show delta/b1.delta.chat/secret.yml)