Skip to content

Commit 355dcc4

Browse files
committed
CricleCI smoke test: use separate images for build/test
1 parent 43786a8 commit 355dcc4

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.circleci/config.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,30 @@ parameters:
99

1010
defaults: &defaults
1111
docker:
12-
- image: docker:17.11.0-ce-git
12+
- image: node:14
13+
1314
deploy_defaults: &deploy_defaults
1415
docker:
1516
- image: cibuilds/aws
17+
1618
test_defaults: &test_defaults
1719
docker:
1820
- image: docker:17.11.0-ce-git
21+
1922
install_dependency: &install_dependency
2023
name: Installation of build and deployment dependencies.
2124
command: |
22-
apk update
23-
apk add --no-cache bash openssl curl
24-
apk upgrade
25-
apk add --no-cache jq py-pip sudo
26-
sudo pip install awscli --upgrade
25+
apt update
26+
apt install jq -y
27+
apt install python-dev python-pip -y
28+
pip install awscli --upgrade
29+
install_test_dependency: &install_test_dependency
30+
name: Installation of build and deployment dependencies.
31+
command: |
32+
apt update
33+
apt install jq -y
34+
apt install python-dev python-pip -y
35+
pip install awscli --upgrade
2736
install_deploysuite: &install_deploysuite
2837
name: Installation of install_deploysuite.
2938
command: |
@@ -90,7 +99,7 @@ smoke_testing: &smoke_testing
9099
# Initialization.
91100
- checkout
92101
- setup_remote_docker
93-
- run: *install_dependency
102+
- run: *install_test_dependency
94103
- run: *install_deploysuite
95104
# Restoration of node_modules from cache.
96105
- restore_cache: *restore_cache_settings_for_build

0 commit comments

Comments
 (0)