From 1f2e1c047b15f3bf41ebe8bdcaa1b60d54f585c8 Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:37:24 -0700 Subject: [PATCH 01/11] updates node options max old space size to 8192 --- .github/workflows/jest-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jest-tests.yaml b/.github/workflows/jest-tests.yaml index 30d78b548..10efe1fc8 100644 --- a/.github/workflows/jest-tests.yaml +++ b/.github/workflows/jest-tests.yaml @@ -37,7 +37,7 @@ jobs: ${{ runner.os }}-${{ matrix.node-version }}-yarn- - run: yarn - env: - NODE_OPTIONS: "--max-old-space-size=4096" + NODE_OPTIONS: "--max-old-space-size=8192" run: yarn test test-rediscache-contactcache: runs-on: ubuntu-latest From dc92fb1b4fb13bd8adf6565f8c40f85636d0a4be Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:44:08 -0700 Subject: [PATCH 02/11] Updates all Node Options on jest-test yaml file --- .github/workflows/jest-tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jest-tests.yaml b/.github/workflows/jest-tests.yaml index 10efe1fc8..76f5df1ca 100644 --- a/.github/workflows/jest-tests.yaml +++ b/.github/workflows/jest-tests.yaml @@ -70,7 +70,7 @@ jobs: ${{ runner.os }}-yarn- - run: yarn - env: - NODE_OPTIONS: "--max-old-space-size=4096" + NODE_OPTIONS: "--max-old-space-size=8192" run: yarn test-rediscache-contactcache test-rediscache: runs-on: ubuntu-latest @@ -103,7 +103,7 @@ jobs: ${{ runner.os }}-yarn- - run: yarn - env: - NODE_OPTIONS: "--max-old-space-size=4096" + NODE_OPTIONS: "--max-old-space-size=8192" run: yarn test-rediscache test-sqlite: runs-on: ubuntu-latest @@ -127,5 +127,5 @@ jobs: ${{ runner.os }}-yarn- - run: yarn - env: - NODE_OPTIONS: "--max-old-space-size=4096" + NODE_OPTIONS: "--max-old-space-size=8192" run: yarn test-sqlite From 7d0960b047f62b4eb3f67a9b408594d9ceb3cb18 Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:12:20 -0700 Subject: [PATCH 03/11] Updates jest config to have testURL be http://localhost/3000 --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 288827de3..6ff2022d1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ module.exports = { verbose: true, - testURL: "http://localhost/", + testURL: "http://localhost/3000", testEnvironment: "node", globals: { SUPPRESS_DATABASE_AUTOCREATE: "1", From f76a219874ec7867ac8c0775af60b9c19d8f3cee Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:14:54 -0700 Subject: [PATCH 04/11] updates testURL to localhost:3000 --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 6ff2022d1..00f4a91b5 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ module.exports = { verbose: true, - testURL: "http://localhost/3000", + testURL: "http://localhost:3000", testEnvironment: "node", globals: { SUPPRESS_DATABASE_AUTOCREATE: "1", From 5765e7e586d4ae063bfc4eb79a4ffcadd331d5dd Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Tue, 19 Sep 2023 18:58:15 -0700 Subject: [PATCH 05/11] Adds ngpvan environment variables to the .env.example file. --- .env.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.example b/.env.example index c9c7ad8bf..883c41856 100644 --- a/.env.example +++ b/.env.example @@ -50,3 +50,6 @@ DST_REFERENCE_TIMEZONE='US/Eastern' PASSPORT_STRATEGY=local TEXTER_SIDEBOXES=celebration-gif,default-dynamicassignment,default-releasecontacts,contact-reference,tag-contact,freshworks-widget,default-editinitial,take-conversations,hide-media,texter-feedback,contact-notes OWNER_CONFIGURABLE=ALL +NGP_VAN_API_KEY= +NGP_VAN_APP_NAME= +NGP_VAN_WEBHOOK_BASE_URL= \ No newline at end of file From d803aac438b57ff58fafec06d5e7be35f95699ad Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:10:17 -0700 Subject: [PATCH 06/11] New branch for docker file update --- .keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .keep diff --git a/.keep b/.keep new file mode 100644 index 000000000..e69de29bb From 79a47efbb54908b5d92bb7c18c66af4e318c3bcd Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:21:21 -0700 Subject: [PATCH 07/11] Adds correct branch to git yaml workflow --- .github/workflows/build-image.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index e2c196942..17cc4035e 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -4,6 +4,7 @@ on: push: branches: - 'main' + - 'docker-file-update' release: types: - created From 6812a7930ba3d0666284f1283edb566c21aa949f Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:24:11 -0700 Subject: [PATCH 08/11] Updates node version on dockerfile. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3145a2deb..9eac37ad5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG BUILDER_IMAGE=node:12.22 -ARG RUNTIME_IMAGE=node:12.22-alpine +ARG BUILDER_IMAGE=node:16.18 +ARG RUNTIME_IMAGE=node:16.18-alpine ARG PHONE_NUMBER_COUNTRY=US FROM ${BUILDER_IMAGE} as builder From 910fe1ec215a964b960f1c6e1de662db17ea4e4a Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:34:47 -0700 Subject: [PATCH 09/11] Removes test branch from github workflow --- .github/workflows/build-image.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 17cc4035e..e2c196942 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -4,7 +4,6 @@ on: push: branches: - 'main' - - 'docker-file-update' release: types: - created From e2ccc5027fd32177581316d1ccce7eaa90805f53 Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:42:40 -0700 Subject: [PATCH 10/11] Updates release notes --- docs/RELEASE_NOTES.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 2fea32183..f83c8aa4a 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,5 +1,13 @@ # Release Notes +## v13.0.1 +_September 2023_ Version 13.0.1 + +This is a patch release that has passing tests and updates docker file to node16. + +### Appreciations +[Arique Aguilar](https://github.com/Arique1104), [Kathy Nguyen](https://github.com/crayolakat) + ## v13.0 _February 2023:_ Version 13.0 From d8642496195e3d36a6e3e36dc10fb5cb55c65785 Mon Sep 17 00:00:00 2001 From: Arique1104 <60521756+Arique1104@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:47:48 -0700 Subject: [PATCH 11/11] Adds new patch info to read me --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6fb3843c6..34da8a9bc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Spoke is an open source text-distribution tool for organizations to mobilize sup Spoke was created by Saikat Chakrabarti and Sheena Pakanati, and is now maintained by MoveOn.org. -The latest version is [13.0](https://github.com/MoveOnOrg/Spoke/tree/13.0.0) (see [release notes](https://github.com/MoveOnOrg/Spoke/blob/main/docs/RELEASE_NOTES.md#v130)) +The latest version is [13.0.1](https://github.com/MoveOnOrg/Spoke/tree/13.0.1) (see [release notes](https://github.com/MoveOnOrg/Spoke/blob/main/docs/RELEASE_NOTES.md#v1301)) ## Setting up Spoke @@ -24,7 +24,7 @@ Want to know more? ### Quick Start with Heroku This version of Spoke suitable for testing and, potentially, for small campaigns. This won't cost any money and will not support production(aka large-scale) usage. It's a great way to practice deploying Spoke or see it in action. - + Deploy