Skip to content

Commit 4a539b3

Browse files
committed
Use new cosa build naming model
coreos/coreos-assembler#1459 is going to add support for more convenient multiple builds. Here the `name` is derived simply from the name of the manifest file. We use the summary for cloud uploads, so that moves to `image.yaml`.
1 parent 7510b1a commit 4a539b3

File tree

3 files changed

+34
-37
lines changed

3 files changed

+34
-37
lines changed

fedora-coreos.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ref: fedora/${basearch}/coreos/testing-devel
2+
include: manifests/fedora-coreos.yaml
3+
4+
releasever: "31"
5+
6+
repos:
7+
# these repos are there to make it easier to add new packages to the OS and to
8+
# use `cosa fetch --update-lockfile`; but note that all package versions are
9+
# still pinned
10+
- fedora
11+
- fedora-updates
12+
- fedora-modular
13+
- fedora-updates-modular
14+
15+
# All Fedora CoreOS streams share the same pool for locked files.
16+
# This will be in fedora-coreos.yaml in the future so it can be more easily be
17+
# shared between all the streams
18+
lockfile-repos:
19+
- fedora-coreos-pool
20+
21+
add-commit-metadata:
22+
fedora-coreos.stream: testing-devel
23+
24+
postprocess:
25+
# Disable Zincati and fedora-coreos-pinger on non-production streams
26+
# https://github.com/coreos/fedora-coreos-tracker/issues/163
27+
- |
28+
#!/usr/bin/env bash
29+
set -xeuo pipefail
30+
mkdir -p /etc/fedora-coreos-pinger/config.d /etc/zincati/config.d
31+
echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/163\nreporting.enabled = false' > /etc/fedora-coreos-pinger/config.d/90-disable-on-non-production-stream.toml
32+
echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/163\nupdates.enabled = false' > /etc/zincati/config.d/90-disable-on-non-production-stream.toml

image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This replaces image.ks
2+
summary: "Fedora CoreOS testing-devel"
23
# size is the target disk size in GB.
34
size: 8
45

manifest.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fedora-coreos.yaml

0 commit comments

Comments
 (0)