ci: pull directly in each (relevant) pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-22 16:59:09 +01:00
parent 0035e4feea
commit 96d9de7e7f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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 kind: pipeline
type: docker type: docker
@ -31,12 +11,18 @@ trigger:
branch: master branch: master
event: [push, pull_request] event: [push, pull_request]
depends_on:
- pull
steps: steps:
- name: pull fedora-hugo
pull: always
image: immawanderer/fedora-hugo:linux-amd64
commands:
- uname -r
- cat /etc/fedora-release
- name: hugo-extended - name: hugo-extended
pull: if-not-exists pull: if-not-exists
depends-on:
- pull fedora-hugo
image: immawanderer/fedora-hugo:linux-amd64 image: immawanderer/fedora-hugo:linux-amd64
commands: commands:
- git submodule init - git submodule init
@ -71,8 +57,27 @@ depends_on:
- build - build
steps: 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 - name: hugo-extended
pull: if-not-exists pull: if-not-exists
depends-on:
- pull fedora-hugo
- pull tmaier/docker-compose
image: immawanderer/fedora-hugo:linux-amd64 image: immawanderer/fedora-hugo:linux-amd64
commands: commands:
- git submodule init - git submodule init