Skip to content
Permalink
Browse files

Automatically deploy config when tests run through

  • Loading branch information...
FlorianSW committed Jun 9, 2019
1 parent a7e2a4f commit 1c85b170a5c3d0ac514173c1a5ace1392f9732d9
Showing with 20 additions and 2 deletions.
  1. +20 −2 ci/pipeline.yml
@@ -181,6 +181,25 @@ jobs:
plan:
- get: mediawiki-config
trigger: true
- task: test config
config:
platform: linux
image_resource:
type: docker-image
source:
repository: composer
tag: latest
inputs:
- name: mediawiki-config
run:
path: bash
args:
- -ec
- |
cd mediawiki-config
composer update --ansi --no-progress --prefer-dist --profile -v
composer test
- put: staging-server
params:
interpreter: /bin/bash
@@ -223,8 +242,7 @@ jobs:
passed: [update-composer]
- get: mediawiki-config
passed: [update-mediawiki-config]
- get: update-tools
passed: [update-composer]
trigger: true
- put: staging-server
params:
interpreter: /bin/bash

0 comments on commit 1c85b17

Please sign in to comment.
You can’t perform that action at this time.