Google cloud - connect: соединение отказано с триггерами облачной сборки - PullRequest
0 голосов
/ 13 мая 2019

Я пытаюсь автоматически развернуть приложение из GitHub в облаке Google. Для справки я проверил аналогичный пример с firebase из - https://fireship.io/lessons/ci-cd-with-google-cloud-build/

но я получаю следующую ошибку при попытке запуска триггера -

Pulling image: grc.io/cloud-builders/npm
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused
Using default tag: latest
Error response from daemon: Get https://grc.io/v2/: dial tcp 64.98.145.30:443: connect: connection refused

Обновлено согласно Cloud Ace комментарий У моего cloudbuild.yaml файла есть следующие коды -

steps:
  #install
  - name: 'gcr.io/cloud-builders/npm'
    args: ['install']

   #build
  - name: 'gcr.io/cloud-builders/npm'
    args: ['run', 'build']

   #deploy
  - name: 'gcr.io/mytest-240512/npm'
    args: ['deploy']

Пожалуйста, помогите мне исправить эту ошибку. Спасибо !!

Теперь появляется другая ошибка -

Step #1: ERROR: (gcloud.app.deploy) Permissions error fetching application [apps
/mytest-240512]. Please make sure you are using the correct project ID and that
you have permission to view applications on the project.

1 Ответ

5 голосов
/ 14 мая 2019

В вашем cloudbuild.yaml есть опечатка, измените grc.io на gcr.io

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...