Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loki test ci on Bitbucket pipeline #513

Open
anthodb opened this issue Apr 14, 2024 Discussed in #511 · 0 comments
Open

Loki test ci on Bitbucket pipeline #513

anthodb opened this issue Apr 14, 2024 Discussed in #511 · 0 comments

Comments

@anthodb
Copy link

anthodb commented Apr 14, 2024

Discussed in #511

Originally posted by anthodb April 12, 2024
Hello everyone!
Does anyone have had success to make the loki visual testing pipeline work on bitbucket pipeline?
I'm using 0.35.0.

On Bitbucket I'm using this step :

 - step: &test-step
        name: test project
        caches:
          - npm
        script:
          - cd React_app
          - npm ci --prefer-offline
          - npm run build-storybook && loki --requireReference --reactUri file:./storybook-static
        services:
          - docker
        artifacts:
          - .loki/**

The pipeline fails with this error :

RUNS chrome.docker
RUNS chrome.docker/PREPARE
PASS chrome.docker/PREPARE
RUNS chrome.docker/START
FAIL chrome.docker/START: Command failed with exit code 125: docker run --rm -d -P --security-opt=seccomp=unconfined --add-host=host.docker.internal:host-gateway --shm-size=1g -p 10862:10862 yukinying/chrome-headless-browser-stable:118.0.5993.117 --disable-datasaver-prompt --no-first-run --disable-extensions --remote-debugging-address=0.0.0.0 --remote-debugging-port=10862 --headless --disable-gpu --hide-scrollbars
docker: Error response from daemon: authorization denied by plugin pipelines: --security-opt is not allowed.
See 'docker run --help'.
FAIL chrome.docker: Some tasks failed to run
Some visual tests failed to run

Issue is here : --security-opt is not allowed.

Seems like I'm stuck here, any help would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant