1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

ci - breakout announce job to upload builds and screenshots

This commit is contained in:
kumavis 2018-03-30 17:59:15 -07:00
parent 69ff600c74
commit 6d3da95a95

View File

@ -17,12 +17,17 @@ workflows:
- prep-deps-npm - prep-deps-npm
- test-e2e: - test-e2e:
requires: requires:
- prep-build
- prep-deps-npm - prep-deps-npm
- test-screens: - prep-build
- job-screens:
requires: requires:
- prep-build
- prep-deps-npm - prep-deps-npm
- prep-build
- job-announce:
requires:
- prep-deps-npm
- prep-build
- job-screens
- test-unit: - test-unit:
requires: requires:
- prep-deps-npm - prep-deps-npm
@ -49,7 +54,7 @@ workflows:
- test-lint - test-lint
- test-unit - test-unit
- test-e2e - test-e2e
- test-screens - job-screens
- test-integration-mascara-chrome - test-integration-mascara-chrome
- test-integration-mascara-firefox - test-integration-mascara-firefox
- test-integration-flat-chrome - test-integration-flat-chrome
@ -103,15 +108,7 @@ jobs:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
paths: paths:
- dist - dist
- store_artifacts: - builds
path: dist/mascara
destination: builds/mascara
- store_artifacts:
path: builds
destination: builds
- run:
name: build:announce
command: ./development/metamaskbot-build-announce.js
prep-scss: prep-scss:
docker: docker:
@ -159,7 +156,7 @@ jobs:
path: test-artifacts path: test-artifacts
destination: test-artifacts destination: test-artifacts
test-screens: job-screens:
docker: docker:
- image: circleci/node:8-browsers - image: circleci/node:8-browsers
steps: steps:
@ -171,9 +168,34 @@ jobs:
- run: - run:
name: Test name: Test
command: npm run test:screens command: npm run test:screens
- save_cache:
key: job-screens-{{ .Revision }}
paths:
- test-artifacts
job-announce:
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- restore_cache:
key: job-screens-{{ .Revision }}
- store_artifacts:
path: dist/mascara
destination: builds/mascara
- store_artifacts:
path: builds
destination: builds
- store_artifacts: - store_artifacts:
path: test-artifacts path: test-artifacts
destination: test-artifacts destination: test-artifacts
- run:
name: build:announce
command: ./development/metamaskbot-build-announce.js
test-unit: test-unit:
docker: docker: