-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from minos-framework/0.5.0
0.5.0
- Loading branch information
Showing
211 changed files
with
8,224 additions
and
2,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Publish: minos-broker-kafka" | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*.*.x' | ||
paths: | ||
- 'packages/plugins/minos-broker-kafka/**' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
container: python:3.9-buster | ||
defaults: | ||
run: | ||
working-directory: packages/plugins/minos-broker-kafka | ||
|
||
steps: | ||
|
||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Publish package | ||
run: make release | ||
env: | ||
POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: "Test: minos-broker-kafka" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- '*.*.x' | ||
pull_request: | ||
paths: | ||
- 'packages/plugins/minos-broker-kafka/**' | ||
- 'packages/core/minos-microservice-networks/**' | ||
- 'packages/core/minos-microservice-common/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: python:3.9-buster | ||
defaults: | ||
run: | ||
working-directory: packages/plugins/minos-broker-kafka | ||
|
||
services: | ||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_USER: minos | ||
POSTGRES_PASSWORD: min0s | ||
POSTGRES_DB: order_db | ||
ports: | ||
- 5432:5432 | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
|
||
zookeeper: | ||
image: wurstmeister/zookeeper:latest | ||
ports: | ||
- 2181:2181 | ||
|
||
kafka: | ||
image: wurstmeister/kafka:latest | ||
ports: | ||
- 9092:9092 | ||
env: | ||
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 | ||
KAFKA_ADVERTISED_HOST_NAME: kafka | ||
KAFKA_DELETE_TOPIC_ENABLE: "true" | ||
env: | ||
MINOS_BROKER_QUEUE_HOST: postgres | ||
MINOS_BROKER_HOST: kafka | ||
MINOS_REPOSITORY_HOST: postgres | ||
MINOS_SNAPSHOT_HOST: postgres | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Lint package | ||
run: make lint | ||
|
||
- name: Test package with coverage | ||
run: make coverage | ||
|
||
- name: Publish coverage | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/plugins/minos-broker-kafka/coverage.xml | ||
fail_ci_if_error: true | ||
|
||
- name: Generate documentation | ||
run: make docs | ||
|
||
- name: Generate build | ||
run: make dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Publish: minos-discovery-minos" | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*.*.x' | ||
paths: | ||
- 'packages/plugins/minos-discovery-minos/**' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
container: python:3.9-buster | ||
defaults: | ||
run: | ||
working-directory: packages/plugins/minos-discovery-minos | ||
|
||
steps: | ||
|
||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Publish package | ||
run: make release | ||
env: | ||
POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: "Test: minos-discovery-minos" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- '*.*.x' | ||
pull_request: | ||
paths: | ||
- 'packages/plugins/minos-discovery-minos/**' | ||
- 'packages/core/minos-microservice-networks/**' | ||
- 'packages/core/minos-microservice-common/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: python:3.9-buster | ||
defaults: | ||
run: | ||
working-directory: packages/plugins/minos-discovery-minos | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Lint package | ||
run: make lint | ||
|
||
- name: Test package with coverage | ||
run: make coverage | ||
|
||
- name: Publish coverage | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/plugins/minos-discovery-minos/coverage.xml | ||
fail_ci_if_error: true | ||
|
||
- name: Generate documentation | ||
run: make docs | ||
|
||
- name: Generate build | ||
run: make dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
|
||
- id: minos-microservice-aggregate-check | ||
pass_filenames: false | ||
entry: make --directory=packages/core/minos-microservice-aggregate check | ||
name: Check minos-microservice-aggregate | ||
files: ^packages/core/minos-microservice-aggregate/ | ||
language: system | ||
|
||
- id: minos-microservice-common-check | ||
pass_filenames: false | ||
entry: make --directory=packages/core/minos-microservice-common check | ||
name: Check minos-microservice-common | ||
files: ^packages/core/minos-microservice-common/ | ||
language: system | ||
|
||
- id: minos-microservice-cqrs-check | ||
pass_filenames: false | ||
entry: make --directory=packages/core/minos-microservice-cqrs check | ||
name: Check minos-microservice-cqrs | ||
files: ^packages/core/minos-microservice-cqrs/ | ||
language: system | ||
|
||
- id: minos-microservice-networks-check | ||
pass_filenames: false | ||
entry: make --directory=packages/core/minos-microservice-networks check | ||
name: Check minos-microservice-networks | ||
files: ^packages/core/minos-microservice-networks/ | ||
language: system | ||
|
||
- id: minos-microservice-saga-check | ||
pass_filenames: false | ||
entry: make --directory=packages/core/minos-microservice-saga check | ||
name: Check minos-microservice-saga | ||
files: ^packages/core/minos-microservice-saga/ | ||
language: system | ||
|
||
- id: minos-broker-kafka-check | ||
pass_filenames: false | ||
entry: make --directory=packages/plugins/minos-broker-kafka check | ||
name: Check minos-broker-kafka | ||
files: ^packages/plugins/minos-broker-kafka/ | ||
language: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sonar.python.version=3.9 |
Oops, something went wrong.