mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-04 22:22:21 +02:00
Compare commits
2 Commits
cd816b8381
...
bb6f4e28f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb6f4e28f3 | ||
|
|
69a55b35ab |
20
Taskfile.yml
20
Taskfile.yml
@ -67,6 +67,26 @@ tasks:
|
|||||||
GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA}
|
GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA}
|
||||||
lint --source . --args "--from=origin/main" stdout
|
lint --source . --args "--from=origin/main" stdout
|
||||||
|
|
||||||
|
pip-compile-sidecar:
|
||||||
|
desc: Regenerate containers/sidecar-requirements.txt with the same Python version as the sidecar image
|
||||||
|
cmds:
|
||||||
|
- >
|
||||||
|
GITHUB_REF= dagger call --no-mod
|
||||||
|
container from --address=debian:trixie-slim
|
||||||
|
with-env-variable --name=DEBIAN_FRONTEND --value=noninteractive
|
||||||
|
with-exec --args="apt-get,update,-qq"
|
||||||
|
with-exec --args="apt-get,install,-y,-qq,python3,python3-venv,python3-pip,gcc,libpq-dev"
|
||||||
|
with-exec --args="pip,install,--quiet,--break-system-packages,pip-tools"
|
||||||
|
with-directory --path=/work --source=containers
|
||||||
|
with-workdir --path=/work
|
||||||
|
with-exec --args="pip-compile,--allow-unsafe,--generate-hashes,--output-file=sidecar-requirements.txt,--strip-extras,sidecar-requirements.in"
|
||||||
|
file --path=/work/sidecar-requirements.txt
|
||||||
|
export --path=containers/sidecar-requirements.txt
|
||||||
|
sources:
|
||||||
|
- containers/sidecar-requirements.in
|
||||||
|
generates:
|
||||||
|
- containers/sidecar-requirements.txt
|
||||||
|
|
||||||
uncommitted:
|
uncommitted:
|
||||||
desc: Check for uncommitted changes
|
desc: Check for uncommitted changes
|
||||||
deps:
|
deps:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user