0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

herokuのpipelineのReview Appsの自動ビルドで失敗した

Posted at

何がきっかけかわからないけど、ビルドが失敗するようになった。

以下はapp.jsonの一部抜粋

app.json
"buildpacks": [
    {
      "url": "heroku/php"
    },
    {
      "url": "heroku/node"
    }
  ],

こんな感じで書いておいたら、こんなエラーが出てビルドが失敗してた。

error fetching custom buildpack https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/node.tgz

このURLにアクセスしたら、AccessDeniedって言われたのでheroku側からしかアクセスできないのか知らないけどbuildpackのurlと違うなと思ってショートハンドやめて直接リポジトリを指定した。

以下のように変えた。

app.json
"buildpacks": [
    {
      "url": "heroku/php"
    },
    {
      "url": "https://github.com/heroku/heroku-buildpack-nodejs"
    }
  ],

で、ビルド通ったのでそのメモをここに残す。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?