Skip to content

Commit

Permalink
Merge pull request #2413 from snyk/chore/cimg
Browse files Browse the repository at this point in the history
chore(ci): migrate to cimg images
  • Loading branch information
Jahed Ahmed authored Jan 5, 2022
2 parents a4c5a7a + 600d735 commit d9494db
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ commands:
name: Restoring SDKMAN install cache
keys:
- sdkman-install-cache-v3-{{ arch }}-{{ checksum ".circleci/vendor/sdkman-install.sh" }}
- run:
name: Installing Python
command: |
sudo apt update
sudo apt install python3 python3-pip python-is-python3
- run:
name: Installing SDKMAN
# The install script comes from https://get.sdkman.io/?rcupdate=false
Expand Down Expand Up @@ -144,9 +149,6 @@ commands:
command: choco install nodejs --version=<< parameters.node_version >> --no-progress
install_shellspec_dependencies:
steps:
- run:
name: Installing test dependencies
command: sudo apt-get install jq python-pip
- run:
name: Installing ShellSpec
command: |
Expand All @@ -164,13 +166,14 @@ commands:
steps:
- run:
name: Installing release dependencies
command: sudo apt-get install -y osslsigncode

command: |
sudo apt update
sudo apt install osslsigncode
jobs:
build:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
steps:
- checkout
- install_project_dependencies:
Expand All @@ -182,7 +185,7 @@ jobs:
regression-test:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
steps:
- checkout
- install_sdks_linux
Expand Down Expand Up @@ -287,7 +290,7 @@ jobs:
test-linux:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
environment:
TEMP: /mnt/ramdisk/tmp
steps:
Expand Down Expand Up @@ -353,7 +356,7 @@ jobs:
dev-release:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
steps:
- checkout
- install_release_dependencies
Expand Down Expand Up @@ -385,7 +388,7 @@ jobs:
prod-release:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
steps:
- checkout
- run:
Expand Down

0 comments on commit d9494db

Please sign in to comment.