feature/FA-11_CICD #33
@@ -95,39 +95,36 @@ jobs:
|
|||||||
- name: Install Fusion CLI
|
- name: Install Fusion CLI
|
||||||
run: dotnet tool install -g HotChocolate.Fusion.CommandLine
|
run: dotnet tool install -g HotChocolate.Fusion.CommandLine
|
||||||
|
|
||||||
|
- name: Add .NET tools to PATH
|
||||||
|
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Create subgraphs directory
|
- name: Create subgraphs directory
|
||||||
run: mkdir -p subgraphs
|
run: mkdir -p subgraphs
|
||||||
|
|
||||||
- name: Download Novel Service subgraph
|
- name: Download Novel Service subgraph
|
||||||
uses: actions/download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: novel-service-subgraph
|
name: novel-service-subgraph
|
||||||
path: subgraphs/novel
|
path: subgraphs/novel
|
||||||
|
|
||||||
- name: Download Translation Service subgraph
|
- name: Download Translation Service subgraph
|
||||||
uses: actions/download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: translation-service-subgraph
|
name: translation-service-subgraph
|
||||||
path: subgraphs/translation
|
path: subgraphs/translation
|
||||||
|
|
||||||
- name: Download Scheduler Service subgraph
|
- name: Download Scheduler Service subgraph
|
||||||
uses: actions/download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: scheduler-service-subgraph
|
name: scheduler-service-subgraph
|
||||||
path: subgraphs/scheduler
|
path: subgraphs/scheduler
|
||||||
|
|
||||||
- name: Download User Service subgraph
|
- name: Download User Service subgraph
|
||||||
uses: actions/download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: user-service-subgraph
|
name: user-service-subgraph
|
||||||
path: subgraphs/user
|
path: subgraphs/user
|
||||||
|
|
||||||
- name: Download File Service subgraph
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: file-service-subgraph
|
|
||||||
path: subgraphs/file
|
|
||||||
|
|
||||||
- name: Configure subgraph URLs for Docker
|
- name: Configure subgraph URLs for Docker
|
||||||
run: |
|
run: |
|
||||||
for fsp in subgraphs/*/*.fsp; do
|
for fsp in subgraphs/*/*.fsp; do
|
||||||
@@ -157,10 +154,6 @@ jobs:
|
|||||||
- name: Build gateway
|
- name: Build gateway
|
||||||
run: dotnet build FictionArchive.API/FictionArchive.API.csproj -c Release --no-restore -p:SkipFusionBuild=true
|
run: dotnet build FictionArchive.API/FictionArchive.API.csproj -c Release --no-restore -p:SkipFusionBuild=true
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: dotnet test FictionArchive.sln -c Release --no-build --verbosity normal
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user