diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-17 21:55:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 21:55:11 +0100 |
commit | 3b6a843eb2942ec4093072f4a6468a57f19de5cb (patch) | |
tree | 81de580baddb004e7cb18f1111f65577f13cdef8 /.cirrus.yml | |
parent | ab7e1a4c400f4bdb47ab49a2a0c8ef9508c68e02 (diff) | |
parent | 9be6f30a42a8737f7e853dc3333b627242a962ab (diff) | |
download | podman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.tar.gz podman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.tar.bz2 podman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.zip |
Merge pull request #4895 from cevich/swagpublish
[CI:DOCS] Post-process swagger yaml and publish
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index abf3d0dd8..fb6dd4cdb 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -660,24 +660,17 @@ upload_snap_task: - 'cd contrib/snapcraft && snapcraft && snapcraft push *.snap --release edge' -test_docs_task: +docs_task: + + # Only run this for PRs on mention, but always run after merge + only_if: $CIRRUS_CHANGE_MESSAGE =~ '.*CI:DOCS.*' || $CIRRUS_BRANCH == $DEST_BRANCH - only_if: >- - $CIRRUS_BRANCH != $DEST_BRANCH && - $CIRRUS_CHANGE_MESSAGE =~ '.*CI:DOCS.*' depends_on: - "gating" - - "vendor" - #- "test_docs" - #- "varlink_api" - #- "build_each_commit" - stub_script: '/bin/true' - -#publish_docs_task: -# -# only_if: $CIRRUS_BRANCH == $DEST_BRANCH && -# $CIRRUS_TAG =~ '^v[0-9]\.[0-9]\.[0-9]$' + script: + - "$SCRIPT_BASE/build_swagger.sh |& ${TIMESTAMP}" + - "$SCRIPT_BASE/upload_release_archive.sh |& ${TIMESTAMP}" # Post message to IRC if everything passed PR testing @@ -706,7 +699,7 @@ success_task: - "test_building_snap" - "upload_snap" - "verify_test_built_images" - - "test_docs" + - "docs" env: CIRRUS_WORKING_DIR: "/usr/src/libpod" |