You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need help setting up continuous integration for Loki. Do you have any ideas? More details below 🔽
CI returns the error ⚠️
Error: ENOENT: no such file or directory, open '/root/.aws/config'
at Object.openSync (node:fs:600:3)
at Object.readFileSync (node:fs:468:35)
at Object.readFileSync (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/util.js:95:26)
at parseFile (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/shared-ini/ini-loader.js:6:38)
at IniLoader.loadFrom (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/shared-ini/ini-loader.js:72:25)
at getRegion (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/node_loader.js:131:32)
at Config.region (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/node_loader.js:186:18)
at Config.set (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/config.js:600:39)
at Config.<anonymous> (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/config.js:359:12)
at Config.each (/builds/package-name/js/frontend/operators-apps/storybook/node_modules/aws-sdk/lib/util.js:520:32) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/root/.aws/config'
}
Using docker image sha256:e139f9028786c1b3df3f5afcfc96e3d9e1a8058043437ff9ba16eebd5951cc44 for public.ecr.aws/gitlab/gitlab-runner-helper:x86_64-v15.5.2 with digest public.ecr.aws/gitlab/gitlab-runner-helper@sha256:0fefadbda4528a2bfa229a6594bc8009fa7aa76b0e0841b61172fbc29fb77166 ...
test-webapp-visual-regression:
extends: .with-full-node-modules
timeout: 30m
stage: analyze
script:
- cd storybook && yarn run loki:ci
It's a strange issue for me, because aws-sdk is dependent on @loki/target-chrome-aws-lambda, but I don't use a Serverless renderer 🤔 (https://loki.js.org/serverless.html)
I need help setting up continuous integration for Loki. Do you have any ideas? More details below 🔽
CI returns the error⚠️
Configuration:
storybook/loki.config.js
package.json
(a piece of code)I use GitLab
gitlab-ci.yml
(a piece of code)It's a strange issue for me, because
aws-sdk
is dependent on@loki/target-chrome-aws-lambda
, but I don't use a Serverless renderer 🤔 (https://loki.js.org/serverless.html)yarn.lock
(a piece of code)The text was updated successfully, but these errors were encountered: