-
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.
Merge pull request #179 from HyperloopUPV-H8/develop
Backend V2.0.0-beta
- Loading branch information
Showing
313 changed files
with
5,752 additions
and
8,447 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,48 @@ | ||
name: Build control station | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- control-station/** | ||
- common-front/** | ||
|
||
jobs: | ||
build-control-station: | ||
name: 'Build control station' | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
FRONTEND_DIR: ./control-station | ||
COMMON_DIR: ./common-front | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
control-station | ||
common-front | ||
- name: 'Install common front dependencies' | ||
working-directory: '${{env.COMMON_DIR}}' | ||
run: npm install | ||
|
||
- name: 'Build common front' | ||
working-directory: '${{env.COMMON_DIR}}' | ||
run: npm run build | ||
|
||
- name: 'Install control station dependencies' | ||
working-directory: '${{env.FRONTEND_DIR}}' | ||
run: npm install | ||
|
||
- name: 'Build control station' | ||
working-directory: '${{env.FRONTEND_DIR}}' | ||
run: npm run build | ||
|
||
- name: 'Upload build' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: control-station | ||
path: '${{env.FRONTEND_DIR}}/static/*' | ||
retention-days: 3 | ||
compression-level: 9 |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: Build ethernet view | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
|
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
build | ||
profiles | ||
|
||
# GOOGLE API KEY | ||
secret.json | ||
# ADJ | ||
JSON_ADE | ||
|
||
# MacOS Files | ||
.DS_Store | ||
|
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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/HyperloopUPV-H8/h9-backend/internal/excel_adapter" | ||
"github.com/HyperloopUPV-H8/h9-backend/internal/server" | ||
"github.com/HyperloopUPV-H8/h9-backend/internal/vehicle" | ||
) | ||
|
||
type Config struct { | ||
Excel excel_adapter.ExcelAdapterConfig | ||
Vehicle vehicle.Config | ||
Server server.Config | ||
} |
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
Oops, something went wrong.