generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reimplement transform framework using schemapack (GSI-529) (#56)
- reimplemented functionality is added in a subpackage called "schemapack_" this allows the parallel evolution of the already existing code (much of which might be migrated at some point but not as part of this POC) and the refactored code - replaced terms "metadata" and "metadata_model" with simply "data" and "model" - implemented a null transformation that return the input model and data unchanged - used the null transformation for testing
- Loading branch information
1 parent
8f098c6
commit 5d72617
Showing
33 changed files
with
1,524 additions
and
225 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
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
name: CI on release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
push_to_docker_hub: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ghga-de/gh-action-ci@v1 | ||
with: | ||
tag: ${{ github.event.release.tag_name }} | ||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} |
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,30 @@ | ||
name: Build on PR or dispatch | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
|
||
jobs: | ||
fetch-tag: | ||
runs-on: ubuntu-latest | ||
if: ( github.event.action == 'workflow_dispatch' || github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'build') ) || ( github.event.action == 'labeled' && github.event.label.name == 'build' ) | ||
steps: | ||
- id: fetch-tag | ||
uses: ghga-de/gh-action-fetch-tag@v1 | ||
outputs: | ||
latest_tag: ${{ steps.fetch-tag.outputs.latest_tag }} | ||
|
||
push_to_docker_hub: | ||
needs: fetch-tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ghga-de/gh-action-ci@v1 | ||
with: | ||
tag: ${{ needs.fetch-tag.outputs.latest_tag }}-${{ github.sha }} | ||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -13,8 +13,6 @@ mypy-extensions>=1.0.0 | |
|
||
ruff>=0.0.290 | ||
|
||
black>=23.1.0 | ||
|
||
click>=8.1.0 | ||
typer>=0.7.0 | ||
|
||
|
Oops, something went wrong.