Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
version: 2
# This Circle CI trigger example uses Entur open source projects
# https://github.com/entur/netex-java-model
# https://github.com/entur/circleci-toolbox-image (https://github.com/entur/circleci-toolbox-image/blob/master/tools/trigger_build.sh)
version: 1
aliases:
- &post_build
name: Trigger downstream builds
Expand All @@ -10,31 +13,31 @@ aliases:
jobs:
build:
docker:
- image: eu.gcr.io/carbon-1287/circleci-toolbox-image
- image: host-URI/circleci-toolbox-image
auth:
username: _json_key
password: $GCLOUD_SERVICE_KEY
password: $KEY
steps:
- checkout
- run: echo "Running xmllint to validate schema"
- run: xmllint --noout --schema xsd/NeTEx_publication.xsd examples/functions/stopPlace/Netex_01_StopPoints_NoFrills_1.xml
- run: echo "Finished running xmllint"
trigger-dependants:
docker:
- image: eu.gcr.io/carbon-1287/circleci-toolbox-image
- image: host-URI/circleci-toolbox-image
auth:
username: _json_key
password: $GCLOUD_SERVICE_KEY
password: $KEY
steps:
- run: *post_build
workflows:
version: 2
version: 1
install-validate:
jobs:
- build:
context: org-carbon
context: org-host
- trigger-dependants:
context: org-carbon
context: org-host
requires:
- build
filters:
Expand Down