From 50eeb6e29a8908d444d16a6ead2daced5feb0836 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 | 23 ----------------------- 2 files changed, 13 insertions(+), 23 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..afda0da --- /dev/null +++ b/.github/dictionary_push.yaml @@ -0,0 +1,13 @@ +name: Build Charlie dictionary + +on: push + +jobs: + dictionary: + name: Build and Deploy Dictionary + uses: uc-cdis/.github/.github/workflows/dictionary_push.yaml + with: + DIRECTORY: "charlie-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 be01f58..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +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: AKIAZRNPHKJIAGBSGXN3 - bucket: dictionary-artifacts - local-dir: artifacts - upload-dir: charlie-datadictionary/$TRAVIS_BRANCH - skip_cleanup: true - on: - repo: uc-cdis/Charlie_datadictionary - all_branches: true - secret_access_key: - secure: r3L/LTcbpombdWTYVxONtJIeOeIemkYYug49GDd+3BSZFE2y7u0Ng0D5Q50+J9jRCeQzn6pwTWZbtwp/gCSO1APZzsIAUtz5cEsyArm6UoiWhoD6Z3bZQcFHboWSIXi/pB126pwerpln8ZyN2ifhccgyj58yTwelAhnq/L17fG2JGGzYXr8cRWDvUDXFDr9tEudIoBsLzEHGKhASjSOf7PEgV+uX2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5gp+Gnv32aY2ZJoldqvdRSMODKBlqUZawIA763kgRdFa7HPd48LJeiU2l05G1rWrBCxkI9GeHFoLn8NYNwbY5JM= From 4af79a001f873387e0368ba7c7c7230d1afad4da Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:16:23 -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 afda0da..66241b4 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: "charlie-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 94b73e25a23dfc8e81645df2e6c32a1af1048115 Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:23:53 -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 014f23c12b32b7c921ed47664a06388d3a821fde Mon Sep 17 00:00:00 2001 From: Aidan Hilt Date: Tue, 18 Jul 2023 17:26:02 -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