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

Failing in bitbucket pipelines. Need help #11

Closed
AhsanAyaz opened this issue Feb 21, 2018 · 6 comments
Closed

Failing in bitbucket pipelines. Need help #11

AhsanAyaz opened this issue Feb 21, 2018 · 6 comments

Comments

@AhsanAyaz
Copy link

Throws error

/var/lib/apt/lists/partial is missing

screen shot 2018-02-21 at 7 13 00 pm

Here's my pipeline .yml

image: weboaks/node-karma-protractor-chrome:headless
pipelines:
  default:
    - step:
          script:
            - apt-get update
            - apt-get install -y xvfb
            - yarn
            - npm run lint
            - npm run test:xvfb
            - npm run pree2e
            - npm run e2e:xvfb
            - ./node_modules/.bin/ng build -prod
@sylvaindumont
Copy link
Owner

headless and alpine tags have no root access, I can make variants with root access if needed.
xvfb tag has root access and has xvfb already installed and configured.

@AhsanAyaz
Copy link
Author

But they're not actually working because of the partials folder being missing.
And yeah, I tried to create the folder but since I don't have the root access, it didn't work.

@sylvaindumont
Copy link
Owner

can you try on weboaks/node-karma-protractor-chrome:xvfb, this one has root access?

@vorlif
Copy link

vorlif commented Mar 7, 2018

@sylvaindumont variants with root access would be nice.

Drone Ci needs always root access. That's why only works the xvfb variant.

@sylvaindumont
Copy link
Owner

@vorlif I added debian-root and alpine-root for uses cases where root is required

@vorlif
Copy link

vorlif commented Mar 11, 2018

@sylvaindumont Thank you, it works great for me. No error message anymore.

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

3 participants