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

[Firebase] Windows deploy error #443

Open
davidstackio opened this issue Aug 26, 2020 · 0 comments
Open

[Firebase] Windows deploy error #443

davidstackio opened this issue Aug 26, 2020 · 0 comments

Comments

@davidstackio
Copy link

Affected builder image

gcr.io/cloud-builders-community/firebase

Expected Behavior

Submitting a build from Windows should work.

Actual Behavior

I get this error when following the official Google tutorial:

standard_init_linux.go:211: exec user process caused "no such file or directory"

Steps to Reproduce the Problem

  1. Use Windows.
  2. Run git clone https://github.com/GoogleCloudPlatform/cloud-builders-community.git
  3. Run cd cloud-builders-community/firebase
  4. Run gcloud builds submit .
  5. Configure the cloudbuild.yaml file:
      steps:
      - name: gcr.io/project-id/firebase
        args: ['deploy', '--project=project-id', '--only=hosting']

Where project-id is a valid project-id.

  1. Run gcloud builds submit .

Additional Info

TO FIX: I needed to change the line endings of firebase.bash to LF before submitting the community build to my project. More info here and here.

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