Skip to content

Commit

Permalink
Use specific docker image tags to allow drone to cache them and not r…
Browse files Browse the repository at this point in the history
…un into docker pull rate limits

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Jan 8, 2021
1 parent f0c6cfd commit 250f76a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
commands:
- git submodule update --init
- name: checkers
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- ./autotest-checkers.sh
secrets: [ github_token ]
Expand Down Expand Up @@ -224,12 +224,12 @@ steps:
commands:
- git submodule update --init
- name: nodb-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
Expand Down Expand Up @@ -261,12 +261,12 @@ steps:
commands:
- git submodule update --init
- name: sqlite-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
Expand Down Expand Up @@ -298,7 +298,7 @@ steps:
commands:
- git submodule update --init
- name: mariadb10.1-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
Expand Down Expand Up @@ -334,7 +334,7 @@ steps:
commands:
- git submodule update --init
- name: mariadb10.2-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
Expand Down Expand Up @@ -369,7 +369,7 @@ steps:
commands:
- git submodule update --init
- name: mariadb10.3-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
Expand Down Expand Up @@ -405,7 +405,7 @@ steps:
commands:
- git submodule update --init
- name: mariadb10.4-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
Expand Down Expand Up @@ -446,7 +446,7 @@ steps:
commands:
- git submodule update --init
- name: mysql-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
Expand Down Expand Up @@ -483,7 +483,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.3
image: nextcloudci/php7.3:php7.3-4
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -519,7 +519,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.3
image: nextcloudci/php7.3:latest
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -554,7 +554,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -590,7 +590,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -626,7 +626,7 @@ steps:
commands:
- git submodule update --init
- name: postgres-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
Expand Down Expand Up @@ -662,7 +662,7 @@ steps:
commands:
- git submodule update --init
- name: mysqlmb4-php7.4
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
Expand Down Expand Up @@ -703,7 +703,7 @@ steps:
commands:
- git submodule update --init
- name: mysqlmb4-php7.3
image: nextcloudci/php7.3:php7.3-4
image: nextcloudci/php7.3:php7.3-5
commands:
- bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
Expand Down Expand Up @@ -2008,7 +2008,7 @@ steps:
commands:
- git submodule update --init
- name: nodb-codecov
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -2039,7 +2039,7 @@ steps:
commands:
- git submodule update --init
- name: db-codecov
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -2070,7 +2070,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -2103,7 +2103,7 @@ steps:
commands:
- git submodule update --init
- name: object-store
image: nextcloudci/php7.4:latest
image: nextcloudci/php7.4:php7.4-3
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
Expand Down Expand Up @@ -2237,7 +2237,7 @@ trigger:
# commands:
# - git submodule update --init
#- name: memcache-redis-cluster
# image: nextcloudci/php7.3:latest
# image: nextcloudci/php7.3:php7.3-5
# commands:
# - phpenmod xdebug
# - sleep 20
Expand Down

0 comments on commit 250f76a

Please sign in to comment.