-
Notifications
You must be signed in to change notification settings - Fork 2
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
adding test config #8
base: master
Are you sure you want to change the base?
Conversation
.circleci/config.yml
Outdated
docker stop stand_grafana_1 | ||
docker stop stand_carbon-clickhouse_1 | ||
docker stop stand_clickhouse_1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add produced image as an Artifact.
.circleci/config.yml
Outdated
- checkout | ||
- run: | | ||
cd stand | ||
(docker-compose up)& |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is probably better to run this in executor, maybe ignoring docker-compose
- just manually call docker
.circleci/config.yml
Outdated
(docker-compose up)& | ||
sleep 180 | ||
(timeout 30 bash generator.sh)& | ||
sleep 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with circle ci you can dockerize -wait tcp://
to avoid sleeps
.circleci/config.yml
Outdated
sleep 180 | ||
(timeout 30 bash generator.sh)& | ||
sleep 20 | ||
bash image.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use run
instruction multiple times for better output structure
.circleci/config.yml
Outdated
sleep 30 | ||
docker stop stand_grafana_1 | ||
docker stop stand_carbon-clickhouse_1 | ||
docker stop stand_clickhouse_1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you will not need stop
s once you define services
|
||
- run: | ||
name: install dockerize | ||
command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please split that line?
Also dockerize should be present in circleci native images
CircleCI config (#2)
runs correctly (seems so), but current master code fails