From cc8239af8ebbc487dad86ebaf7efc79d714ab2de Mon Sep 17 00:00:00 2001 From: EliseCastle23 Date: Wed, 19 Jul 2023 09:57:36 -0600 Subject: [PATCH] moving travis dictionary job to gh actions --- .github/workflows/dictionary_push.yaml | 13 +++++++++++++ .travis.yml | 26 -------------------------- 2 files changed, 13 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/dictionary_push.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/dictionary_push.yaml b/.github/workflows/dictionary_push.yaml new file mode 100644 index 0000000..663dc66 --- /dev/null +++ b/.github/workflows/dictionary_push.yaml @@ -0,0 +1,13 @@ +name: Build Covid19 Dictionary + +on: push + +jobs: + dictionary: + name: Build and Deploy Dictionary + uses: uc-cdis/.github/.github/workflows/dictionary_push.yaml@master + with: + DIRECTORY: "covid19-datadictionary" + secrets: + DICT_AWS_ACCESS_KEY_ID: ${{ secrets.DICT_AWS_ACCESS_KEY_ID }} + DICT_AWS_SECRET_ACCESS_KEY: ${{ secrets.DICT_AWS_SECRET_ACCESS_KEY }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b7fad7f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: python -python: -- '3.6' -before_script: -- yes | python setup.py install -- git clone https://github.com/uc-cdis/dictionaryutils; cd dictionaryutils -script: -- "./run_tests.sh" -deploy: - provider: s3 - access_key_id: AKIAZRNPHKJIJPXDWO53 - secret_access_key: - secure: Nw5yY6OQvZA5lbSbt2HCfNA7VUbgrzTVo/aK5Erm4BEoPBFVKjWLRKD1MO4gnvdMRxP15rLqX1kUGdFmMFrpd7HLd6CWticrsjtgw1UOczMUnYeDJA6rdBumyz3wImz+BZhYMBKXiRrWa+eAA3ifcFkUpBOuWt6meo2wjdbm+6ai/+mJX6UfPZyj/iRkyKNuhOffUbn9xCvwZ45+b+ZUykNBzGVV0cdRk3SS2yzmPwKK+Q0NnbCRIiAmaaLggHQjW9De2VaUI6yMyjUNNT3qUg+aufORAdik00X2hW/zueHF+g5/K5GvTPGcQT7oL8G5Lpxj/dofRXFO2SmAfeJzfmB5DnJmDxRCF4r1N/ZMt7k0DLczL/0zQkLgFA8ogGB0VMqQtG8Qy5rQRLVu8q2hpkXJkH8ZLV6SqsWX21yShl9v2hh3EDlYIjQYTWymFDPiMh4VadhmGglyj9FCc6cALC5FXmXzGmXJNF1fowny7rZnU/QLtlfVmXdMcDyoNjVikyMUADcOpxSitUx1vJeATG9aCCMReeaCFsrgSZq9Jia26S3fIAPDIx0+dWg5dDurNBGYyOtRbsS2oarLRQMtUqoosGjiQBifS/BnXB9ahUoAXl41OmN2lydOIuuCl4mt3mZKgS7da4Daxdiz6jAzEFnRIQ3Vm12VAGcFyovJzc4= - bucket: dictionary-artifacts - local-dir: artifacts - upload-dir: covid19-datadictionary/$TRAVIS_BRANCH - skip_cleanup: true - on: - repo: uc-cdis/covid19_datadictionary - all_branches: true -after_deploy: -- pip install gen3git -- gen3git release -env: - global: - secure: b8v56eCNoGARhFdTdx7VDw6HWgRyqg2+aPJpW88Yf9g8kg9X6q7n0ux3fFpce79cxBYEpdAc0LC6lLBeSjqOWVhcbVzK7WCNNrOGnl/eKJUCno4enCxTl8lm1b0iJSIAPIt3Tt3ytrIXHLnXoZnn1rccNeyAzhUxOOxn3jcbAMj1099g5gR6uW7RqAc42wvmLyixKuE2MpBLOFaO3AUIV6n5AkGEecCj/YT2OJ+xn+lKCv6CrQzPv/7mGLta4ex4Xt6I+x5FfuwQ9uHxrzgfkAX+zA4kUNZTIdAmnJ2dc7nQPdRmIfC4cBaiZn5LeMuWAsJTfJonSBcqjrc6aX4Ve1jjDah4qPehD3iHsThE4s9hhqtZtAOI3dTs7qbQzhanYbx7Pg/yIM6GK0QCu0otRtuMP44L0jIeYVjFce+V+JQHFdRj7a3c3D0NgdREG04sLsKSzOXIe+V7Xi1cUsVr3Fr5I5/Y3Nrbl1DZdenB+BBAcVZc+jIl6E3cmXbBVZHozGafW/JFjuT8sk0c3QGHGQiqFx+qIh34JHCMCHyNWiwYlTCwp8cGtiFvk2hDxh7EIU43UhcvCklap2CgERk0Q/cU0w+1oDS9LtK/9x1bKmSiSBPylG1PXMNEmvr76ZJd9V0cHMQfcEFc8OETXSVRE+raL9rKd2FFfSaZvqK3HM4=