Commit 0543931d authored by Dominik Schachten's avatar Dominik Schachten
Browse files

arch linux boot

parent 0ac76850
Pipeline #134217 passed with stage
in 16 minutes and 16 seconds
...@@ -6,6 +6,8 @@ stages: ...@@ -6,6 +6,8 @@ stages:
# build job name used to retrieve artifact in irb-admin/package # build job name used to retrieve artifact in irb-admin/package
build: build:
tags:
- shared
image: hub.cs.upb.de/irb/build-container/arch-ipxe image: hub.cs.upb.de/irb/build-container/arch-ipxe
stage: build stage: build
artifacts: artifacts:
...@@ -16,41 +18,3 @@ build: ...@@ -16,41 +18,3 @@ build:
# ipxe has to be a full clone, shallow clone interferes with versioning # ipxe has to be a full clone, shallow clone interferes with versioning
- git clone git://git.ipxe.org/ipxe.git - git clone git://git.ipxe.org/ipxe.git
- bash build.sh - bash build.sh
package:infect-bootstrap:
image: hub.cs.upb.de/irb/package
stage: package
script:
- ls -lah
- mkdir -p irb-infect-bootstrap/usr/local/share/ipxe/
- cp ipxe-{loader,reboot}.efi irb-infect-bootstrap/usr/local/share/ipxe/
# while in COVID-19 pandemic use auto-infect instead of reboot but name it reboot, so it 'just works' down the pipeline
- cp ipxe-auto-infect.efi irb-infect-bootstrap/usr/local/share/ipxe/ipxe-reboot.efi
- irb-package build deb ./irb-infect-bootstrap $(git describe --tags --always) "IRB Infect Loader Bootstrap"
artifacts:
name: packages
expire_in: 1 hour
paths:
- '*.deb'
package:ipxe-menu:
image: hub.cs.upb.de/irb/package
stage: package
script:
- ls -lah
- mkdir -p irb-ipxe-menu/srv/tftp/EFIx64
- cp ipxe-menu.efi irb-ipxe-menu/srv/tftp/EFIx64/ipxe.efi
- irb-package build deb ./irb-ipxe-menu $(git describe --tags --always) "IRB ipxe menu"
artifacts:
name: packages
expire_in: 1 hour
paths:
- '*.deb'
autorepos:
image: hub.cs.upb.de/irb/package
stage: deploy
script:
- irb-package push *.deb
variables:
GIT_STRATEGY: none
...@@ -24,7 +24,8 @@ dhcp && goto netUp ...@@ -24,7 +24,8 @@ dhcp && goto netUp
dhcp || goto reboot dhcp || goto reboot
:netUp :netUp
chain https://pxeserv.cs.uni-paderborn.de/pxe_menu/efi.php || goto reboot chain https://ipxe.archlinux.org/releng/netboot/archlinux.ipxe ||
chain http://ipxe.archlinux.org/releng/netboot/archlinux.ipxe || goto reboot
:reboot :reboot
reboot reboot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment