chore: update pipeline image
This commit is contained in:
parent
4cbe50253a
commit
d7fc6718a9
5 changed files with 297 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
|||
image: administratrix/cicd:latest
|
||||
image: byteb4rb1e/build-python313
|
||||
definitions:
|
||||
caches:
|
||||
venv:
|
||||
|
|
@ -24,20 +24,20 @@ definitions:
|
|||
script:
|
||||
- .venv/bin/python3 -m pipenv run make test-reports/static
|
||||
- step: &test-unit
|
||||
name: test-unit
|
||||
caches:
|
||||
- venv
|
||||
artifacts:
|
||||
- test-reports/*
|
||||
script:
|
||||
- python3 -m venv --system-site-packages .venv
|
||||
- .venv/bin/python3 -m pip install pipenv
|
||||
- .venv/bin/python3 -m pipenv run sh configure
|
||||
- .venv/bin/python3 -m pipenv run make test-reports/unit
|
||||
- step: &test-integration
|
||||
name: test-integration
|
||||
caches:
|
||||
- venv
|
||||
artifacts:
|
||||
- test-reports/*
|
||||
script:
|
||||
- python3 -m venv --system-site-packages .venv
|
||||
- .venv/bin/python3 -m pip install pipenv
|
||||
- .venv/bin/python3 -m pipenv run sh configure
|
||||
- .venv/bin/python3 -m pipenv run make test-reports/integration
|
||||
- step: &doc
|
||||
name: doc
|
||||
|
|
@ -57,6 +57,22 @@ definitions:
|
|||
script:
|
||||
- make clean
|
||||
- .venv/bin/python3 -m pipenv run make dist
|
||||
- step: &publish
|
||||
name: publish
|
||||
caches:
|
||||
- venv
|
||||
artifacts:
|
||||
- dist/*
|
||||
script:
|
||||
- echo "publish"
|
||||
- step: &archive
|
||||
name: archive
|
||||
caches:
|
||||
- venv
|
||||
artifacts:
|
||||
- dist/*
|
||||
script:
|
||||
- echo "archive"
|
||||
- step: &chore
|
||||
name: chore
|
||||
caches:
|
||||
|
|
@ -85,24 +101,103 @@ pipelines:
|
|||
- step: *test-static
|
||||
- step: *dist
|
||||
branches:
|
||||
dev:
|
||||
master:
|
||||
- step: *configure
|
||||
- parallel:
|
||||
steps:
|
||||
- step: *test-static
|
||||
- step: *test-unit
|
||||
- step: *test-integration
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python39
|
||||
name: test-unit-python39
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python310
|
||||
name: test-unit-python310
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python311
|
||||
name: test-unit-python311
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python312
|
||||
name: test-unit-python312
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python313
|
||||
name: test-unit-python313
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python39
|
||||
name: test-integration-python39
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python310
|
||||
name: test-integration-python310
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python311
|
||||
name: test-integration-python311
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python312
|
||||
name: test-integration-python312
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python313
|
||||
name: test-integration-python313
|
||||
- step: *dist
|
||||
- step: *archive
|
||||
- parallel:
|
||||
steps:
|
||||
- step: *doc
|
||||
- step: *dist
|
||||
master:
|
||||
- step: *publish
|
||||
pullrequests:
|
||||
"{master,dev}":
|
||||
- step: *configure
|
||||
- parallel:
|
||||
steps:
|
||||
- step: *test-static
|
||||
- step: *test-unit
|
||||
- step: *test-integration
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python39
|
||||
name: test-unit-python39
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python310
|
||||
name: test-unit-python310
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python311
|
||||
name: test-unit-python311
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python312
|
||||
name: test-unit-python312
|
||||
- step:
|
||||
<<: *test-unit
|
||||
image: byteb4rb1e/build-python313
|
||||
name: test-unit-python313
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python39
|
||||
name: test-integration-python39
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python310
|
||||
name: test-integration-python310
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python311
|
||||
name: test-integration-python311
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python312
|
||||
name: test-integration-python312
|
||||
- step:
|
||||
<<: *test-integration
|
||||
image: byteb4rb1e/build-python313
|
||||
name: test-integration-python313
|
||||
- parallel:
|
||||
steps:
|
||||
- step: *doc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue