Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ipxe-builds
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hob-Net
ipxe-builds
Commits
4a7b70e3
Commit
4a7b70e3
authored
2 years ago
by
Puff Machine
Browse files
Options
Downloads
Patches
Plain Diff
Continuous deploy to tftp container
parent
818b9430
Branches
Branches containing commit
No related merge requests found
Pipeline
#2351
failed with stages
Stage:
Stage:
in 2 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
with
12 additions
and
0 deletions
.gitlab-ci.yml
+
12
−
0
View file @
4a7b70e3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment