Use specific docker image tags to allow drone to cache them and not run into docker pull rate limits
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
f0c6cfde3a
commit
250f76a59c
44
.drone.yml
44
.drone.yml
|
@ -7,7 +7,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: checkers
|
- name: checkers
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- ./autotest-checkers.sh
|
- ./autotest-checkers.sh
|
||||||
secrets: [ github_token ]
|
secrets: [ github_token ]
|
||||||
|
@ -224,12 +224,12 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: nodb-php7.3
|
- name: nodb-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
|
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
|
||||||
- name: nodb-php7.4
|
- name: nodb-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
|
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
|
||||||
|
@ -261,12 +261,12 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: sqlite-php7.3
|
- name: sqlite-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
|
||||||
- name: sqlite-php7.4
|
- name: sqlite-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
|
||||||
|
@ -298,7 +298,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.1-php7.3
|
- name: mariadb10.1-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
@ -334,7 +334,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.2-php7.3
|
- name: mariadb10.2-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
@ -369,7 +369,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.3-php7.3
|
- name: mariadb10.3-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
@ -405,7 +405,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.4-php7.4
|
- name: mariadb10.4-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
@ -446,7 +446,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mysql-php7.4
|
- name: mysql-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
|
||||||
|
@ -483,7 +483,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.3
|
- name: postgres-php7.3
|
||||||
image: nextcloudci/php7.3:php7.3-4
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
|
@ -519,7 +519,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.3
|
- name: postgres-php7.3
|
||||||
image: nextcloudci/php7.3:latest
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
|
@ -554,7 +554,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.4
|
- name: postgres-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
|
@ -590,7 +590,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.4
|
- name: postgres-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
|
@ -626,7 +626,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.4
|
- name: postgres-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
|
@ -662,7 +662,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mysqlmb4-php7.4
|
- name: mysqlmb4-php7.4
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
|
||||||
|
@ -703,7 +703,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mysqlmb4-php7.3
|
- name: mysqlmb4-php7.3
|
||||||
image: nextcloudci/php7.3:php7.3-4
|
image: nextcloudci/php7.3:php7.3-5
|
||||||
commands:
|
commands:
|
||||||
- bash tests/drone-run-php-tests.sh || exit 0
|
- bash tests/drone-run-php-tests.sh || exit 0
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
|
||||||
|
@ -2008,7 +2008,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: nodb-codecov
|
- name: nodb-codecov
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
environment:
|
environment:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
from_secret: CODECOV_TOKEN
|
from_secret: CODECOV_TOKEN
|
||||||
|
@ -2039,7 +2039,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: db-codecov
|
- name: db-codecov
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
environment:
|
environment:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
from_secret: CODECOV_TOKEN
|
from_secret: CODECOV_TOKEN
|
||||||
|
@ -2070,7 +2070,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: object-store
|
- name: object-store
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
environment:
|
environment:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
from_secret: CODECOV_TOKEN
|
from_secret: CODECOV_TOKEN
|
||||||
|
@ -2103,7 +2103,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: object-store
|
- name: object-store
|
||||||
image: nextcloudci/php7.4:latest
|
image: nextcloudci/php7.4:php7.4-3
|
||||||
environment:
|
environment:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
from_secret: CODECOV_TOKEN
|
from_secret: CODECOV_TOKEN
|
||||||
|
@ -2237,7 +2237,7 @@ trigger:
|
||||||
# commands:
|
# commands:
|
||||||
# - git submodule update --init
|
# - git submodule update --init
|
||||||
#- name: memcache-redis-cluster
|
#- name: memcache-redis-cluster
|
||||||
# image: nextcloudci/php7.3:latest
|
# image: nextcloudci/php7.3:php7.3-5
|
||||||
# commands:
|
# commands:
|
||||||
# - phpenmod xdebug
|
# - phpenmod xdebug
|
||||||
# - sleep 20
|
# - sleep 20
|
||||||
|
|
Loading…
Reference in New Issue