Moving to Forgejo
Some checks failed
TileOS ISO Builder Wrapper / build-sway (push) Failing after 6s
TileOS ISO Builder Wrapper / prebuild (push) Failing after 24s

This commit is contained in:
nesteroff561 2025-06-01 14:58:28 +03:00
parent 863da42c5a
commit 677f9df6f3
4 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,18 @@
name: TileOS Sway SO Builder
on: [workflow_call]
jobs:
build:
runs-on: iso-builder
steps:
-
name: Build image with sway
run: |
eval $(ssh-agent -s)
mkdir /root/.ssh
echo "{{ secrets.STORAGE_SSH_KEY }} > ./id_rsa
chmod 400 ~/.ssh/id_rsa
rm -rf ${PWD}/output/*
mkdir ${PWD}/output
docker run --privileged --rm -i -v ${PWD}/output:/builder/builds -v /proc:/proc builder:latest ./build --desktop sway --release testing
ssh -o StrictHostKeyChecking=no ${{ secrets.STORAGE_USER}}@${{ secrets.STORAGE_HOST ]} -p ${{ secrets.STORAGE_PORT}} -i ~/.ssh/id_rsa rm -rf /media/iso/tile-os/testing/sway/*
scp -o StrictHostKeyChecking=no -o Port=${{ secrets.STORAGE_PORT }} -o IdentityFile=/builder/id_rsa -p -B ${PWD}/output/amd64/* ${{ secrets.STORAGE_USER }}@${{ secrets.STORAGE_HOST }}:/media/iso/tile-os/testing/sway/

View file

@ -0,0 +1,16 @@
on: [workflow_call]
jobs:
prebuild:
runs-on: iso-builder
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Build builder image
run: |
eval $(ssh-agent -s)
echo "{{ secrets.STORAGE_SSH_KEY }} > ./id_rsa
docker build --no-cache -f Dockerfile-builder -t builder:latest .

View file

@ -0,0 +1,15 @@
name: TileOS ISO Builder Wrapper
on:
push:
branches:
- ci
jobs:
prebuild:
uses: ./.forjejo/workflows/prebuild.yaml
secrets: inherit
build-sway:
uses: ./.forjejo/workflows/build-image-sway.yaml
secrets: inherit

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
tmp/* tmp/*
builds/* builds/*
artifacts/* artifacts/*
.gitlab-ci.yml