ci: pull directly in each (relevant) pipeline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0035e4feea
commit
96d9de7e7f
51
.drone.yml
51
.drone.yml
@ -1,23 +1,3 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: pull
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
exclude: [push, pull_request]
|
||||
|
||||
steps:
|
||||
- name: fedora-hugo
|
||||
pull: always
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- uname -r
|
||||
- cat /etc/fedora-release
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -31,12 +11,18 @@ trigger:
|
||||
branch: master
|
||||
event: [push, pull_request]
|
||||
|
||||
depends_on:
|
||||
- pull
|
||||
|
||||
steps:
|
||||
- name: pull fedora-hugo
|
||||
pull: always
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- uname -r
|
||||
- cat /etc/fedora-release
|
||||
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
depends-on:
|
||||
- pull fedora-hugo
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- git submodule init
|
||||
@ -71,8 +57,27 @@ depends_on:
|
||||
- build
|
||||
|
||||
steps:
|
||||
- name: pull fedora-hugo
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- uname -r
|
||||
- cat /etc/fedora-release
|
||||
|
||||
- name: pull tmaier/docker-compose
|
||||
pull: always
|
||||
depends_on: [clone]
|
||||
image: tmaier/docker-compose:latest
|
||||
commands:
|
||||
- uname -r
|
||||
- cat /etc/os-release
|
||||
|
||||
- name: hugo-extended
|
||||
pull: if-not-exists
|
||||
depends-on:
|
||||
- pull fedora-hugo
|
||||
- pull tmaier/docker-compose
|
||||
image: immawanderer/fedora-hugo:linux-amd64
|
||||
commands:
|
||||
- git submodule init
|
||||
|
Loading…
Reference in New Issue
Block a user