Skip to content

Commit

Permalink
chore(ci): use same aws version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahed Ahmed committed Jan 24, 2022
1 parent 9cd65c6 commit 02b3a48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions .circleci/chocolatey.config
Expand Up @@ -3,4 +3,5 @@
<package id="maven" version="3.8.2" />
<package id="gradle" version="6.8.3" />
<package id="sbt" version="1.5.5" />
<package id="awscli" version="2.4.12" />
</packages>
14 changes: 5 additions & 9 deletions .circleci/config.yml
Expand Up @@ -13,6 +13,9 @@ defaults: &defaults
npm_version:
type: string
default: '8.1.2'
aws_version:
type: string
default: '2.4.12'
working_directory: /mnt/ramdisk/snyk

commands:
Expand Down Expand Up @@ -272,13 +275,6 @@ jobs:
- run:
name: Running system tests
command: npm run test:jest-system -- --ci
- run:
name: Download AWS CLI
command: |
msiexec.exe /i AWSCLIV2.msi /quiet
[Environment]::SetEnvironmentVariable("Path", $env:PATH + `
";c:\Program Files\Amazon\AWSCLIV2", "Machine")
shell: powershell.exe
- run:
name: Running acceptance tests
command: npm run test:jest-acceptance -- --ci
Expand Down Expand Up @@ -318,7 +314,7 @@ jobs:
name: Running system tests
command: npm run test:jest-system -- --ci
- aws-cli/install:
version: 2.2.32
version: << parameters.aws_version >>
- run:
name: Running acceptance tests
command: npm run test:jest-acceptance -- --ci
Expand Down Expand Up @@ -393,7 +389,7 @@ jobs:
token: GH_TOKEN
version: 1.9.2
- aws-cli/install:
version: 2.2.32
version: << parameters.aws_version >>
- install_release_dependencies
- setup_npm:
node_version: << parameters.node_version >>
Expand Down

0 comments on commit 02b3a48

Please sign in to comment.