From 68eb5e08b5e50b8433e2c28ed7009d9f8fd520e4 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Fri, 5 Jul 2024 19:56:32 -0400 Subject: [PATCH] Remove outdated Travis CI config --- .travis.yml | 27 --------------------------- .travis/deploy.sh | 15 --------------- 2 files changed, 42 deletions(-) delete mode 100644 .travis.yml delete mode 100755 .travis/deploy.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index aaa8e23..0000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -sudo: required - -language: bash - -services: - - docker - -install: - - docker build -t quay.io/wikiwatershed/taudem:${TRAVIS_COMMIT:0:7} . - -script: - - docker run -d --name taudem quay.io/wikiwatershed/taudem:${TRAVIS_COMMIT:0:7} /opt/taudem/gagewatershed - -before_deploy: - - docker login -e . -p "${QUAY_PASSWORD}" -u "${QUAY_USER}" quay.io - -deploy: - - provider: script - script: ".travis/deploy.sh" - on: - repo: WikiWatershed/docker-taudem - branch: develop - - provider: script - script: ".travis/deploy.sh" - on: - repo: WikiWatershed/docker-taudem - tags: true diff --git a/.travis/deploy.sh b/.travis/deploy.sh deleted file mode 100755 index 0cc67e2..0000000 --- a/.travis/deploy.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -set -e - -if [ -z "${TRAVIS_TAG}" ]; then - QUAY_TAG="${TRAVIS_COMMIT:0:7}" -else - QUAY_TAG="${TRAVIS_TAG}" - - docker tag "quay.io/wikiwatershed/taudem:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/taudem:${QUAY_TAG}" -fi - -docker push "quay.io/wikiwatershed/taudem:${QUAY_TAG}" -docker tag "quay.io/wikiwatershed/taudem:${QUAY_TAG}" "quay.io/wikiwatershed/taudem:latest" -docker push "quay.io/wikiwatershed/taudem:latest"