From 5dbd2b035cd5e9d3b300b59d5daddf73a822ad7f Mon Sep 17 00:00:00 2001 From: Katie Mazaitis Date: Fri, 21 Jul 2023 13:14:26 -0400 Subject: [PATCH 1/5] Update data_quality issue template: katie -> nolan --- .github/ISSUE_TEMPLATE/data_quality_issue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/data_quality_issue.md b/.github/ISSUE_TEMPLATE/data_quality_issue.md index 769adde01..4d4ad2874 100644 --- a/.github/ISSUE_TEMPLATE/data_quality_issue.md +++ b/.github/ISSUE_TEMPLATE/data_quality_issue.md @@ -3,7 +3,7 @@ name: Data quality issue about: Missing data, weird data, broken data title: '' labels: 'data quality' -assignees: 'krivard' +assignees: 'nolangormley' --- **Actual Behavior:** From 07320038ce6f766d8161e6e1f7742fbd07dd1fe4 Mon Sep 17 00:00:00 2001 From: Katie Mazaitis Date: Fri, 21 Jul 2023 13:15:18 -0400 Subject: [PATCH 2/5] Update create-release workflow: katie -> george --- .github/workflows/create-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 55e7c0782..ba5cacf0f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -72,8 +72,8 @@ jobs: base: prod title: Release covidcast-indicators ${{ steps.indicators.outputs.version }} labels: chore - reviewers: krivard - assignees: krivard + reviewers: melange396 + assignees: melange396 body: | Releasing: * covidcast-indicators ${{ steps.indicators.outputs.version }} From f2503e5b2c3ced3c66348d31210dba010e12a023 Mon Sep 17 00:00:00 2001 From: Katie Mazaitis Date: Fri, 21 Jul 2023 13:15:53 -0400 Subject: [PATCH 3/5] Update publish-release workflow: katie -> george --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 630e44c44..a9f1ccae9 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -120,7 +120,7 @@ jobs: base: main title: 'chore: sync prod->main' labels: chore - reviewers: krivard - assignees: krivard + reviewers: melange396 + assignees: melange396 body: | Syncing Prod->Main. From 0f24afb9f720d80f3500cd8bf40665f3e6f99d5b Mon Sep 17 00:00:00 2001 From: Katie Mazaitis Date: Fri, 21 Jul 2023 13:17:10 -0400 Subject: [PATCH 4/5] Delete deprecated delphi-utils workflow --- .github/workflows/release-delphi-utils.yml | 108 --------------------- 1 file changed, 108 deletions(-) delete mode 100644 .github/workflows/release-delphi-utils.yml diff --git a/.github/workflows/release-delphi-utils.yml b/.github/workflows/release-delphi-utils.yml deleted file mode 100644 index 609bb012c..000000000 --- a/.github/workflows/release-delphi-utils.yml +++ /dev/null @@ -1,108 +0,0 @@ -name: (Deprecated) Release Delphi Utils - -on: - push: - branches: - - not_prod - paths: - - '_delphi_utils_python/**' - workflow_dispatch: - -jobs: - correct_repository: - runs-on: ubuntu-latest - steps: - - name: fail on fork - if: github.repository_owner != 'cmu-delphi' - run: exit 1 - - create_delphi_utils_release: - needs: correct_repository - runs-on: ubuntu-latest - defaults: - run: - working-directory: _delphi_utils_python - steps: - - name: Check out code - uses: actions/checkout@v2 - with: - ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Extract version - id: extract_version - run: | - python -m pip install bump2version - echo -n "::set-output name=version::" - bump2version --dry-run --list patch | grep ^current_version | sed -r s,"^.*=",, - - name: Tag version - run: | - git tag delphi-utils/v${{ steps.extract_version.outputs.version }} - git push --tags - outputs: - version: ${{ steps.extract_version.outputs.version }} - - upload_pypi: - needs: create_delphi_utils_release - runs-on: ubuntu-latest - defaults: - run: - working-directory: _delphi_utils_python - steps: - - name: Check out code - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install testing dependencies - run: | - python -m pip install --upgrade pip - pip install pylint pytest pydocstyle wheel twine - - name: Install - run: | - make install - - name: Release - run: | - make release - - uses: actions/upload-artifact@v2 - with: - name: delphi_utils - path: _delphi_utils_python/dist/*.tar.gz - - name: Publish a Python distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.DELPHI_PYPI_PROD_TOKEN }} - packages_dir: _delphi_utils_python/dist/ - skip_existing: true - # repository_url: https://test.pypi.org/legacy/ - - sync_main: - needs: correct_repository - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - with: - ref: main - ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} - - name: Reset main branch - run: | - git fetch origin prod:prod - git reset --hard prod - - name: Create pull request into main - uses: peter-evans/create-pull-request@v3 - with: - token: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }} - branch: bot/sync-prod-main - commit-message: 'chore: sync prod-main' - base: main - title: 'chore: sync prod->main' - labels: chore - reviewers: krivard - assignees: krivard - body: | - Syncing Prod->Main. From 64bde444d386bae069d1a17a63cabe283ae76702 Mon Sep 17 00:00:00 2001 From: Katie Mazaitis Date: Fri, 21 Jul 2023 13:17:41 -0400 Subject: [PATCH 5/5] Delete deprecated delphi-utils release workflow --- .../workflows/create-delphi-utils-release.yml | 48 ------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/create-delphi-utils-release.yml diff --git a/.github/workflows/create-delphi-utils-release.yml b/.github/workflows/create-delphi-utils-release.yml deleted file mode 100644 index 4d35b2253..000000000 --- a/.github/workflows/create-delphi-utils-release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: (Deprecated) Create Delphi Utils Release - -on: - workflow_dispatch: - inputs: - versionName: - description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)' - required: true - default: patch - -jobs: - create_release: - runs-on: ubuntu-latest - defaults: - run: - working-directory: _delphi_utils_python - steps: - - name: Check out code - uses: actions/checkout@v2 - with: - ref: prod - ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} - - name: Reset prod branch - run: | - git fetch origin main:main - git reset --hard main - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Change version number - id: version - run: | - python -m pip install bump2version - echo -n "::set-output name=next_tag::" - bump2version --list ${{ github.event.inputs.versionName }} | grep ^new_version | sed -r s,"^.*=",, - - name: Create pull request into prod - uses: peter-evans/create-pull-request@v3 - with: - branch: release/${{ steps.version.outputs.next_tag }} - commit-message: 'chore: release ${{ steps.version.outputs.next_tag }}' - base: prod - title: Release ${{ steps.version.outputs.next_tag }} - labels: chore - reviewers: krivard - assignees: krivard - body: | - Releasing ${{ steps.version.outputs.next_tag }}.