Skip to content

Commit

Permalink
[Feature] Data source extensions should be composable (#116)
Browse files Browse the repository at this point in the history
* Start drawing

* Prepare PipelineService

* Introduce the pipeline everywhere

* Update OpenAPI clients

* Intermediate commit

* Adapt UI to breaking changes

* Tests should work again

* Fix CI

* Fix CSS

* Rename Pipeline

* Add pipeline tests

* Everythings except renaming resource works

* Everything works, next step is to improve property modification code

* Update OpenAPI clients

* Simplify property access and modification and reduce memory pressure

* Add missing python property

* Add graceful handling of missing users folder

* Apply review suggestions

* Apply remaining review suggestions

* Fix assertion

* Use discard variable for unused variable and use raw literal string for the readme

---------

Co-authored-by: Apollo3zehn <[email protected]>
  • Loading branch information
Apollo3zehn and Apollo3zehn authored Jul 29, 2024
1 parent febdf61 commit 64c9bc6
Show file tree
Hide file tree
Showing 49 changed files with 5,851 additions and 900 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ on:
- dev

tags:
- '*'
- "*"

pull_request:
branches:
- dev

jobs:

build:

name: Build
runs-on: ubuntu-latest

Expand All @@ -29,7 +27,7 @@ jobs:

- name: Metadata
run: echo "IS_RELEASE=${{ startsWith(github.ref, 'refs/tags/') }}" >> $GITHUB_ENV

- name: Environment
run: |
echo "VERSION=$(python build/print_version.py ${{ github.run_number }} ${{ env.IS_RELEASE }} false)" >> $GITHUB_ENV
Expand All @@ -40,17 +38,17 @@ jobs:
if: ${{ env.IS_RELEASE == 'true' }}
run: python build/create_tag_body.py

- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
python-version: "3.9"

- name: Create Docker Output Folder
run: mkdir --parent artifacts/images

- name: Install
run: |
npm install -g pyright
npm install -g pyright@1.1.369
python -m pip install frictionless==4.40.9 build wheel httpx pytest pytest-asyncio
npm install -g [email protected]
dotnet tool install -g Microsoft.Web.LibraryManager.Cli
Expand Down Expand Up @@ -114,15 +112,13 @@ jobs:
version: ${{ env.VERSION }}

publish_dev:

needs: build
name: Publish (dev)
runs-on: ubuntu-latest

if: ${{ needs.build.outputs.is_release != 'true' }}

steps:

- name: Download Artifacts
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -155,15 +151,13 @@ jobs:
docker push ghcr.io/nexus-main/nexus:${{ needs.build.outputs.version }}
publish_release:

needs: build
name: Publish (release)
runs-on: ubuntu-latest

if: ${{ needs.build.outputs.is_release == 'true' }}

steps:

- name: Install
run: |
python -m pip install twine
Expand Down
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"python.analysis.extraPaths": [
"src/clients/python-client"
],
"dotnet.defaultSolution": "Nexus.sln",
"editor.formatOnSave": true
"editor.formatOnSave": true,
"[aspnetcorerazor]": {
"editor.formatOnSave": false
}
}
Loading

0 comments on commit 64c9bc6

Please sign in to comment.