Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 8d6bca4

Browse files
author
Alberto Silvestre Montes Linares
authored
Merge pull request #34 from visualfabriq/automating_release
Setting up bqueryd services
2 parents 46d2cee + f3e4181 commit 8d6bca4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
docker -v
1717
docker-compose -v
1818
- run:
19-
name: Build Services
19+
name: Start Services
2020
working_directory: bqueryd
2121
command: |
22-
docker-compose -f docker-compose.yml build
23-
- run:
24-
name: Sleep 30 seconds system for finishing services building
25-
command: |
26-
sleep 30
22+
docker-compose -f docker-compose.yml up --build -d
2723
- run:
2824
name: Run Tests
2925
working_directory: bqueryd
3026
command: docker-compose -f docker-compose.yml run bqueryd pytest -vs tests --junitxml=test-results/pytest/pytest-report.xml --cov-report xml:test-results/pytest-cov/coverage.xml --cov=bqueryd
27+
- run:
28+
name: Stop Services
29+
command: docker-compose down
30+
working_directory: bqueryd
3131
# - name: Upload Coverage
3232
# command: python-codacy-coverage -r test-results/pytest-cov/coverage.xml
3333
# working_directory: bqueryd
File renamed without changes.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
build:
2222
network: host
2323
context: .
24-
dockerfile: dockerFile
24+
dockerfile: DockerFile
2525
depends_on:
2626
- redis
2727
- localstack

0 commit comments

Comments
 (0)