From ae56e27e5f6974fdc742160a66b5aaa7764a8335 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 29 Jan 2024 12:20:36 -0800 Subject: [PATCH] Update CI for Rome Test branches. --- .circleci/config.yml | 80 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07f29ff52..a9a73ee39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -180,8 +180,27 @@ jobs: - aws-s3/sync: from: build to: "s3://rome-online-test/" - - jira/notify + - jira/notify + rome-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + - run: + name: Install Dependencies + command: npm i + + - run: npm run build + + - aws-s3/sync: + from: build + to: "s3://rome-online-production-beta/" + - jira/notify test-hasura-migrate: docker: @@ -233,6 +252,49 @@ jobs: to: "s3://imex-online-test/" - jira/notify + test-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + + - run: + name: Install Dependencies + command: npm i + + - run: npm run build:test + + - aws-s3/sync: + from: build + to: "s3://imex-online-test-beta/" + - jira/notify + + rome-test-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + + - run: + name: Install Dependencies + command: npm i + + - run: npm run build:test + + - aws-s3/sync: + from: build + to: "s3://rome-online-test-beta/" + - jira/notify + + admin-app-build: docker: - image: cimg/node:16.15.0 @@ -274,6 +336,14 @@ workflows: filters: branches: only: master + - app-beta-build: + filters: + branches: + only: master-beta + - rome-app-beta-build: + filters: + branches: + only: rome/master-beta - hasura-migrate: secret: ${HASURA_PROD_SECRET} filters: @@ -296,6 +366,14 @@ workflows: filters: branches: only: test + - rome-test-app-beta-build: + filters: + branches: + only: rome/test-beta + - test-app-beta-build: + filters: + branches: + only: test-beta - test-hasura-migrate: secret: ${HASURA_TEST_SECRET} filters: