Skip to content

Commit de8911d

Browse files
committed
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into PM-459_remove-earn-app
2 parents 460ed3f + 75395e9 commit de8911d

File tree

2 files changed

+7
-80
lines changed

2 files changed

+7
-80
lines changed

.circleci/config.yml

+7-48
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,21 @@ version: 2.1
22

33
defaults: &defaults
44
docker:
5-
- image: node:16.14
5+
- image: node:22.13
66

77
deploy_defaults: &deploy_defaults
88
docker:
9-
- image: cimg/python:3.10.2
10-
11-
test_defaults: &test_defaults
12-
docker:
13-
- image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
9+
- image: cimg/python:3.12.1-browsers
1410

1511
install_build_dependency: &install_build_dependency
1612
name: Installation of build and deployment dependencies.
1713
command: |
1814
apt update
1915
apt install jq -y
20-
apt install python3-pip -y
21-
pip3 install awscli --upgrade
16+
apt install python3-pip python-is-python3 python3.11-venv -y
17+
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
18+
unzip awscli-bundle.zip
19+
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
2220
2321
install_dependency: &install_dependency
2422
name: Installation of build and deployment dependencies.
@@ -60,14 +58,6 @@ running_yarn_sb_build: &running_yarn_sb_build
6058
source buildenvvar
6159
yarn sb:build
6260
63-
running_yarn_test: &running_yarn_test
64-
name: Running Yarn Test Build
65-
command: |
66-
yarn install
67-
yarn cypress install
68-
yarn build
69-
yarn cy:ci
70-
7161
workspace_persist: &workspace_persist
7262
root: .
7363
paths:
@@ -98,26 +88,6 @@ build_steps: &build_steps # Initialization.
9888
- run: *running_yarn_sb_build
9989
- persist_to_workspace: *workspace_persist
10090

101-
test_steps: &test_steps # Initialization.
102-
- checkout
103-
- setup_remote_docker
104-
- restore_cache:
105-
key: test-node-modules-{{ checksum "yarn.lock" }}
106-
- run: *running_yarn_test
107-
- save_cache:
108-
key: test-node-modules-{{ checksum "yarn.lock" }}
109-
paths:
110-
- node_modules
111-
- /root/.cache/Cypress
112-
- store_test_results:
113-
path: cypress/test-report
114-
- store_artifacts:
115-
path: cypress/test-report
116-
- store_artifacts:
117-
path: cypress/videos
118-
- store_artifacts:
119-
path: cypress/screenshots
120-
12191
deploy_steps: &deploy_steps
12292
- checkout
12393
- attach_workspace: *workspace_attach
@@ -173,14 +143,6 @@ jobs:
173143
APPNAME: "platform-ui-mvp"
174144
steps: *build_steps
175145

176-
test-dev:
177-
<<: *test_defaults
178-
environment:
179-
DEPLOY_ENV: "DEV"
180-
LOGICAL_ENV: "dev"
181-
APPNAME: "platform-ui-mvp"
182-
steps: *test_steps
183-
184146
# Just tests commited code.
185147
deployDev:
186148
<<: *deploy_defaults
@@ -277,7 +239,4 @@ workflows:
277239
filters: &filters-prod
278240
branches:
279241
only:
280-
- master
281-
282-
- test-dev:
283-
context: org-global
242+
- master

cypress.config.ts

-32
This file was deleted.

0 commit comments

Comments
 (0)