Skip to content

Commit e813de5

Browse files
committed
update .woodpecker.yaml to match master
1 parent e101397 commit e813de5

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

.woodpecker.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
variables:
2+
# Developers are not expected to actually use this CI image locally, however,
3+
# using this image avoid downloading a bunch of PyPI packages for each CI run.
4+
- &ci_image 'cont-reg.bjodah.se:443/bjodah/triceratops-6:32'
5+
16
when:
2-
- event: [pull_request, tag, cron, push]
7+
- event: [push]
38

49
steps:
510

611
- name: restore-cache
7-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
12+
image: *ci_image
813
commands:
914
- curl ftp://chempy:$${ARTIFACTS_PASS}@$${FTP_SERVER}/cache/cache-ci.tar | tar x
1015
secrets: [ ARTIFACTS_PASS, FTP_SERVER ]
@@ -13,7 +18,7 @@ steps:
1318
repo: bjodah/chempy
1419

1520
- name: install
16-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
21+
image: *ci_image
1722
environment:
1823
- CPLUS_INCLUDE_PATH=/opt-3/boost-1.87.0/include
1924
- SUNDBASE=/opt-3/sundials-6.7.0-release
@@ -25,7 +30,7 @@ steps:
2530
- .ci/ci-01-install.sh
2631

2732
- name: test-suite
28-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
33+
image: *ci_image
2934
environment:
3035
- CPLUS_INCLUDE_PATH=/opt-3/boost-1.87.0/include
3136
- SUNDBASE=/opt-3/sundials-6.7.0-release
@@ -51,7 +56,7 @@ steps:
5156
- install
5257

5358
- name: render-notebooks
54-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
59+
image: *ci_image
5560
environment:
5661
- CHEMPY_DEPRECATION_FILTER=ignore
5762
- SUNDBASE=/opt-3/sundials-6.7.0-release
@@ -69,7 +74,7 @@ steps:
6974
- install
7075

7176
- name: compile-documentation
72-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
77+
image: *ci_image
7378
environment:
7479
- CHEMPY_DEPRECATION_FILTER=ignore
7580
- SUNDBASE=/opt-3/sundials-6.7.0-release
@@ -86,7 +91,7 @@ steps:
8691
- render-notebooks
8792

8893
- name: rebuild-cache
89-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
94+
image: *ci_image
9095
commands:
9196
- find ./cache-ci/ -type f -mtime +90 -exec rm {} \;
9297
- tar cf cache-ci.tar ./cache-ci/
@@ -99,7 +104,7 @@ steps:
99104
- compile-documentation
100105

101106
- name: deploy-public-html
102-
image: cont-reg.bjodah.se:443/bjodah/triceratops-4:16
107+
image: *ci_image
103108
commands:
104109
- tar czf chempy-${CI_COMMIT_BRANCH}.tar.gz ./deploy/public_html
105110
- curl -T chempy-${CI_COMMIT_BRANCH}.tar.gz ftp://chempy:$${ARTIFACTS_PASS}@$${FTP_SERVER}/public_html/

0 commit comments

Comments
 (0)