This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go get -u github.com/onsi/gomega | |
go: downloading golang.org/x/net v0.40.0 | |
go: downloading golang.org/x/text v0.25.0 | |
go: downloading golang.org/x/sync v0.14.0 | |
go: upgraded go 1.22 => 1.23.0 | |
go: added toolchain go1.23.6 | |
go: upgraded github.com/google/go-cmp v0.6.0 => v0.7.0 | |
go: upgraded github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 => v0.0.0-20241210010833-40e02aabc2ad | |
go: upgraded github.com/onsi/ginkgo/v2 v2.19.0 => v2.23.3 | |
go: upgraded github.com/onsi/gomega v1.34.1 => v1.37.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.osbuild.org/guides/blueprint-reference/blueprint-reference.html | |
name = "example" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.osbuild.org/guides/blueprint-reference/blueprint-reference.html | |
name = "example" | |
[[packages]] | |
name = "bash-completion" | |
[[packages]] | |
name = "vim-enhanced" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Decisions for the initial version so far: | |
# | |
# * Implementation-free schema (detach from osbuild/image-builder). | |
# * Minimum top-level primitive types (name, description). | |
# * Prefer minimal nesting (two levels max). | |
# * Snake case naming for all keys (snake_case). | |
# * Plurals for composite elements (sequences, mappings). | |
# * Utilize native YAML data types (e.g. date, time). | |
# * Utilize default values from JSON Schema (boolean can be true). | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pipelines": { | |
"1": { | |
"stages": { | |
"$insert": [ | |
[ | |
0, | |
{ | |
"type": "org.osbuild.ostree.passwd", | |
"inputs": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
openapi: 3.0.1 | |
info: | |
version: "1.0" | |
title: Image-builder service | |
description: Service that relays image build requests | |
license: | |
name: Apache 2.0 | |
url: https://www.apache.org/licenses/LICENSE-2.0.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"bytes" | |
"context" | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" | |
"io" | |
"mime/multipart" | |
"os" | |
"path/filepath" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM quay.io/fedora/fedora-minimal:40 as builder | |
ARG name=Fedora | |
ARG version=40 | |
ARG arch=aa64 | |
RUN mkdir /b | |
WORKDIR /b | |
# Artifacts from kickstart repository. | |
RUN curl -RLO https://dl.fedoraproject.org/pub/fedora/linux/releases/${version}/Everything/$(uname -m)/os/.treeinfo | |
RUN curl -RLO https://dl.fedoraproject.org/pub/fedora/linux/releases/${version}/Everything/$(uname -m)/os/images/pxeboot/vmlinuz |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "Pulp 3 API", | |
"version": "v3", | |
"description": "Fetch, Upload, Organize, and Distribute Software Packages", | |
"contact": { | |
"name": "Pulp Team", | |
"email": "[email protected]", | |
"url": "https://pulpproject.org" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%pre | |
cat /sys/class/net/*/address | grep -v 00:00:00:00:00:00 | awk '{print "X-RHN-Provisioning-MAC-" NR ": "unused $0}' > /tmp/pre_headers | |
curl -H @/tmp/pre_headers -k https://satellite/unattended/provision > /tmp/pre_kickstart | |
%end | |
%include /tmp_prekickstart |
NewerOlder