Skip to content
Snippets Groups Projects
Commit 4a7b70e3 authored by Puff Machine's avatar Puff Machine
Browse files

Continuous deploy to tftp container

parent 818b9430
Branches
No related merge requests found
Pipeline #2351 failed with stages
in 2 minutes and 42 seconds
......@@ -2,10 +2,15 @@ image:
name: gitlab-registry.hob-co.uk/hob-net/rpm-builder:latest
entrypoint: [ '/bin/sh', '-c' ] #see https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27614
stages:
- build
- deploy
#new gcc version is stricter, use NO_WERROR=1 for now
#https://github.com/ipxe/ipxe/issues/620
build_ipxe:
stage: build
script:
- git clone https://github.com/ipxe/ipxe.git
- cd ipxe/src
......@@ -15,3 +20,10 @@ build_ipxe:
paths:
- ipxe/src/bin/undionly.kpxe
- ipxe/src/bin-x86_64-efi/ipxe.efi
deploy_tftp:
stage: deploy
script:
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- scp -o "StrictHostKeyChecking=off" -P 22222 -s ipxe/src/bin/undionly.kpxe ipxe/src/bin-x86_64-efi/ipxe.efi hob-ssv.hob-co.uk:/tftproot/
\ No newline at end of file
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