From c96adb4c6a0ee9e83e82171beab0a1550aad2322 Mon Sep 17 00:00:00 2001 From: Russell Vinegar <38586679+rustyjux@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:42:39 -0800 Subject: [PATCH 01/12] add PR reminders --- .github/workflows/pr-reminder.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pr-reminder.yaml diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml new file mode 100644 index 0000000..7f69a0c --- /dev/null +++ b/.github/workflows/pr-reminder.yaml @@ -0,0 +1,12 @@ +name: 'Send review reminders' +on: + schedule: + - cron: '30 1 * * *' # Scheduled to run at 1:30 AM daily + workflow_dispatch: # Allows manual triggering of the workflow + +jobs: + remind: + runs-on: ubuntu-latest + steps: + - uses: bcgov/aps-devops/pr-reminder@dev + From 11d59979719616aec62ad3c6205375fb28640067 Mon Sep 17 00:00:00 2001 From: Russell Vinegar <38586679+rustyjux@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:12:00 -0800 Subject: [PATCH 02/12] don't run on weekends --- .github/workflows/pr-reminder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index 7f69a0c..07f4c32 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -1,7 +1,7 @@ name: 'Send review reminders' on: schedule: - - cron: '30 1 * * *' # Scheduled to run at 1:30 AM daily + - cron: '30 1 * * 1-5' # Scheduled to run at 1:30 AM, Monday through Friday workflow_dispatch: # Allows manual triggering of the workflow jobs: From 8c4f9753a21723f271b2dcd8a6107d6f16e50cee Mon Sep 17 00:00:00 2001 From: Russell Vinegar <38586679+rustyjux@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:15:42 -0800 Subject: [PATCH 03/12] run M, W, F --- .github/workflows/pr-reminder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index 07f4c32..d0cd8e2 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -1,7 +1,7 @@ name: 'Send review reminders' on: schedule: - - cron: '30 1 * * 1-5' # Scheduled to run at 1:30 AM, Monday through Friday + - cron: '30 1 * * 1,3,5' # Scheduled to run at 1:30 AM, Monday, Wednesday, Friday workflow_dispatch: # Allows manual triggering of the workflow jobs: From b17f4faa9aee233383628173129b66b567b2182c Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Mon, 9 Dec 2024 07:53:29 -0800 Subject: [PATCH 04/12] dry_run true for reminders --- .github/workflows/pr-reminder.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index d0cd8e2..c245edb 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -8,5 +8,7 @@ jobs: remind: runs-on: ubuntu-latest steps: - - uses: bcgov/aps-devops/pr-reminder@dev - + - name: Run PR reviewer reminder + uses: bcgov/aps-devops/pr-reminder@dev + with: + dry_run: "true" # Set to "false" to enable comments From 27302527f6119a4d4b326290fd809e32b46579a0 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Mon, 9 Dec 2024 08:36:37 -0800 Subject: [PATCH 05/12] reminder dry run off --- .github/workflows/pr-reminder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index c245edb..00d7add 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -11,4 +11,4 @@ jobs: - name: Run PR reviewer reminder uses: bcgov/aps-devops/pr-reminder@dev with: - dry_run: "true" # Set to "false" to enable comments + dry_run: "false" From b5b75a683049ec564cdd7cd29b3cdce0410dc597 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Mon, 9 Dec 2024 08:47:32 -0800 Subject: [PATCH 06/12] pass token to reminders action --- .github/workflows/pr-reminder.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index 00d7add..b31980d 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -11,4 +11,5 @@ jobs: - name: Run PR reviewer reminder uses: bcgov/aps-devops/pr-reminder@dev with: + token: ${{ secrets.GITHUB_TOKEN }} dry_run: "false" From ed8763e3045456c536b97684d50452d3a559855e Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Mon, 9 Dec 2024 09:18:24 -0800 Subject: [PATCH 07/12] update cron to account for UTC --- .github/workflows/pr-reminder.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index b31980d..63a532f 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -1,8 +1,7 @@ name: 'Send review reminders' on: schedule: - - cron: '30 1 * * 1,3,5' # Scheduled to run at 1:30 AM, Monday, Wednesday, Friday - workflow_dispatch: # Allows manual triggering of the workflow + - cron: '30 8 * * 1,3,5' # Scheduled to run at 1:30 AM, Monday, Wednesday, Friday jobs: remind: From a0909a29732d625b33ff1485509241931c8cd702 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Mon, 16 Dec 2024 12:08:59 -0800 Subject: [PATCH 08/12] Update GitHub Actions workflow to use Ubuntu 22.04 for Jira issue synchronization --- .github/workflows/jira.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jira.yaml b/.github/workflows/jira.yaml index af57a5b..c05fbe0 100644 --- a/.github/workflows/jira.yaml +++ b/.github/workflows/jira.yaml @@ -4,7 +4,7 @@ on: [issues, issue_comment] jobs: sync-issues: name: Sync issues to Jira - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: ikethecoder/sync-issues-github-jira@dev with: From 5fa96e92ec9b5107d43de50a9a36abfa44feac22 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Tue, 17 Dec 2024 12:45:46 -0800 Subject: [PATCH 09/12] Update PR reminder to run on weekdays --- .github/workflows/pr-reminder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index 63a532f..bbec23c 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -1,7 +1,7 @@ name: 'Send review reminders' on: schedule: - - cron: '30 8 * * 1,3,5' # Scheduled to run at 1:30 AM, Monday, Wednesday, Friday + - cron: '30 8 * * 1,2,3,4,5' # Scheduled to run at 1:30 AM, weekdays jobs: remind: From 0933ca622bb1797944eacf5ea1d591faabc25f86 Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Tue, 17 Dec 2024 12:46:14 -0800 Subject: [PATCH 10/12] turn on dry_run for pr reminder to test --- .github/workflows/pr-reminder.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index bbec23c..89af987 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -2,6 +2,7 @@ name: 'Send review reminders' on: schedule: - cron: '30 8 * * 1,2,3,4,5' # Scheduled to run at 1:30 AM, weekdays + workflow_dispatch: jobs: remind: @@ -11,4 +12,4 @@ jobs: uses: bcgov/aps-devops/pr-reminder@dev with: token: ${{ secrets.GITHUB_TOKEN }} - dry_run: "false" + dry_run: "true" From 413a79d7fb1047687d5cb5d04d082092f0755a0b Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Tue, 17 Dec 2024 12:47:55 -0800 Subject: [PATCH 11/12] remove test settings for reminders --- .github/workflows/pr-reminder.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-reminder.yaml b/.github/workflows/pr-reminder.yaml index 89af987..bbec23c 100644 --- a/.github/workflows/pr-reminder.yaml +++ b/.github/workflows/pr-reminder.yaml @@ -2,7 +2,6 @@ name: 'Send review reminders' on: schedule: - cron: '30 8 * * 1,2,3,4,5' # Scheduled to run at 1:30 AM, weekdays - workflow_dispatch: jobs: remind: @@ -12,4 +11,4 @@ jobs: uses: bcgov/aps-devops/pr-reminder@dev with: token: ${{ secrets.GITHUB_TOKEN }} - dry_run: "true" + dry_run: "false" From 01fa5e92fad1c838d2f6eac6072b7051adba0b49 Mon Sep 17 00:00:00 2001 From: ike thecoder Date: Tue, 17 Dec 2024 17:03:31 -0800 Subject: [PATCH 12/12] add openmaps and maps to host cert mapping (#140) --- microservices/kubeApi/clients/ocp_routes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/microservices/kubeApi/clients/ocp_routes.py b/microservices/kubeApi/clients/ocp_routes.py index 8eadc13..7552623 100644 --- a/microservices/kubeApi/clients/ocp_routes.py +++ b/microservices/kubeApi/clients/ocp_routes.py @@ -18,6 +18,8 @@ host_cert_mapping = { "data.gov.bc.ca": "data-api.tls", "api.gov.bc.ca": "data-api.tls", + "maps.gov.bc.ca": "data-api.tls", + "openmaps.gov.bc.ca": "data-api.tls", "apps.gov.bc.ca": "apps.tls" }