Skip to content

Conversation

igrep
Copy link
Member

@igrep igrep commented Nov 21, 2017

#50 の問題のうち、
「レビュー時に、ビルド(make build)後の記事の見た目を確認するのが面倒」を解決するため、
CIのbuild artifactsからビルドしたブログを閲覧できるよう設定中です。

CircleCIに移行しようとしているのは、Travis CIのドキュメント曰く、Travis CIはAmazon S3にartifactsをアップロードする関係上、
AWSのアカウントを必要とするためです(つまり有料 )。

ただ、CircleCIはCircleCIで、 https://circleci.com/docs/1.0/build-artifacts/ 曰く、

Note: This URL is only accessible if you are logged into CircleCI with an account that has permissions to view / edit the project.

とあるとおり、誰でも閲覧できるというわけではないみたいです。
という問題もありますが、とりあえずこれでやってみましょう。

追記: 実際のところ、閲覧できるみたいです。パブリックなプロジェクトだからかな?

@igrep igrep changed the title Add circle.yml Circle CIへの移行 + build artifactsの設定 Nov 21, 2017
@igrep igrep force-pushed the circle-ci branch 4 times, most recently from 140b5a9 to 2e14ba7 Compare November 23, 2017 04:16
#50 の問題のうち、
「レビュー時に、ビルド(make build)後の記事の見た目を確認するのが面倒」を解決するため、
CIのbuild artifactsからビルドしたブログを閲覧できるよう設定中です。

CircleCIに移行しようとしているのは、[Travis CIのドキュメント曰く](https://docs.travis-ci.com/user/uploading-artifacts/)、Travis CIはAmazon S3にartifactsをアップロードする関係上、
AWSのアカウントを必要とするためです(つまり有料  )。

ただ、CircleCIはCircleCIで、 https://circleci.com/docs/1.0/build-artifacts/ 曰く、

> Note: This URL is only accessible if you are logged into CircleCI with an account that has permissions to view / edit the project.

とあるとおり、誰でも閲覧できるというわけではないみたいです。
という問題もありますが、とりあえずこれでやってみましょう。
@igrep
Copy link
Member Author

igrep commented Nov 23, 2017

うーん、なぜかテストが終わったところで

Looks like we had a bug in our infrastructure, or that of our providers (generally GitHub or AWS). We should have automatically retried this build. We've been alerted of the issue and are almost certainly looking into it, please contact us if you're interested in the cause or if the problem persists.

というエラーが出て、build artifactsの作成もデプロイもうまくいきませんね。。。
forced updateとかしてるのが原因なのかな。。。
とりあえずこのままマージして様子を見ようかな、と思います。

@igrep
Copy link
Member Author

igrep commented Nov 23, 2017

お、見れた!
デプロイ対象のブランチを master だけにしたら見えた!
なんだったんだろう。とりあえずマージしちゃうか。
(公開するべきURLではないので、削除しました)

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

Successfully merging this pull request may close these issues.

1 participant