diff --git a/.travis.yml b/.travis.yml index f247d77b4..5bcb31bf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,14 +13,9 @@ jobs: - stage: Test script: npm run test && npm run test:ct after_success: npm run coverage - - stage: Deploy - if: (fork = false) AND (branch IN (master, master-stable, prod-beta, prod-stable)) - script: npm run travis:build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s - stage: Tag if: (fork = false) AND (branch = master) script: npx semantic-release env: global: - - REPO="git@github.com:RedHatInsights/insights-inventory-frontend-build" - - REPO_DIR="insights-inventory-frontend-build" - BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} diff --git a/.travis/custom_release.sh b/.travis/custom_release.sh deleted file mode 100644 index 297615c09..000000000 --- a/.travis/custom_release.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -e -set -x - -if [ "${TRAVIS_BRANCH}" = "master" ] -then - for env in ci qa - do - echo "PUSHING ${env}-beta" - rm -rf ./dist/.git - .travis/release.sh "${env}-beta" - done - -elif [ "${TRAVIS_BRANCH}" = "master-stable" ] -then - for env in ci qa - do - echo "PUSHING ${env}-stable" - rm -rf ./dist/.git - .travis/release.sh "${env}-stable" - done - -elif [[ "${TRAVIS_BRANCH}" = "prod-beta" || "${TRAVIS_BRANCH}" = "prod-stable" || "${TRAVIS_BRANCH}" = "qa-stable" || "${TRAVIS_BRANCH}" = "qa-beta" || "${TRAVIS_BRANCH}" = "ci-stable" ]]; then - echo "PUSHING ${TRAVIS_BRANCH}" - rm -rf ./build/.git - .travis/release.sh "${TRAVIS_BRANCH}" -fi diff --git a/.travis/deploy_key.enc b/.travis/deploy_key.enc deleted file mode 100644 index 5c6832c77..000000000 Binary files a/.travis/deploy_key.enc and /dev/null differ