diff --git a/.drone.jsonnet b/.drone.jsonnet index 5136f0f..cdd31d9 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -186,9 +186,11 @@ local PipelineBuildContainer(arch='amd64') = { steps: [ { name: 'build', - image: 'python:3.9', + image: 'python:3.9-alpine', commands: [ + 'apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git', 'git fetch -tq', + 'pip install --upgrade --no-cache-dir pip', 'pip install poetry poetry-dynamic-versioning -qq', 'poetry build', ], @@ -262,7 +264,7 @@ local PipelineDocs = { }, steps: [ { - name: 'generate', + name: 'assets', image: 'thegeeklab/alpine-tools', commands: [ 'make doc', diff --git a/.drone.yml b/.drone.yml index ca6e73d..9af1fac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -202,9 +202,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -280,9 +282,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -358,9 +362,11 @@ platform: steps: - name: build - image: python:3.9 + image: python:3.9-alpine commands: + - apk --update --quiet add build-base libffi-dev musl-dev libressl-dev python3-dev cargo git - git fetch -tq + - pip install --upgrade --no-cache-dir pip - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -438,7 +444,7 @@ concurrency: limit: 1 steps: -- name: generate +- name: assets image: thegeeklab/alpine-tools commands: - make doc @@ -608,6 +614,6 @@ depends_on: --- kind: signature -hmac: 7ad723e57aed9e6cb0f90cf5d79b3413b387988e7e0675078b3775bb2e22c966 +hmac: e2af01a304ae27706efb6d23d3fd0c3adfe4e590e627fb9f22bd978c9e742b18 ...