Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test system with docker executor && tagged demo 2 #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
version: 2
jobs:

build_demo_0:

docker:
- image: circleci/python:3.7.0

steps:

- checkout
- setup_remote_docker


- run:
name: compose
command: |
cd stand
code-of-kpp marked this conversation as resolved.
Show resolved Hide resolved
docker-compose up
background: true

- run:
name: generator
command: |
docker build -t generator ./Generator
docker run --network container:stand_clickhouse_1 generator

background: true

- run:
name: image
command: |
docker build -t image ./Image
docker run --network container:stand_grafana_1: image

- run:
name: copy image
command: |
docker cp image:/snapshots/output.png stand/snapshots/output.png


- store_artifacts:
path: stand/snapshots




build_demo_2:

docker:
- image: circleci/python:3.7.0

steps:

- checkout
- setup_remote_docker

- run:
name: compose
command: |
cd demo2
ls
docker-compose up
background: true


code-of-kpp marked this conversation as resolved.
Show resolved Hide resolved
- run:
name: generator
command: |
docker build -t generator ./Generator
docker ps
docker run --network container:demo2_data-receiver_1 generator


workflows:
version: 2
demo0:
jobs:
- build_demo_0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not defined

# demo1:
# jobs:
# - build_demo_1
demo2:
jobs:
- build_demo_2
11 changes: 11 additions & 0 deletions .idea/inclickdb.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading