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

GLOB-21814: Use same repo for all open source libraries #33

Merged
merged 1 commit into from
Jul 9, 2018
Merged
Changes from all commits
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
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
command: |
eval $(aws ecr get-login --no-include-email)
python -m middlefield globality build build-gen --config .globality/build.json
python -m middlefield globality build docker-base --repo microcosm-eventsource
python -m middlefield globality build docker --repo microcosm-eventsource
python -m middlefield globality build docker-base --repo python-library
python -m middlefield globality build docker --repo python-library

test:
<<: *defaults
Expand All @@ -94,8 +94,8 @@ jobs:
docker create -v /src/microcosm_eventsource/tests/ --name service_tests alpine:3.4 /bin/true
docker cp $(pwd)/microcosm_eventsource/tests service_tests:/src/microcosm_eventsource/
eval $(aws ecr get-login --no-include-email)
docker pull ${AWS_ECR_DOMAIN}/microcosm-eventsource:${CIRCLE_SHA1}
docker run -it --link microcosm_eventsource_db:postgres -e EXAMPLE__POSTGRES__HOST=postgres --volumes-from service_tests ${AWS_ECR_DOMAIN}/microcosm-eventsource:${CIRCLE_SHA1} test
docker pull ${AWS_ECR_DOMAIN}/python-library:${CIRCLE_SHA1}
docker run -it --link microcosm_eventsource_db:postgres -e EXAMPLE__POSTGRES__HOST=postgres --volumes-from service_tests ${AWS_ECR_DOMAIN}/python-library:${CIRCLE_SHA1} test

lint:
<<: *defaults
Expand All @@ -112,8 +112,8 @@ jobs:
docker create -v /src/microcosm-eventsource/tests/ --name service_tests alpine:3.4 /bin/true
docker cp $(pwd)/microcosm_eventsource/tests service_tests:/src/microcosm_eventsource/
eval $(aws ecr get-login --no-include-email)
docker pull ${AWS_ECR_DOMAIN}/microcosm-eventsource:${CIRCLE_SHA1}
docker run -it --volumes-from service_tests ${AWS_ECR_DOMAIN}/microcosm-eventsource:${CIRCLE_SHA1} lint
docker pull ${AWS_ECR_DOMAIN}/python-library:${CIRCLE_SHA1}
docker run -it --volumes-from service_tests ${AWS_ECR_DOMAIN}/python-library:${CIRCLE_SHA1} lint


deploy:
Expand Down