Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Stage 3
Commits
a55318d8
Commit
a55318d8
authored
Mar 07, 2021
by
James T. Lee
Browse files
Initial build
parents
Pipeline
#574
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
.gitlab-ci.yml
.gitlab-ci.yml
+15
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
a55318d8
---
.template
:
&template
image
:
'
${CI_REGISTRY}/nest/stage2:${STAGE2_TAG}'
stage
:
'
build'
tags
:
[
'
nest'
]
script
:
-
'
systemd-machine-id-setup
--root="/nest/hosts/${HOSTNAME}"'
-
'
[
-f
"/nest/hosts/${HOSTNAME}/etc/hostname"
]
||
echo
"$HOSTNAME"
>
"/nest/hosts/${HOSTNAME}/etc/hostname"'
-
'
cp
-a
"/nest/hosts/${HOSTNAME}/etc/hostname"
/etc/hostname'
'
Build
eyas7'
:
<<
:
*template
variables
:
HOSTNAME
:
'
eyas7'
STAGE2_TAG
:
'
sopine-server'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment