Skip to content

Commit

Permalink
Merge pull request #321 from Clariteia/0.0.4
Browse files Browse the repository at this point in the history
0.0.4
  • Loading branch information
Sergio García Prado authored Dec 30, 2021
2 parents ddb798e + 01f37eb commit 473ae51
Show file tree
Hide file tree
Showing 215 changed files with 10,394 additions and 7,582 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,24 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- run: docker-compose pull --quiet

- uses: satackey/[email protected]
continue-on-error: true

- name: Start System
run: make up

- name: Wait until System is ready
run: sleep 60 # FIXME: This "hotfix" must not be necessary.

- name: Run Integration Tests
run: make integration-tests

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/microservice-authentication-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
11 changes: 7 additions & 4 deletions .github/workflows/microservice-cart-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
11 changes: 7 additions & 4 deletions .github/workflows/microservice-customer-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
11 changes: 7 additions & 4 deletions .github/workflows/microservice-order-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
11 changes: 7 additions & 4 deletions .github/workflows/microservice-payment-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
12 changes: 7 additions & 5 deletions .github/workflows/microservice-product-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,17 @@ jobs:
MINOS_SAGA_QUEUE_HOST: postgres

steps:

- name: Check out repository code
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Lint package
run: make lint

- name: Run tests
run: poetry run pytest
- name: Test package with coverage
run: make coverage
11 changes: 7 additions & 4 deletions .github/workflows/microservice-review-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Run tests
run: poetry run pytest
- name: Lint package
run: make lint

- name: Test package with coverage
run: make coverage
12 changes: 7 additions & 5 deletions .github/workflows/microservice-ticket-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ jobs:
MINOS_BROKER_HOST: kafka

steps:

- name: Check out repository code
uses: actions/checkout@v2

- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1

- name: Install dependencies
run: poetry install
run: make install

- name: Lint package
run: make lint

- name: Run tests
run: poetry run pytest
- name: Test package with coverage
run: make coverage
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
build:
docker-compose build --progres plain

up: build
up:
$(MAKE) build
echo "Starting containers..."
docker-compose up --detach
docker-compose up --quiet-pull --detach

build:
echo "Building images..."
docker-compose build --progress=plain --pull

down:
echo "Stopping containers..."
Expand Down
2 changes: 0 additions & 2 deletions api_gateway/.dockerignore

This file was deleted.

22 changes: 0 additions & 22 deletions api_gateway/Dockerfile

This file was deleted.

Empty file removed api_gateway/README.rst
Empty file.
15 changes: 0 additions & 15 deletions api_gateway/config.yml

This file was deleted.

Loading

0 comments on commit 473ae51

Please sign in to comment.