
I love TypeScript, Node.js, React, React Native(Expo)
具体例のためにいくつかのOSSを出しますが、それらの紹介ではなくCircleCI artifactsを用いるアイデア・方法論の紹介であることに注意されたし

ビルトインのstore_artifacts
version: 2
jobs:
base: &base
docker:
- image: circleci/node:latest
working_directory: ~/repo
steps:
- checkout
- store_artifacts:
path: coverage
ENDPOINT='https://circleci.com/api/v1.1/project/:vcs-type/:username/:project'
curl "$ENDPOINT/:build_num/artifacts?circle-token=:token"
[
{
"path" : "raw-test-output/go-test-report.xml",
"pretty_path" : "raw-test-output/go-test-report.xml",
"node_index" : 0,
"url" : "https://xxx/raw-test-output/go-test-report.xml"
},
...
]
curl '{{artifactsのURL}}?circle-token=:token'
Storybook
ステージング版アプリ
stash事故、作業のキリが良くないと心理的ハードルが高い...
素早く、気軽に、有益なコードレビューをしたい

心理的コストの削減
時間の削減
リポジトリのCollaboratorだけ管理する
S3等においてアクセス制限の二重管理しない
オレオレシェルだったものをOSS化してくれた
— Naturalclar/klank: Tool to notify circleci artifact to pull requests and/or slack channel


テストコード読めばだいたい分かる、でも人間じゃなくても分かる
※カバレッジだけが全てではないが、維持すべき重要な指標の1つ
— Leko/coverage-diff-back: Send the coverage difference back to the github on each pull requests
スタイル修正したときにデグレってないか影響範囲を目検...?
無理 😭
GCS, S3の部分をArtifactsで代替できないだろうか
store_artifactsを書いてもらわないといけないOrbを使って隠蔽できないか
orbs:
visual-regression: xxx/visual-regression@0.0.2
jobs:
test:
steps:
# ...
- visual-regression/reg-suit:
base_branch: master
base_dir: packages/components
dest_dir: /tmp/reg-suit
workflows:
version: 2.1
test_deploy:
jobs:
- test
前回の資料がよかったのでそちらに委譲
— Orbs開発の流れ ~はじめの一歩から、組織的にメンテしていくための環境構築まで / Flow of Orbs Development - Speaker Deck


CircleCI Artifacts + PRにコメントで省力化
masterのArtifacsとPRの成果物を比較