diff --git a/.travis.yml b/.travis.yml index f78ff69..dd4fc8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ services: env: global: - - MAIN_BRANCH=private-master + - MAIN_BRANCH=v9.2.2 - MQ_LTS_VERSION=9.2.0.1 - TAGCACHE_FILE=tagcache - RELEASE=r1 @@ -40,7 +40,7 @@ go_import_path: "github.com/ibm-messaging/mq-container" jobs: include: - stage: basic-build - if: branch != private-master AND tag IS blank + if: branch != v9.2.2 AND tag IS blank name: "Basic AMD64 build" os: linux env: @@ -50,12 +50,12 @@ jobs: # CD Build - stage: global-tag - if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate* + if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate* name: "Generate Global Tag" os: linux script: bash -e travis-build-scripts/global-tag.sh - stage: build - if: branch = private-master OR tag =~ ^release-candidate* + if: branch = v9.2.2 OR tag =~ ^release-candidate* name: "Multi-Arch AMD64 build" os: linux env: @@ -63,7 +63,7 @@ jobs: - MQ_ARCHIVE_REPOSITORY=$MQ_922_ARCHIVE_REPOSITORY_AMD64 - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_AMD64 script: bash -e travis-build-scripts/run.sh - # - if: branch = private-master OR tag =~ ^release-candidate* + # - if: branch = v9.2.2 OR tag =~ ^release-candidate* # name: "Multi-Arch PPC64LE build" # os: linux-ppc64le # env: @@ -73,7 +73,7 @@ jobs: # - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_PPC64LE # script: bash -e travis-build-scripts/run.sh - stage: build - if: branch = private-master OR tag =~ ^release-candidate* + if: branch = v9.2.2 OR tag =~ ^release-candidate* name: "Multi-Arch S390X build" os: linux-s390 env: @@ -83,7 +83,7 @@ jobs: - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_S390X script: bash -e travis-build-scripts/run.sh - stage: push-manifest - if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate* + if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate* name: "Push Manifest-list to registry" env: - PUSH_MANIFEST_ONLY=true @@ -92,7 +92,7 @@ jobs: # LTS Build - stage: global-tag - if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate* + if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate* name: "Generate Global Tag" os: linux env: @@ -102,7 +102,7 @@ jobs: - RELEASE=$RELEASE_LTS script: bash -e travis-build-scripts/global-tag.sh - stage: build - if: branch = private-master OR tag =~ ^release-candidate* + if: branch = v9.2.2 OR tag =~ ^release-candidate* name: "Multi-Arch AMD64 build" os: linux env: @@ -113,7 +113,7 @@ jobs: - RELEASE=$RELEASE_LTS script: bash -e travis-build-scripts/run.sh - stage: build - if: branch = private-master OR tag =~ ^release-candidate* + if: branch = v9.2.2 OR tag =~ ^release-candidate* name: "Multi-Arch S390X build" os: linux-s390 env: @@ -125,7 +125,7 @@ jobs: - RELEASE=$RELEASE_LTS script: bash -e travis-build-scripts/run.sh - stage: push-manifest - if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate* + if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate* name: "Push Manifest-list to registry" env: - LTS=true