Unverified Commit 533f0334 authored by Jonathan Porta's avatar Jonathan Porta Committed by GitHub
Browse files

Merge pull request #58 from steemit/f-add-circle-ci

Update Circle CI Config
parents dd699af3 c6b34ad5
......@@ -8,14 +8,14 @@ jobs:
- setup_remote_docker
- run:
name: Build Docker image
command: docker build -t condenser .
command: docker build -t wallet .
- run:
name: Save Docker image
command: docker save -o condenser.tar condenser
command: docker save -o wallet.tar wallet
- persist_to_workspace:
root: .
paths:
- condenser.tar
- wallet.tar
build-blackboxtest:
docker:
- image: docker:17-git
......@@ -24,14 +24,14 @@ jobs:
- setup_remote_docker
- run:
name: Build Docker image
command: docker build -t condenser-blackboxtest blackboxtest/
command: docker build -t wallet-blackboxtest blackboxtest/
- run:
name: Save Docker image
command: docker save -o condenser-blackboxtest.tar condenser-blackboxtest
command: docker save -o wallet-blackboxtest.tar wallet-blackboxtest
- persist_to_workspace:
root: .
paths:
- condenser-blackboxtest.tar
- wallet-blackboxtest.tar
run-blackboxtest:
docker:
- image: docker:17-git
......@@ -43,23 +43,23 @@ jobs:
- run:
name: Load Docker images
command: |
docker load -i /tmp/workspace/condenser.tar
docker load -i /tmp/workspace/condenser-blackboxtest.tar
docker load -i /tmp/workspace/wallet.tar
docker load -i /tmp/workspace/wallet-blackboxtest.tar
- run:
name: Start condenser
name: Start wallet
command: |
docker run -ditp 8080:8080 --name condenser condenser
sleep 10 # let condenser start
docker run -ditp 8080:8080 --name wallet wallet
sleep 10 # let wallet start
- run:
name: Run tests
command: docker run --network container:condenser condenser-blackboxtest
command: docker run --network container:wallet wallet-blackboxtest
workflows:
version: 2
condenser:
wallet:
jobs:
- build
- build-blackboxtest
- run-blackboxtest:
requires:
- build
- build-blackboxtest
# - build-blackboxtest
# - run-blackboxtest:
# requires:
# - build
# - build-blackboxtest
......@@ -7,7 +7,7 @@ node_modules:
yarn install
build:
docker build -t steemit/steemit.com .
docker build -t steemit/wallet .
clean:
rm -rf node_modules *.log tmp npm-debug.log.*
......
# Condenser
# Condenser [![CircleCI](https://circleci.com/gh/steemit/wallet.svg?style=svg)](https://circleci.com/gh/steemit/wallet)
Condenser is the react.js web interface to the world's first and best
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment