mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Fix/adjust pipeline (#1619)
* use the correct frontend make target * allow interactive tty if available * fix syntax on pipeline trigger paths
This commit is contained in:
committed by
GitHub
parent
449968bc4e
commit
99d16a37d5
4
.github/workflows/backend-pr.yaml
vendored
4
.github/workflows/backend-pr.yaml
vendored
@@ -7,8 +7,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- backend
|
||||
- libs
|
||||
- 'backend/**'
|
||||
- 'libs/**'
|
||||
|
||||
jobs:
|
||||
libs:
|
||||
|
||||
6
.github/workflows/frontend-pr.yaml
vendored
6
.github/workflows/frontend-pr.yaml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- frontend
|
||||
- 'frontend/**'
|
||||
|
||||
jobs:
|
||||
frontend:
|
||||
@@ -34,8 +34,8 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Build frontend
|
||||
run: make frontend
|
||||
- name: Build frontends
|
||||
run: make frontends
|
||||
|
||||
- name: 'Tar files to preserve file permissions'
|
||||
run: tar -cvf frontend.tar frontend/dist frontend/config.json
|
||||
|
||||
@@ -8,9 +8,14 @@ if [ "$0" != "./build-arm-v8-snapshot.sh" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
USE_TTY=
|
||||
if tty -s; then
|
||||
USE_TTY="-it"
|
||||
fi
|
||||
|
||||
echo "Building "
|
||||
cd ..
|
||||
docker run --rm -it -v "$HOME/.cargo/registry":/root/.cargo/registry -v "$(pwd)":/home/rust/src start9/rust-arm-cross:aarch64 sh -c "(cd libs/ && cargo build -p snapshot-creator --release )"
|
||||
docker run --rm $USE_TTY -v "$HOME/.cargo/registry":/root/.cargo/registry -v "$(pwd)":/home/rust/src start9/rust-arm-cross:aarch64 sh -c "(cd libs/ && cargo build -p snapshot-creator --release )"
|
||||
cd -
|
||||
|
||||
echo "Creating Arm v8 Snapshot"
|
||||
|
||||
Reference in New Issue
Block a user