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

dockercloud builds are failing #4808

Closed
chris48s opened this issue Mar 22, 2020 · 9 comments
Closed

dockercloud builds are failing #4808

chris48s opened this issue Mar 22, 2020 · 9 comments
Labels
developer-experience Dev tooling, test framework, and CI self-hosting Discussion, problems, features, and documentation related to self-hosting Shields

Comments

@chris48s
Copy link
Member

Looks like this has been consistently failing for the last couple of days.
I don't have a login for dockercloud to get any more info on this.

@chris48s chris48s added developer-experience Dev tooling, test framework, and CI self-hosting Discussion, problems, features, and documentation related to self-hosting Shields labels Mar 22, 2020
@calebcartwright
Copy link
Member

I'm not sure what is up with the link from the PR check, but seems to be failing during dependency install due to Cypress (for some reason 🤔)

https://hub.docker.com/repository/registry-1.docker.io/shieldsio/shields/builds/30289177-3125-4f59-afcc-343c188829cf

Step 5/14 : COPY package.json package-lock.json /usr/src/app/
---> 43eaac92919c
Step 6/14 : COPY gh-badges /usr/src/app/gh-badges/
---> eb54dfede451
Step 7/14 : RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci
---> Running in f6120315507e
�[91mnpm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/cypress-io/request.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
�[0m
�[91m
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-22T19_55_06_655Z-debug.log
�[0m
Removing intermediate container f6120315507e
The command '/bin/sh -c NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci' returned a non-zero code: 1

@paulmelnikow
Copy link
Member

Right. I think the issue is that git it not installed.

Although, the purpose of CYPRESS_INSTALL_BINARY=0 is to prevent the Cypress install – maybe something changed with that flag? We could also try --no-scripts.

@calebcartwright
Copy link
Member

Although, the purpose of CYPRESS_INSTALL_BINARY=0 is to prevent the Cypress install

Exactly, that's the bit that's puzzling me.

maybe something changed with that flag?

I haven't seen anything and their docs still say that's the way to do it 🤷‍♂️
https://docs.cypress.io/guides/getting-started/installing-cypress.html#Environment-variables

@paulmelnikow
Copy link
Member

Looks like a regression in Cypress: cypress-io/cypress#6752

It's fixed, but not yet released. We could downgrade, or wait it out and upgrade.

@paulmelnikow
Copy link
Member

cypress-io/cypress#6777 (comment)

The release is scheduled for Monday, and Cypress 4.1.0 doesn't have this issue.

@paulmelnikow
Copy link
Member

The Cypress 4.3.0 update was merged in #4858, and did not seem to fix this problem.

paulmelnikow added a commit that referenced this issue Apr 6, 2020
@paulmelnikow
Copy link
Member

Err, maybe that's wrong. Master looks good. Perhaps these PR's that are still failing just need updating.

@paulmelnikow
Copy link
Member

I think this is fixed.

@PyvesB
Copy link
Member

PyvesB commented May 9, 2021

This has been working for a while, therefore closing. :)

@PyvesB PyvesB closed this as completed May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Dev tooling, test framework, and CI self-hosting Discussion, problems, features, and documentation related to self-hosting Shields
Projects
None yet
Development

No branches or pull requests

4 participants