You've already forked coreos
This Is Why We Don't Push To Production On Fridays
Some checks failed
/ Build ignition (push) Failing after 2m57s
Some checks failed
/ Build ignition (push) Failing after 2m57s
This commit is contained in:
35
.gitea/workflows/ignition.yml
Normal file
35
.gitea/workflows/ignition.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
name: Build ignition
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: 🛡️ 🔒 Add Siteworx CA Certificates
|
||||||
|
run: |
|
||||||
|
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
|
||||||
|
update-ca-certificates
|
||||||
|
|
||||||
|
- name: 📖 🔍 Checkout Repository Code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: 🏎️ 🏁 Build Ignition
|
||||||
|
run: |
|
||||||
|
docker run --rm \
|
||||||
|
--volumes-from ${{ env.JOB_CONTAINER_NAME }} \
|
||||||
|
--name ${{ gitea.job }}-${{ gitea.run_id }}-postgres \
|
||||||
|
-w ${{ github.workspace }} \
|
||||||
|
--rm --interactive \
|
||||||
|
quay.io/coreos/butane:release --pretty --strict < ignition.bu > ignition.ign
|
||||||
|
|
||||||
|
- name: 📊 📈 Upload Ignition Configuration
|
||||||
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ignition
|
||||||
|
path: ignition.ign
|
||||||
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
35
ignition.bu
Normal file
35
ignition.bu
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
variant: fcos
|
||||||
|
version: 1.6.0
|
||||||
|
passwd:
|
||||||
|
users:
|
||||||
|
- name: core
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJUIc1V15Cf16Hm4HvhWV4hTUUO5iC+YkzUhE8O8c0Yy cardno:23_538_379
|
||||||
|
- ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBFqTkrlJyOBIPlBeDxtCsH6IFL+C8i8KZToxsmCyd1cdwc9+RXc864hHYP3QA+2MVdi396W62vf+w3BF0P3GyzyTDzw7gr4/iOEFCpW0UCtAnqklfQ72Mli1lxkV8LBxQA== cardno:23_538_379
|
||||||
|
groups:
|
||||||
|
- wheel
|
||||||
|
- sudo
|
||||||
|
- docker
|
||||||
|
systemd:
|
||||||
|
units:
|
||||||
|
- name: postinst.service
|
||||||
|
enabled: true
|
||||||
|
contents: |
|
||||||
|
[Unit]
|
||||||
|
Description=Initial System Setup
|
||||||
|
After=systemd-machine-id-commit.service
|
||||||
|
After=network-online.target
|
||||||
|
Before=zincati.service
|
||||||
|
ConditionPathExists=!/var/lib/%N.stamp
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/bin/rpm-ostree install -y --allow-inactive qemu-guest-agent
|
||||||
|
ExecStart=/usr/bin/curl --output-dir "/etc/yum.repos.d" --remote-name https://download.docker.com/linux/fedora/docker-ce.repo
|
||||||
|
ExecStart=/usr/bin/rpm-ostree override remove moby-engine containerd runc docker-cli --install docker-ce
|
||||||
|
ExecStart=/bin/touch /var/lib/%N.stamp
|
||||||
|
ExecStart=/bin/systemctl --no-block reboot
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user