Skip to content

Commit 46bed67

Browse files
authored
Merge pull request #424 from snyk/chore/fix-eks-tests
chore: restore environment setup in EKS tests to fix test failures
2 parents 3ad08b1 + 083a498 commit 46bed67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,17 @@ jobs:
227227
<<: *default_machine_config
228228
steps:
229229
- checkout
230-
- setup_node12
231230
- run:
232231
name: Create temp dir for logs
233232
command: mkdir -p /tmp/logs/test/integration/eks
234233
- run:
235234
name: Integration tests EKS
235+
# WARNING! Do not use the step "setup_node12" here - the call to "nvm use 12" breaks the tests!
236236
command: |
237+
export NVM_DIR="/opt/circleci/.nvm"
238+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
239+
nvm install v12
240+
npm install
237241
export KUBERNETES_MONITOR_IMAGE_NAME_AND_TAG=$(./scripts/circleci-jobs/setup-integration-tests.py)
238242
.circleci/do-exclusively --branch staging --job ${CIRCLE_JOB} npm run test:integration:eks
239243
- run:

0 commit comments

Comments
 (0)