mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
Format docs_wheels.yml with prettier
This commit is contained in:
@@ -1,370 +1,370 @@
|
|||||||
resources:
|
resources:
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
type: git
|
type: git
|
||||||
icon: github
|
icon: github
|
||||||
source:
|
source:
|
||||||
branch: master
|
branch: master
|
||||||
uri: https://github.com/deltachat/deltachat-core-rust.git
|
uri: https://github.com/deltachat/deltachat-core-rust.git
|
||||||
|
|
||||||
- name: deltachat-core-rust-release
|
- name: deltachat-core-rust-release
|
||||||
type: git
|
type: git
|
||||||
icon: github
|
icon: github
|
||||||
source:
|
source:
|
||||||
branch: master
|
branch: master
|
||||||
uri: https://github.com/deltachat/deltachat-core-rust.git
|
uri: https://github.com/deltachat/deltachat-core-rust.git
|
||||||
tag_filter: "v*"
|
tag_filter: "v*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- name: doxygen
|
- name: doxygen
|
||||||
plan:
|
plan:
|
||||||
- get: deltachat-core-rust
|
- get: deltachat-core-rust
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
# Build Doxygen documentation
|
# Build Doxygen documentation
|
||||||
- task: build-doxygen
|
- task: build-doxygen
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
outputs:
|
outputs:
|
||||||
- name: c-docs
|
- name: c-docs
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: alpine
|
repository: alpine
|
||||||
type: registry-image
|
type: registry-image
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apk add --no-cache doxygen git
|
apk add --no-cache doxygen git
|
||||||
cd deltachat-core-rust
|
cd deltachat-core-rust
|
||||||
scripts/run-doxygen.sh
|
scripts/run-doxygen.sh
|
||||||
cd ..
|
cd ..
|
||||||
cp -av deltachat-core-rust/deltachat-ffi/html deltachat-core-rust/deltachat-ffi/xml c-docs/
|
cp -av deltachat-core-rust/deltachat-ffi/html deltachat-core-rust/deltachat-ffi/xml c-docs/
|
||||||
|
|
||||||
- task: upload-c-docs
|
- task: upload-c-docs
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: c-docs
|
- name: c-docs
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: alpine
|
repository: alpine
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apk add --no-cache rsync openssh-client
|
apk add --no-cache rsync openssh-client
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
echo "(("c.delta.chat".private_key))" > ~/.ssh/id_ed25519
|
echo "(("c.delta.chat".private_key))" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
rsync -e "ssh -o StrictHostKeyChecking=no" -avz --delete c-docs/html/ delta@c.delta.chat:build-c/master
|
rsync -e "ssh -o StrictHostKeyChecking=no" -avz --delete c-docs/html/ delta@c.delta.chat:build-c/master
|
||||||
|
|
||||||
- name: python-x86_64
|
- name: python-x86_64
|
||||||
plan:
|
plan:
|
||||||
- get: deltachat-core-rust
|
- get: deltachat-core-rust
|
||||||
- get: deltachat-core-rust-release
|
- get: deltachat-core-rust-release
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
# Build manylinux image with additional dependencies
|
# Build manylinux image with additional dependencies
|
||||||
- task: build-coredeps
|
- task: build-coredeps
|
||||||
privileged: true
|
privileged: true
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
# Building the latest, not tagged coredeps
|
# Building the latest, not tagged coredeps
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: concourse/oci-build-task
|
repository: concourse/oci-build-task
|
||||||
type: registry-image
|
type: registry-image
|
||||||
outputs:
|
outputs:
|
||||||
- name: coredeps-image
|
- name: coredeps-image
|
||||||
path: image
|
path: image
|
||||||
params:
|
params:
|
||||||
CONTEXT: deltachat-core-rust/scripts/coredeps
|
CONTEXT: deltachat-core-rust/scripts/coredeps
|
||||||
UNPACK_ROOTFS: "true"
|
UNPACK_ROOTFS: "true"
|
||||||
BUILD_ARG_BASEIMAGE: quay.io/pypa/manylinux2014_x86_64
|
BUILD_ARG_BASEIMAGE: quay.io/pypa/manylinux2014_x86_64
|
||||||
platform: linux
|
platform: linux
|
||||||
caches:
|
caches:
|
||||||
- path: cache
|
- path: cache
|
||||||
run:
|
run:
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
# Use built image to build python wheels
|
# Use built image to build python wheels
|
||||||
- task: build-wheels
|
- task: build-wheels
|
||||||
image: coredeps-image
|
image: coredeps-image
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: deltachat-core-rust-release
|
- name: deltachat-core-rust-release
|
||||||
path: .
|
path: .
|
||||||
outputs:
|
outputs:
|
||||||
- name: py-docs
|
- name: py-docs
|
||||||
path: ./python/doc/_build/
|
path: ./python/doc/_build/
|
||||||
# Binary wheels
|
# Binary wheels
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
path: ./python/.docker-tox/wheelhouse/
|
path: ./python/.docker-tox/wheelhouse/
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: bash
|
path: bash
|
||||||
args:
|
args:
|
||||||
- -exc
|
- -exc
|
||||||
- |
|
- |
|
||||||
scripts/run_all.sh
|
scripts/run_all.sh
|
||||||
|
|
||||||
# Upload python docs to py.delta.chat
|
# Upload python docs to py.delta.chat
|
||||||
- task: upload-py-docs
|
- task: upload-py-docs
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: py-docs
|
- name: py-docs
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: alpine
|
repository: alpine
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apk add --no-cache rsync openssh-client
|
apk add --no-cache rsync openssh-client
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
echo "(("c.delta.chat".private_key))" > ~/.ssh/id_ed25519
|
echo "(("c.delta.chat".private_key))" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
rsync -e "ssh -o StrictHostKeyChecking=no" -avz --delete py-docs/html/ delta@py.delta.chat:build/master
|
rsync -e "ssh -o StrictHostKeyChecking=no" -avz --delete py-docs/html/ delta@py.delta.chat:build/master
|
||||||
|
|
||||||
# Upload x86_64 wheels and source packages
|
# Upload x86_64 wheels and source packages
|
||||||
- task: upload-wheels
|
- task: upload-wheels
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: debian
|
repository: debian
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
||||||
pip3 install devpi
|
pip3 install devpi
|
||||||
devpi use https://m.devpi.net/dc/master
|
devpi use https://m.devpi.net/dc/master
|
||||||
devpi login ((devpi.login)) --password ((devpi.password))
|
devpi login ((devpi.login)) --password ((devpi.password))
|
||||||
devpi upload py-wheels/*manylinux201*
|
devpi upload py-wheels/*manylinux201*
|
||||||
|
|
||||||
- name: python-aarch64
|
- name: python-aarch64
|
||||||
plan:
|
plan:
|
||||||
- get: deltachat-core-rust
|
- get: deltachat-core-rust
|
||||||
- get: deltachat-core-rust-release
|
- get: deltachat-core-rust-release
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
# Build manylinux image with additional dependencies
|
# Build manylinux image with additional dependencies
|
||||||
- task: build-coredeps
|
- task: build-coredeps
|
||||||
privileged: true
|
privileged: true
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
# Building the latest, not tagged coredeps
|
# Building the latest, not tagged coredeps
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: concourse/oci-build-task
|
repository: concourse/oci-build-task
|
||||||
type: registry-image
|
type: registry-image
|
||||||
outputs:
|
outputs:
|
||||||
- name: coredeps-image
|
- name: coredeps-image
|
||||||
path: image
|
path: image
|
||||||
params:
|
params:
|
||||||
CONTEXT: deltachat-core-rust/scripts/coredeps
|
CONTEXT: deltachat-core-rust/scripts/coredeps
|
||||||
UNPACK_ROOTFS: "true"
|
UNPACK_ROOTFS: "true"
|
||||||
BUILD_ARG_BASEIMAGE: quay.io/pypa/manylinux2014_aarch64
|
BUILD_ARG_BASEIMAGE: quay.io/pypa/manylinux2014_aarch64
|
||||||
platform: linux
|
platform: linux
|
||||||
caches:
|
caches:
|
||||||
- path: cache
|
- path: cache
|
||||||
run:
|
run:
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
# Use built image to build python wheels
|
# Use built image to build python wheels
|
||||||
- task: build-wheels
|
- task: build-wheels
|
||||||
image: coredeps-image
|
image: coredeps-image
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: deltachat-core-rust-release
|
- name: deltachat-core-rust-release
|
||||||
path: .
|
path: .
|
||||||
outputs:
|
outputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
path: ./python/.docker-tox/wheelhouse/
|
path: ./python/.docker-tox/wheelhouse/
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: bash
|
path: bash
|
||||||
args:
|
args:
|
||||||
- -exc
|
- -exc
|
||||||
- |
|
- |
|
||||||
scripts/run_all.sh
|
scripts/run_all.sh
|
||||||
|
|
||||||
# Upload aarch64 wheels
|
# Upload aarch64 wheels
|
||||||
- task: upload-wheels
|
- task: upload-wheels
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: debian
|
repository: debian
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
||||||
pip3 install devpi
|
pip3 install devpi
|
||||||
devpi use https://m.devpi.net/dc/master
|
devpi use https://m.devpi.net/dc/master
|
||||||
devpi login ((devpi.login)) --password ((devpi.password))
|
devpi login ((devpi.login)) --password ((devpi.password))
|
||||||
devpi upload py-wheels/*manylinux201*
|
devpi upload py-wheels/*manylinux201*
|
||||||
|
|
||||||
- name: python-musl-x86_64
|
- name: python-musl-x86_64
|
||||||
plan:
|
plan:
|
||||||
- get: deltachat-core-rust
|
- get: deltachat-core-rust
|
||||||
- get: deltachat-core-rust-release
|
- get: deltachat-core-rust-release
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
# Build manylinux image with additional dependencies
|
# Build manylinux image with additional dependencies
|
||||||
- task: build-coredeps
|
- task: build-coredeps
|
||||||
privileged: true
|
privileged: true
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
# Building the latest, not tagged coredeps
|
# Building the latest, not tagged coredeps
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: concourse/oci-build-task
|
repository: concourse/oci-build-task
|
||||||
type: registry-image
|
type: registry-image
|
||||||
outputs:
|
outputs:
|
||||||
- name: coredeps-image
|
- name: coredeps-image
|
||||||
path: image
|
path: image
|
||||||
params:
|
params:
|
||||||
CONTEXT: deltachat-core-rust/scripts/coredeps
|
CONTEXT: deltachat-core-rust/scripts/coredeps
|
||||||
UNPACK_ROOTFS: "true"
|
UNPACK_ROOTFS: "true"
|
||||||
BUILD_ARG_BASEIMAGE: quay.io/pypa/musllinux_1_1_x86_64
|
BUILD_ARG_BASEIMAGE: quay.io/pypa/musllinux_1_1_x86_64
|
||||||
platform: linux
|
platform: linux
|
||||||
caches:
|
caches:
|
||||||
- path: cache
|
- path: cache
|
||||||
run:
|
run:
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
# Use built image to build python wheels
|
# Use built image to build python wheels
|
||||||
- task: build-wheels
|
- task: build-wheels
|
||||||
image: coredeps-image
|
image: coredeps-image
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: deltachat-core-rust-release
|
- name: deltachat-core-rust-release
|
||||||
path: .
|
path: .
|
||||||
outputs:
|
outputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
path: ./python/.docker-tox/wheelhouse/
|
path: ./python/.docker-tox/wheelhouse/
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: bash
|
path: bash
|
||||||
args:
|
args:
|
||||||
- -exc
|
- -exc
|
||||||
- |
|
- |
|
||||||
scripts/run_all.sh
|
scripts/run_all.sh
|
||||||
|
|
||||||
# Upload musl x86_64 wheels
|
# Upload musl x86_64 wheels
|
||||||
- task: upload-wheels
|
- task: upload-wheels
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: debian
|
repository: debian
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
||||||
pip3 install devpi
|
pip3 install devpi
|
||||||
devpi use https://m.devpi.net/dc/master
|
devpi use https://m.devpi.net/dc/master
|
||||||
devpi login ((devpi.login)) --password ((devpi.password))
|
devpi login ((devpi.login)) --password ((devpi.password))
|
||||||
devpi upload py-wheels/*musllinux_1_1_x86_64*
|
devpi upload py-wheels/*musllinux_1_1_x86_64*
|
||||||
|
|
||||||
- name: python-musl-aarch64
|
- name: python-musl-aarch64
|
||||||
plan:
|
plan:
|
||||||
- get: deltachat-core-rust
|
- get: deltachat-core-rust
|
||||||
- get: deltachat-core-rust-release
|
- get: deltachat-core-rust-release
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
# Build manylinux image with additional dependencies
|
# Build manylinux image with additional dependencies
|
||||||
- task: build-coredeps
|
- task: build-coredeps
|
||||||
privileged: true
|
privileged: true
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
# Building the latest, not tagged coredeps
|
# Building the latest, not tagged coredeps
|
||||||
- name: deltachat-core-rust
|
- name: deltachat-core-rust
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: concourse/oci-build-task
|
repository: concourse/oci-build-task
|
||||||
type: registry-image
|
type: registry-image
|
||||||
outputs:
|
outputs:
|
||||||
- name: coredeps-image
|
- name: coredeps-image
|
||||||
path: image
|
path: image
|
||||||
params:
|
params:
|
||||||
CONTEXT: deltachat-core-rust/scripts/coredeps
|
CONTEXT: deltachat-core-rust/scripts/coredeps
|
||||||
UNPACK_ROOTFS: "true"
|
UNPACK_ROOTFS: "true"
|
||||||
BUILD_ARG_BASEIMAGE: quay.io/pypa/musllinux_1_1_aarch64
|
BUILD_ARG_BASEIMAGE: quay.io/pypa/musllinux_1_1_aarch64
|
||||||
platform: linux
|
platform: linux
|
||||||
caches:
|
caches:
|
||||||
- path: cache
|
- path: cache
|
||||||
run:
|
run:
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
# Use built image to build python wheels
|
# Use built image to build python wheels
|
||||||
- task: build-wheels
|
- task: build-wheels
|
||||||
image: coredeps-image
|
image: coredeps-image
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: deltachat-core-rust-release
|
- name: deltachat-core-rust-release
|
||||||
path: .
|
path: .
|
||||||
outputs:
|
outputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
path: ./python/.docker-tox/wheelhouse/
|
path: ./python/.docker-tox/wheelhouse/
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: bash
|
path: bash
|
||||||
args:
|
args:
|
||||||
- -exc
|
- -exc
|
||||||
- |
|
- |
|
||||||
scripts/run_all.sh
|
scripts/run_all.sh
|
||||||
|
|
||||||
# Upload musl aarch64 wheels
|
# Upload musl aarch64 wheels
|
||||||
- task: upload-wheels
|
- task: upload-wheels
|
||||||
config:
|
config:
|
||||||
inputs:
|
inputs:
|
||||||
- name: py-wheels
|
- name: py-wheels
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: debian
|
repository: debian
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
apt-get install -y --no-install-recommends python3-pip python3-setuptools
|
||||||
pip3 install devpi
|
pip3 install devpi
|
||||||
devpi use https://m.devpi.net/dc/master
|
devpi use https://m.devpi.net/dc/master
|
||||||
devpi login ((devpi.login)) --password ((devpi.password))
|
devpi login ((devpi.login)) --password ((devpi.password))
|
||||||
devpi upload py-wheels/*musllinux_1_1_aarch64*
|
devpi upload py-wheels/*musllinux_1_1_aarch64*
|
||||||
|
|||||||
Reference in New Issue
Block a user