From 33802a8098e8a47ebb42805a42dfc2d2eee24e4e Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 12:21:35 -0400 Subject: [PATCH 1/4] Moving dictionary CI from Travis to GitHub Actions --- .github/dictionary_push.yaml | 13 +++++++++++++ .travis.yml | 20 -------------------- 2 files changed, 13 insertions(+), 20 deletions(-) create mode 100644 .github/dictionary_push.yaml delete mode 100644 .travis.yml diff --git a/.github/dictionary_push.yaml b/.github/dictionary_push.yaml new file mode 100644 index 0000000..0623119 --- /dev/null +++ b/.github/dictionary_push.yaml @@ -0,0 +1,13 @@ +name: Build Microbiome dictionary + +on: push + +jobs: + dictionary: + name: Build and Deploy Dictionary + uses: uc-cdis/.github/.github/workflows/dictionary_push.yaml + with: + DIRECTORY: "microbiome_datadictionary" + secrets: + AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cef4d32..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +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: AKIAZRNPHKJIPRRTEJUI - secret_access_key: - secure: hdx7ZlqDr/6z24fU+NOXOJ6K8pSweCO9owqy2SoZnlGXw+97DQFQYZIsuNrLXVft8oi+o/r2dcBANG0yFry3Oy3BlTNm2HhZEXSxgDAiotMw59DoKHp3e8WZBZGyy7fuoIFLuzGSMcz7CWeCg/+9YmJvtlJS2zCH+aAM8IKbA73ZZ8BnOeEbl/UemJ76cyFwanz8LIQuP3nyrbTkLgzbzyZgdZ/T5M4qcI1utqZR+4c7yUt2sJGn6VHLJrtpB1oqA6oLMjiG2P/d/iw5TcqgXSfYB2hOGwH3Kcppt9OJ4zoHXRlg7IMu2BE/unGnZsdHGIvKqmf6s0cRXmMi9s7H3jc/mrvBj2Z3yieb0VkIODshil79wx91s5VDd5kjgx/iCyzVuXT/C/jAfcqSHsiUoYGLbjplkrKxzUq+hoAPAV6epcJdExkpLRjhWlADZPOJQJNs7rjnYIZ/Cp5ju2AwzmUgrc6wZj9hDXP9okTsPf10uPC3YLBnkzW1ZMnNgcqtDZxEAz1wNdD7xbxh28+MXdPcwp4HlqqBZaDZr0UXs+kyeVgyx06p/HSKigMuidDtuvaE31mRRCmVvGeDuq4UgxmwBjHUbu1iTX2EYhqBRV0sxJ21up8qVloAwbE4zxCR8N3CBFf2IJ+AGUE8zYaYCAfFCKYro3ctg6K685hdezc= - bucket: dictionary-artifacts - local-dir: artifacts - upload-dir: microbiome_datadictionary/$TRAVIS_BRANCH - skip_cleanup: true - on: - repo: uc-cdis/Microbiome_datadictionary - all_branches: true From 259f17920cce32a648e64f473256bf5bc1168157 Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:16:25 -0400 Subject: [PATCH 2/4] Adding version tag, updating secret name --- .github/dictionary_push.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/dictionary_push.yaml b/.github/dictionary_push.yaml index 0623119..a917e5a 100644 --- a/.github/dictionary_push.yaml +++ b/.github/dictionary_push.yaml @@ -5,9 +5,9 @@ on: push jobs: dictionary: name: Build and Deploy Dictionary - uses: uc-cdis/.github/.github/workflows/dictionary_push.yaml + uses: uc-cdis/.github/.github/workflows/dictionary_push.yaml@master with: DIRECTORY: "microbiome_datadictionary" secrets: - AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} + AWS_ACCESS_KEY_ID: ${{ secrets.DICT_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.DICT_AWS_SECRET_ACCESS_KEY }} From e7448d1126089ef30d140dd850dfe5f7862dbe19 Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:23:54 -0400 Subject: [PATCH 3/4] Moving dictionary action to .github/workflows --- .github/{dictionary_push.yaml => workflows/dictioanry_push.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{dictionary_push.yaml => workflows/dictioanry_push.yaml} (100%) diff --git a/.github/dictionary_push.yaml b/.github/workflows/dictioanry_push.yaml similarity index 100% rename from .github/dictionary_push.yaml rename to .github/workflows/dictioanry_push.yaml From 4158238161cc9814bdf289a369666828cc97b6ec Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:26:04 -0400 Subject: [PATCH 4/4] Fixing typo in the name of the dictionary file --- .github/workflows/{dictioanry_push.yaml => dictionary_push.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{dictioanry_push.yaml => dictionary_push.yaml} (100%) diff --git a/.github/workflows/dictioanry_push.yaml b/.github/workflows/dictionary_push.yaml similarity index 100% rename from .github/workflows/dictioanry_push.yaml rename to .github/workflows/dictionary_push.yaml