From f1c11281dc67e5c61a5d0c66cfdb6d6aca9c1eba Mon Sep 17 00:00:00 2001 From: Tyson Gern Date: Fri, 21 Jul 2017 09:26:37 -0600 Subject: [PATCH 1/3] Initial commit --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..4fa332f5c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +build +.gradle +.idea +*.iml +ci/variables.yml From 47e8de12528059a7b95dbd896e562be22b410d9e Mon Sep 17 00:00:00 2001 From: Mike Gehard Date: Wed, 3 Jan 2018 16:17:48 -0700 Subject: [PATCH 2/3] Add deployment pipeline --- .travis.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..4cbb91300 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,39 @@ +dist: trusty +sudo: false +notifications: + email: false +env: + - RELEASE_TAG="release-$TRAVIS_BUILD_NUMBER" +if: tag IS blank + + +jobs: + include: + - stage: build and publish + language: java + jdk: oraclejdk8 + install: skip + script: ./gradlew clean build + before_deploy: + - git config --local user.name "Travis CI" + - git config --local user.email "travis@example.com" + - git tag -f $RELEASE_TAG + deploy: + provider: releases + api_key: $GITHUB_OAUTH_TOKEN + file: "build/libs/pal-tracker.jar" + skip_cleanup: true + - stage: deploy to review + language: bash + script: + - echo "Downloading $RELEASE_TAG" + - wget -P build/libs https://github.com/$GITHUB_USERNAME/pal-tracker/releases/download/$RELEASE_TAG/pal-tracker.jar + before_deploy: + - echo "Deploying $RELEASE_TAG to review" + deploy: + provider: cloudfoundry + api: $CF_API_URL + username: $CF_USERNAME + password: $CF_PASSWORD + organization: $CF_ORG + space: review From d6cb337133aa440744600c3080e52770a32a0f2a Mon Sep 17 00:00:00 2001 From: Pallavi <8556935+pallavi21lal@users.noreply.github.com> Date: Sat, 27 Oct 2018 05:23:55 -0700 Subject: [PATCH 3/3] Delete .travis.yml --- .travis.yml | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4cbb91300..000000000 --- a/.travis.yml +++ /dev/null @@ -1,39 +0,0 @@ -dist: trusty -sudo: false -notifications: - email: false -env: - - RELEASE_TAG="release-$TRAVIS_BUILD_NUMBER" -if: tag IS blank - - -jobs: - include: - - stage: build and publish - language: java - jdk: oraclejdk8 - install: skip - script: ./gradlew clean build - before_deploy: - - git config --local user.name "Travis CI" - - git config --local user.email "travis@example.com" - - git tag -f $RELEASE_TAG - deploy: - provider: releases - api_key: $GITHUB_OAUTH_TOKEN - file: "build/libs/pal-tracker.jar" - skip_cleanup: true - - stage: deploy to review - language: bash - script: - - echo "Downloading $RELEASE_TAG" - - wget -P build/libs https://github.com/$GITHUB_USERNAME/pal-tracker/releases/download/$RELEASE_TAG/pal-tracker.jar - before_deploy: - - echo "Deploying $RELEASE_TAG to review" - deploy: - provider: cloudfoundry - api: $CF_API_URL - username: $CF_USERNAME - password: $CF_PASSWORD - organization: $CF_ORG - space: review