1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

Drop fedora-coreos-pinger

It's a stub service that only parses a config file, and we never
adequately documented the config file.  We have no current plans to
finish implementing the service, so let's drop it.

Fixes https://github.com/coreos/fedora-coreos-tracker/issues/770.
This commit is contained in:
Benjamin Gilbert
2022-06-22 14:29:32 -04:00
committed by Benjamin Gilbert
parent c048af0980
commit 0b03cef07d
8 changed files with 9 additions and 17 deletions

View File

@@ -26,7 +26,6 @@ TRIVIAL_FAST_TRACKS = [
'rust-afterburn',
'rust-bootupd',
'rust-coreos-installer',
'rust-fedora-coreos-pinger',
'rust-ignition-config',
'rust-zincati',
]

View File

@@ -1,2 +0,0 @@
ostree-layers:
- overlay/16disable-zincati-and-pinger

View File

@@ -0,0 +1,2 @@
ostree-layers:
- overlay/16disable-zincati

View File

@@ -16,7 +16,7 @@ include: fedora-coreos-base.yaml
conditional-include:
- if: prod == false
# long-term, would be good to support specifying a nested TreeComposeConfig
include: disable-zincati-and-pinger.yaml
include: disable-zincati.yaml
- if: basearch == "aarch64"
# Fixup for kdump on aarch64 AWS instances
include: kdump-aarch64-aws-workaround.yaml
@@ -47,8 +47,6 @@ packages:
- moby-engine
# Already pulled in by moby-engine, but let's be explicit. Typhoon uses it.
- containerd
# User metrics
- fedora-coreos-pinger
# Updates
- zincati
# Include and set the default editor
@@ -64,15 +62,14 @@ etc-group-members:
# ⚠⚠⚠ ONLY TEMPORARY HACKS ALLOWED HERE; ALL ENTRIES NEED TRACKER LINKS ⚠⚠⚠
# See also the version of this in fedora-coreos-base.yaml
postprocess:
# Disable Zincati and fedora-coreos-pinger on non-release builds
# Disable Zincati on non-release builds
# https://github.com/coreos/fedora-coreos-tracker/issues/212
- |
#!/usr/bin/env bash
set -xeuo pipefail
source /etc/os-release
if [[ $OSTREE_VERSION = *.dev* ]]; then
mkdir -p /etc/fedora-coreos-pinger/config.d /etc/zincati/config.d
echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/212\nreporting.enabled = false' > /etc/fedora-coreos-pinger/config.d/95-disable-on-dev.toml
mkdir -p /etc/zincati/config.d
echo -e '# https://github.com/coreos/fedora-coreos-tracker/issues/212\nupdates.enabled = false' > /etc/zincati/config.d/95-disable-on-dev.toml
fi
# Users shouldn't be configuring `rpm-ostreed.conf`

View File

@@ -1,5 +1,3 @@
# User metrics client
enable fedora-coreos-pinger.service
enable coreos-check-ssh-keys.service
# Check if cgroupsv1 is still being used
enable coreos-check-cgroups.service

View File

@@ -1,2 +0,0 @@
# https://github.com/coreos/fedora-coreos-tracker/issues/163
reporting.enabled = false

View File

@@ -35,14 +35,14 @@ Things that are more closely "Fedora CoreOS":
* disable password logins by default over SSH
* enable SSH keys written by Ignition and Afterburn
* branding (MOTD)
* enable services by default (fedora-coreos-pinger)
* enable FCOS-specific services by default
* display warnings on the console if no ignition config was provided or no ssh
key found.
16disable-zincati-and-pinger
------------------------
16disable-zincati
-----------------
Disable Zincati and fedora-coreos-pinger on non-production streams:
Disable Zincati on non-production streams:
https://github.com/coreos/fedora-coreos-tracker/issues/163
20platform-chrony