SHA256
1
0
forked from pool/ignition
Commit Graph

56 Commits

Author SHA256 Message Date
Ignaz Forster
fe9ddf2dde - Update to version 2.17.0:
* NEWS: update 2.17.0
  * packit: add initial support
  * Bump minimum Go version to 1.19
  * Add vsock modules into ramdisk
  * Sync repo templates ⚙
  * providers/applehv: Add Apple Hypervisor
  * tests/blackbox: allow skipping critical logging check
  * stages/disks: retry `sgdisk --zap-all` invocation
  * Add optionally-installed grub2 code
  * internal/exec/stages/disks: prevent races with udev
  * providers/hetzner: add support for Hetzner Cloud
  * docs: expand development docs and rationale
  * doc/development: list the test frameworks
  * docs/development: improve formatting of blackbox section
  * build(deps): updated dependencies
- Increased required Go version
- Removed Changelog part of
  0005-dracut-Don-t-include-the-ignition-module-by-default.patch -
  the information is part of the patch description already and
  conflicts with the upstream Changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=116
2023-11-24 13:42:04 +00:00
Ignaz Forster
5825f98260 - Patch file cleanup:
* Improve description of
    0003-Move-the-GPT-header-on-resized-disks.patch
  * Rename
    0001-Order-ignition-disks.service-before-systemd-fsck-roo.patch
    to
    0004-Order-ignition-disks.service-before-systemd-fsck-roo.patch
  * Rename
    0001-dracut-Don-t-include-the-ignition-module-by-default.patch
    to
    0005-dracut-Don-t-include-the-ignition-module-by-default.patch

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=113
2023-09-06 11:12:20 +00:00
Ignaz Forster
569fa9e2a7 Accepting request 1105491 from home:favogt:combustion
- Omit ignition module in initrds for already configured systems:
  * Add 0001-dracut-Don-t-include-the-ignition-module-by-default.patch
  * Edit module-setup.sh
- Add explicit dep on combustion in module-setup.sh
- Replace ignition-dracut-grub2 with combustion's firstboot.target:
  * Add 0001-Order-ignition-disks.service-before-systemd-fsck-roo.patch
  * Edit ignition-suse-generator
  * Edit ignition-umount-initrd-fstab.service
  * Edit module-setup.sh
  * Drop 02_ignition_firstboot
  * Drop ignition-firstboot-complete.service
  * Adjust README.SUSE
- Edit ignition-umount-initrd-fstab.service to not rely on combustion
  units forcing proper order

- Add 0003-Move-the-GPT-header-on-resized-disks.patch to make it
- Fix patch file metadata in 0001-ignore-missing-qemu-blockdev.patch
  and 0002-allow-multiple-mounts-of-same-device.patch

OBS-URL: https://build.opensuse.org/request/show/1105491
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=111
2023-08-23 14:09:02 +00:00
Ignaz Forster
f1241dbb88 - Fix segmentation fault if filesystem section of Ignition JSON
doesn't contain path entry
- Add 0003-Move-the-GTP-header-on-resized-disks.patch to make it
  possible to create partitions on resized disk images
- Add dm and crypt modules as dependencies to make it possible to
  configure a luks device
- Fix patch file metadata

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=110
2023-08-23 13:44:12 +00:00
Ignaz Forster
af996b5cb5 - Update to version 2.16.2:
* dracut: make hv_utils module optional
  * Fix build on 32-bit systems
  * Doc updates
  * build(deps) updates
  * providers/qemu: read modprobe path from distro package
  * Add support for Hyper-V platform
  * internal/exec: don't relabel a mountpoint that already exists
  * internal/exec/util: check if unit exists before disabling
  * Dockerfile.validate: update to Fedora 38
  * generate: simplify build of doc generator
  * platform: allow provider fetch to save files to write from files stage
  * templates: update CI ratchet procedure for Butane spec stabilization
  * go.mod: add deep-copy package
  * providers: rename noop to metal
  * platform: drop function pointer indirection for fetch method
  * providers: add Config wrapper structs for cmdline and system providers
  * internal: empty out providers base package
  * internal: move provider registrations out of platforms package
  * templates/stabilize-checklist: disable tests using exp Butane config
  * providers/vmware: rename some structs
  * internal: move stage registration into a separate package
  * platform: avoid needless function pointer indirection in methods
  * tests: port to xfsprogs 5.19+
  * test: ShellCheck fixes

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=108
2023-07-13 22:57:17 +00:00
Ignaz Forster
f6f06357ab - Move all /usr/libexec contents to %sbindir
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=102
2023-03-07 16:19:28 +00:00
Ignaz Forster
bd60f29f75 Fix minimum required Go version
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=101
2023-03-07 16:06:19 +00:00
Ignaz Forster
b4479a8bf8 - Update to version 2.15.0:
* Features
    * Support offline Tang provisioning via pre-shared advertisement (3.4.0)
    * Allow enabling discard passthrough on LUKS devices (3.4.0)
    * Allow specifying arbitrary LUKS open options (3.4.0)
    * Ship aarch64 macOS ignition-validate binary in GitHub release artifacts
  * Changes
    * Mark the 3.4.0 config spec as stable
    * No longer accept configs with version 3.4.0-experimental
    * Create new 3.5.0-experimental config spec from 3.4.0
    * Fail if files/links/dirs conflict with systemd units or dropins
    * Warn if template for enabled systemd instance unit has no Install section
    * Warn if filesystem overwrites partitioned disk
    * Warn if wipeTable overwrites a filesystem that would otherwise be reused
    * Warn if user/group specified for hard link
    * Install ignition-apply in /usr/libexec
    * Allow distros to add Ignition command-line arguments from a unit drop-in
    * Convert NEWS to Markdown and move to docs site
    * Require Go 1.18+
  * Bug fixes
    * Don't overwrite LUKS1 volume when storage.luks.wipeVolume is false
    * Request network when custom Clevis config has needsNetwork set
    * Fix creating LUKS volume with custom Clevis config that uses TPM2
    * Avoid logging spurious error when a LUKS volume wasn't previously formatted
    * Fix version string in ignition-validate release container
    * Fix reproducibility of systemd preset file in ignition-apply output
    * Document that user/group fields aren't applied to hard links
    * Clarify spec docs for files/directories/links group fields
- Modified 0002-allow-multiple-mounts-of-same-device.patch to add
  new Ignition spec version
- Add 0001-ignore-missing-qemu-blockdev.patch [bsc#1207679] to
  support booting without configuration device on s390x.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=100
2023-03-07 15:49:53 +00:00
Ignaz Forster
a54e27fc9c Move ignition-rmcfg to /usr/sbin
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=96
2022-06-10 22:25:46 +00:00
Ignaz Forster
8bba5e9cf6 - Update to version 2.14.0:
* NEWS: update v2.14.0
  * docs/operator-notes: add section on provisioning secrets
  * Dockerfile.validate: build with Fedora 36
  * internal/resource: fix gs:// fetches in GCE without a service account
  * docs/operator-notes: document supported S3 URL formats
  * internal/resource: fix S3 access point object ARNs
  * exec/util: fix infinite loop in Depth() if -root is relative
  * Add ignition-delete-config.service and ignition-rmcfg symlink
  * providers/virtualbox: support deleting Ignition configs
  * providers/virtualbox: add comment referencing VirtualBox source
  * providers/virtualbox: add define for GUEST_PROP_FN_GET_PROP
  * providers/virtualbox: add helper to set up hypervisor connection
  * providers/vmware: support deleting Ignition configs
  * main: add ignition-rmcfg multicall binary
  * go.mod: add github.com/beevik/etree
  * providers/vmware: switch to internal copy of OVF parser
  * internal/resource: fix bucket field in error message
  * internal/resource: derive AWS region hint from ARN partition field
  * internal/resource: simplify test
  * internal/resource: fix minor nits
  * provider/azure: try to fetch userdata from IMDS
  * providers/vmware: convert OVF tests to testify
  * providers/vmware: drop vmw-ovflib docs
  * providers/vmware: add verbatim copy of vmw-ovflib
  * providers/vmware: add constants for guestinfo and OVF property names
  * providers/virtualbox: fix reading properties with flags
  * internal/resource: support S3 access point URLs
- Update fixes CVE from [bsc#1199524]; this introduces a new
  service "ignition-delete-config.service"
- Add ignition-rmcfg-suse.conf dropin to adapt to SUSE environment
- Use fixed paths in spec file for hardcoded installation paths

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=95
2022-06-09 16:46:15 +00:00
Ignaz Forster
a71d5e1ac3 - ignition-mount-initrd-fstab.service:
- Don't ignore errors in loops
  - Unmount mount points recursively - a new submount may have
    appeared
  - Split umount part into own service file:
- ignition-umount-initrd-fstab.service:
  - Unmounts the additional mounts as soon as they are not
    required for Ignition any more; the ExecStop operation is
    running quite late in initrd and may unmount essential mount
    points flagged with "x-initrd.mount" (e.g. when storing /usr on
    a separate mount point). In theory this will also affect
    Ignition itself, but it hasn't been reported as a problem so
    far.

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=91
2022-04-06 17:10:21 +00:00
Ignaz Forster
93209cb94e - Don't include non-MarkDown files in documentation
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=90
2022-04-04 17:25:05 +00:00
Ignaz Forster
6957e768d0 Accepting request 964892 from home:fos:branches:devel:kubic:ignition
- Add ignition-touch-selinux-autorelabel.conf: Trigger SELinux autorelabel after Ignition runs; Ignition would support SELinux itself, however this is a compile time option, so it can't be used here.
- Filter commented lines in ignition-mount-initrd-fstab.service

OBS-URL: https://build.opensuse.org/request/show/964892
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=88
2022-03-25 15:23:52 +00:00
Ignaz Forster
c489446194 Accepting request 962210 from home:favogt:combustion
- Remove /var/lib/YaST2/reconfig_system if a config was provided:
  * ignition-remove-reconfig_system.service

OBS-URL: https://build.opensuse.org/request/show/962210
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=86
2022-03-16 16:27:02 +00:00
Ignaz Forster
b2be981c8f Accepting request 959393 from home:favogt:combustion
- Add support for NetworkManager in dracut:
  * ignition-enable-network.service, ignition-enable-network.sh

OBS-URL: https://build.opensuse.org/request/show/959393
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=83
2022-03-04 15:13:47 +00:00
Ignaz Forster
19d289ada8 - Update to version 2.13.0
- Removed obsolete ignition-rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=82
2021-12-01 10:00:39 +00:00
Ignaz Forster
406cbf31e8 - Update to version 2.12.0:
* news: add notes for 2.12.0
  * stages/files: add previousReport to result report
  * tests: fix linter warning
  * workflows: limit permissions to reading repo contents
  * workflows: bump linter version
  * go.mod: revendor
  * Drop EOL Go versions
  * internal/distro: drop DiskByIDDir
  * providers/azure: add support for azure gen2 VMs
  * stages/mount: correctly relabel the root of a fresh ext4 filesystem
  * exec: fix permissions for mountpoints in home dirs
  * tests: drop os.ModeDir requirement in mode of output directories
  * examples: reboot with --force
  * exec/util: add blkid API to query block devices based on FSTYPE
  * stages/files: use IntToPtr() in createCrypttabEntries()
  * stages/files: write result report to /var/lib/ignition
  * engine: persist fetched config summaries in State
  * stages/disks: use State to persist keyfiles for files stage
  * *: add general mechanism for persisting state between stages
  * main: drop -clear-cache flag
  * engine: don't hardcode neednet path
  * fetch-offline: return ErrNeedNet if we need net
  * engine: switch Engine.logReport() to pointer receiver
  * engine: fix incorrect error in log message
  * dracut: drop ignition-setup-user.service
  * dracut: drop reference to ignition-setup-base.service
  * providers/gcp: access GCP metadata service by IP address
  * Remove ignition-firstboot-complete.service
  * OWNERS: remove
  * internal/exec/util: drop device argument from cResultToErr()
  * docs/config*: document storage.luks.clevis.threshold default
  * ci: disable spec bump external test workaround
  * docs: Add Ignition release / Spec version table
  * templates: update example releng signing ticket
  * templates: don't update %gotest lines
* Provide ignition-firstboot-complete.service (removed by upstream
  due to correctly being considered distro spcific), based on the
  old upstream version; removed all non-SUSE specific stuff and
  integrated our own changes
* Removed change-ignition-firstboot-path.conf (changes are
  integrated into ignition-firstboot-complete.service now).
* Provide ignition-setup-user.service  (removed by upstream due
  to correctly being considered distro spcific), based on the old
  upstream version.
* Renamed ignition-setup-user-suse.sh to ignition-setup-user.sh
* Adapted ignition-generator-suse and module-setup.sh to use the
  custom ignition-setup-user.service (no overriding of parts of the
  service file necessary any more).
* Synced ignition-kargs-helper script with upstream example
* Raising minimum Go version to 1.15 as required by upstream

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=79
2021-08-09 15:33:18 +00:00
Ignaz Forster
1d10eb3817 - Update to version 2.11.0:
* news: add notes for 2.11.0
  * Upgraded docs
  * config/*: return report from previous parser when chaining
  * config/*: re-order testcases by version
  * tree: update for stable v3.3.0 and new v3.4.0-experimental
  * config/v3_4_experimental: adapt for experimental
  * config/v3_4_experimental: copy from config/v3_3
  * config/v3_3: adapt for stabilization
  * config/v3_3_experimental: rename to config/v3_3
  * config/v3_3_exp: pointerify ClevisCustom Config and Pin
  * config/v3_3_exp: pointerify Raid.Level
  * config/v3_3_exp: pointerify LinkEmbedded1.Target
  * stages/disks: simplify a check
  * config/v3_1/translate: don't point to field from input struct
  * config/v3_3_exp: drop devices from schema "required" field
  * config/*: validate that storage.raid.devices is non-empty
  * config/*/types: add RAID validation tests
  * config/shared/errors: fix ErrSparesUnsupportedForLevel message
  * config: fix comment
  * *: formally bump Go to 1.13
  * platform: add powervs platform
  * internal/providers/*stack: drop dead timeout code
  * stages/disks: improve error reporting for LUKS device reuse
  * ignition-setup-user.service: drop Before=multipathd.service
  * Dockerfile: build ignition-validate container using Fedora
  * workflows: test on Go 1.16
  * ...
- Refreshed to match new Ignition spec
  * 0002-allow-multiple-mounts-of-same-device.patch

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=74
2021-07-07 17:06:33 +00:00
Ignaz Forster
b6323ddc45 Accepting request 904616 from home:fos:branches:home:susnux:branches:devel:kubic:ignition
Implement missing ignition-kargs-helper script for kernel argument support

OBS-URL: https://build.opensuse.org/request/show/904616
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=73
2021-07-07 16:27:38 +00:00
Ignaz Forster
2a7ae9b190 Accepting request 896386 from home:susnux:branches:devel:kubic:ignition
Update to version 2.10.1

OBS-URL: https://build.opensuse.org/request/show/896386
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=72
2021-07-07 16:05:13 +00:00
Ignaz Forster
2013d255f8 Accepting request 845760 from home:fbui:branches:devel:kubic:ignition
- Replace  '%service_del_postun -n' with '%service_del_postun_without_restart'
  '-n' is deprecated and will be removed in the future.

OBS-URL: https://build.opensuse.org/request/show/845760
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=70
2021-04-01 08:36:34 +00:00
Ignaz Forster
5e7f8ff147 Accepting request 882428 from home:anthr76:branches:devel:kubic:ignition
- Update to version 2.9.0:
  * news: add notes for 2.9.0
  * internal/providers: Run platform Init function before fetching config
  * internal/providers/aws: fix panic when an IMDSv2 token is present
  * internal/resource/http: re-order initial backoff ramping
  * internal/providers/util: drop dead code
  * ci: move Travis jobs to GitHub actions
  * *: fix errcheck warnings
  * internal/log: drop the error return to appease golanci-lint
  * internal/providers/packet: fix ineffassign warning
  * internal/exec/stages/files: fix the EntrySort test
  * internal: support IMDSv2 for AWS metadata service
  * config/*: require filesystems.format with wipeFilesystem or mountOptions
  * docs: make storage.filesystems.path field optional
  * aws: Log if we fail to determine the EC2 region
  * docs: move systemd.units.name uniqueness constraint to units
  * *: fix gosimple warnings
  * *: fix deadcode warnings
  * *: fix staticcheck warnings
  * config/*: fix nil deref on partitions with no number or label
  * config: add specs newer than 3.0 to TestConfigStructure
  * news: add notes for 2.8.1
  * config/merge: support struct pointers
  * test: drop stale comment
  * tests: Remove unused checkOnStrings
  * news: add notes for 2.8.0
  * config: deprecate MergeStruct()
  * config/merge: allow obtaining a transcript of merge operations
  * config/merge: access field name as fieldMeta.Name
  * config/merge: test primitive list items in slice case 1
  * config/merge: fix typo
  * config/merge: fix comments and add a couple more
  * config/util: remove stray print when parsing invalid JSON
  * vendor: update vcontext
  * docs/development: update dep list for blackbox tests
  * tests/positive: Add tests for masking and unmasking units
  * units: add support for unmasking systemd units
  * release-checklist: minor updates to the release instructions
  * tests/positive/general: add test for merging multiple base configs
  * tests/positive/general: update base config reference
  * docs/development: update spec stabilization to avoid CI breakage
  * release-checklist: drop download_ignition.sh
  * providers/system: support .d directory for base config fragments
  * docs/migrating-configs: spell out Google Cloud Storage
  * release-checklist: update packaging section

OBS-URL: https://build.opensuse.org/request/show/882428
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=69
2021-04-01 08:36:09 +00:00
Ignaz Forster
46b5a9f643 - Update to version 2.7.0:
* Lots of things too long for this message
- Remove upstreamed patches
  * 0001-fix-install-permissions.patch
  * 0003-fix-i386-build.patch
  * ignition-fix-arm32-installation.patch
- Refreshed to match new Ignition spec

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=66
2020-10-19 19:20:01 +00:00
54b5c14dc3 Accepting request 832022 from home:fos:branches:devel:kubic:ignition
- Change virtualization detection from virt-what to systemd-detect-virt; this avoids a dependency to a hardcoded libexec path in module-setup.sh (which broke during the recent migration to /usr/libexec)

OBS-URL: https://build.opensuse.org/request/show/832022
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=60
2020-09-04 07:44:25 +00:00
Ignaz Forster
5ef30673f6 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=59 2020-09-04 07:36:49 +00:00
Ignaz Forster
78cbc42d54 Accepting request 827574 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Add patch to fix install on %arm:
  * ignition-fix-arm32-installation.patch

OBS-URL: https://build.opensuse.org/request/show/827574
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=57
2020-08-19 07:03:21 +00:00
Ignaz Forster
73cbccb97a Fix i386 build
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=51
2020-08-10 13:44:51 +00:00
Ignaz Forster
8d1e6666f1 - Update to version 2.6.0
- Update to version 2.5.0
  * Dropped 0003-Disable-resetting-UUID.patch (upstream moved the
    functionality into the CoreOS configuration.
  * Added ignition-enable-network.sh /
    ignition-enable-network.service:
    Implemented ignition-fetch-offline feature to only start
    networking if required
- Update to version 2.4.1
- Update to version 2.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=49
2020-08-10 09:28:19 +00:00
Ignaz Forster
b2b2dbf985 - Update to version 2.3.0:
* news: add notes for 2.3.0
  * config/v3_2_experimental: update all copyright dates
  * doc/configuration-*: update for new spec
  * tests: stabilize spec 3.1.0
  * *: update for new experimental spec
  * config/v3_2_experimental: set up package
  * config/v3_2_experimental: copy from config/v3_1
  * config/v3_1_experimental: mark stable
  * doc/development: update spec stabilization instructions
  * config: rename function for clarity
  * tests: bump invalid 2.x experimental version to match spec2x branch
  * config/v3_1_experimental: add some missing version tests
  * config/v3_1/translate: fix package name
  * doc/migrating-configs: update for 3.1.0
  * resource/url: allow compression in data URLs
  * doc/migrating-configs: mention spec 2.4.0
  * validate: accept any supported config version
  * exec: drop validate.go
  * doc/migrating-configs: put newest version first
  * Add SHA-256 reference in the docs
  * Add SHA-256 support for file verification
  * ci: run blackbox tests in CoreOS CI
  * Send ssh_authorized keys info into the journald log
  * Update go-systemd with the systemd module
  * Send a message to the systemd journal if a user config is provided
  * tests: add positive tests for resource compression
  * spec: unify resource fetching type
  * doc: clarify wording of files.*.verification.hash
  * vendor: refresh after gomod changes
  * gomod: update to go-systemd v22
  * stages: fix package names
  * providers/packet: override Accept header fetching instance metadata
  * resource/url: allow caller-specified headers to override defaults
  * Allow to specify HTTP headers for fetching configs and files

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=47
2020-05-11 08:52:22 +00:00
Ignaz Forster
75fb344a5c - Update to version 2.2.1:
* news: add notes for 2.2.1
  * providers/qemu: fix default to fwcfg
  * doc/development: remember to bump Accept header during spec bumps
- Remove 0001-Support-more-architectures.patch:
  Patch added upstream

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=45
2020-03-25 10:30:03 +00:00
Ignaz Forster
ec715b5a7c Accepting request 787793 from home:fos:branches:devel:kubic:ignition
- Add 0001-Support-more-architectures.patch: Allow builing on i586 (and other architectures) again

OBS-URL: https://build.opensuse.org/request/show/787793
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=43
2020-03-24 13:10:18 +00:00
Ignaz Forster
7644f984c8 - Update to version 2.2.0:
* news: add notes for 2.2.0
  * Fix ignition config for the instantiated unit test
  * Fix enabling systemd instantiated services
  * providers/qemu: support Ignition block device on s390x and ppc64le
  * blkid: Explicitly use C int variable for numParts
  * tests: don't panic after failing to run Ignition
  * platform: sort providers
  * ci: migrate to new coreos-ci project
  * OWNERS: add OWNERS file
  * Add Exoscale provider
  * docs: minor fixes to platforms page
  * ci: hook up to CoreOS CI
  * providers/vultr: Add Vultr provider
  * Throw error if SSH keys could not be written
  * stages/files: don't relabel /home and /root symlinks
- Drop 0001-Throw-error-if-SSH-keys-could-not-be-written.patch
- Added explicit Recommends for helper applications
  [boo#1167289]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=42
2020-03-24 08:38:15 +00:00
Ignaz Forster
a7602e9b10 - Do not use SSH keys fragments, those are not supported by
openSUSE. [boo#1161265]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=40
2020-01-21 17:55:37 +00:00
Ignaz Forster
b92998c6fe - Add 0002-allow-multiple-mounts-of-same-device.patch:
Allow mounting a device multiple times, e.g. to mount several
  subvolumes from a Btrfs device or bind mounting the device to
  multiple places, by also adding the path to the key.
  [Workaround for gh#coreos/ignition#890]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=38
2020-01-14 17:10:41 +00:00
Ignaz Forster
7f434f12b7 - Add 0001-Throw-error-if-SSH-keys-could-not-be-written.patch:
Don't silently ignore if the SSH key could not be written
  [boo#1159232]

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=36
2020-01-08 18:08:37 +00:00
Ignaz Forster
29b985c591 - Update to version 2.1.1:
* stages/files: don't relabel /home and /root symlinks
  * tests/filesystems: fix error handling
  * blackbox tests: don't swallow errors
  * log: use os.ProcessState.ExitCode instead of unix
  * travis: bump min go to 1.12
  * news: add notes for 2.1.1
  * readme: fix links, add validation container docs
  * Dockerfile: add dockerfile for ignition-validate
  * news: add news for v2.1.0
  * README.md: add details about dracut and branches here
  * doc/operator-notes: simplify SELinux section
  * mount: also relabel mount points
  * util: factor out FindFirstMissingDirForFile function
  * files: perform relabeling from initrd
  * doc/examples: Make example file path valid
  * Rework fetch/resource to automatically append required headers

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=34
2019-12-23 14:52:35 +00:00
Ignaz Forster
6100c02da3 - Update to version 2.0.1+git20191112.a924dd7:
* tests: remove unused partitions, dead code
  * internal,tests: abolish syscall package
  * vendor: include golang.org/x/sys/unix
  * providers: add ibmcloud
- turn off SELinux by default

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=32
2019-11-20 11:07:23 +00:00
Ignaz Forster
324178741b - Update to version 2.0.1+git20191106.809f44a:
* Add test cases for file system mount options
  * Add translator for Filesystem struct
  * Document file system mount options
  * Implement file system mount options
  * providers: add initial zVM hypervisor support
  * travis: test on arm, use new ubuntu, cleanup
  * config/v3_1_exp/types: validate http(s) proxies
  * tests: remove unused stub for id
  * distro: turn on SELinux by default
  * Add filesystem mount options to schema
  * files/passwd: don't shell out to id
  * files/passwd: clean up repetitive code
  * providers/aliyun: Add aliyun
  * release-checklist: mention mantle cl branch for 0.x.y releases
  * config/v3*: don't warn on unset mode if appending

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=30
2019-11-07 17:48:59 +00:00
Ignaz Forster
8d1da0015c - Update to version 2.0.1+git20190925.641ec6a:
* selinux: use /run/systemd/relabel-extra.d for etc
  * resource/url: Don't use a tmpfile in FetchToBuffer
  * resource/url: use only needed ifaces in fetchFrom*
  * resource/url: make FetchFrom* private
  * Add a `fetch` stage
  * build: Add `make install`
  * tests: fix bb tests for size/start 0
  * Continue on empty GPT partition label
  * files/selinux: deglob user/group related paths
  * stages/files: relabel masking symlinks for systemd
  * engine: Write `/run/ignition.json` atomically
  * vendor: Add github.com/google/renameio
  * stages/filesystems: drop stray debug print
  * doc/supported-platforms: mention qemu version requirements
  * Source build file correctly
  * resource/url: update schema version in Accept header
  * fix check path mount
- Drop 0001-Continue-on-empty-GPT-partition-label.patch: Added
  upstream

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=27
2019-09-27 14:35:51 +00:00
Ignaz Forster
804a125886 - Update to version 2.0.1+git20190802.d523754:
* main: log stage at startup
- Add 0001-Continue-on-empty-GPT-partition-label.patch

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=24
2019-09-02 17:12:34 +00:00
Thorsten Kukuk
1728c42e56 - Update to version 2.0.1+git20190725.10b85d1:
* release-checklist: add step to submit to bodhi

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=22
2019-07-26 08:45:01 +00:00
Thorsten Kukuk
ad86359f9f - Update to version 2.0.1+git20190724.e75cf24:
* news: add news for v2.0.1
  * config/v*: run Node.Validate() as well
  * doc/getting-started: rm online validator section
  * providers/aws: get region after getting config.
  * providers: allow FetchConfig to mutate the fetcher
  * release-checklist: fix for new website and jenkins

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=21
2019-07-25 12:02:53 +00:00
Thorsten Kukuk
03603a4f92 - Update to version 2.0.0+git20190603.0c1da80:
* news: update for v2.0.0
  * build*: use --always with git describe
  * vendor: switch to coreos/vcontext
  * config/validate: add tests for duplicate checking
  * build: export GOFLAGS so they get used
  * config/validate: add test for validation
  * config/validate: check for unused keys
  * internal/util/docs: update to use new validation
  * internal: update to use new validation code
  * config/validate: replace old validation with vcontext
  * config/v3*: update to use new validation functions
  * vendor: add vcontext
  * internal: create dev aliases in /run/ignition/ instead of /
  * Update hostname example
  * tests/*: rename bb tests
  * release-checklist: split out 0.x and 2.x+ bits

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=18
2019-06-06 13:38:00 +00:00
Ignaz Forster
e112a78466 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=17 2019-06-06 12:15:28 +00:00
Ignaz Forster
c13820aa38 - Update to version 2.0.0~beta+git20190429.1eeb201:
* build_releases: update for using go mod
  * news: add news for v2.0.0-beta
  * doc: mv spec 3.1.0 -> 3.1.0-experimental
  * contributing.md: add pointer to development guide
  * doc/operator-notes: add section on config merging
  * test: turn on docs checking
  * doc/migrating-configs.md: update for spec 3.0.0
  * doc/development.md: update doc for spec 3.0.0
  * doc/getting-started.md: update for spec 3.0.0
  * doc/examples.md: update for spec 3.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=15
2019-05-02 09:14:36 +00:00
Thorsten Kukuk
9acb12c335 - Update to version 0.30.0+git20190424.9212ea6:
* doc: add docs for existing link behavior
  * tests: add test for matching links
  * tests: fix test runner to link in the correct root
  * stages/files: do not fail if links are correct
  * tests/positive: test hardlinking to symlinks
  * tests/validator: use os.Lstat() not os.Stat()
  * config/*/types/storage: fail on hardlinked dirs

- Update to version 0.30.0+git20190417.ccc74c4:
  * doc/config-v3_*: Add notes about uniqueness

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=14
2019-04-25 07:44:32 +00:00
Thorsten Kukuk
6b25b7b18e - Update to version 0.30.0+git20190411.205ae79:
* providers/vmware: update for new vmware library
  * vendor: update to use vmware libraries
  * tests: update code for google's uuid package
  * vendor: switch to github.com/google/uuid
  * vendor: bump go-semver to latest
  * vendor: update aws-sdk-go to latest tag
  * doc: Document new proxy configuration options
  * vendor: Add golang.org/x/net/http/httpproxy dep
  * tests: Initial positive/negative tests
  * engine: Update http client based on proxy config
  * schema: Add proxy config and properties
  * *: bump import path
  * platform: drop "pxe"
  * doc: add documentation for 3.1.0-experimental spec
  * tests: turn on 3.1.0-experimental tests
  * *: switch to using 3.1.0-experimental everywhere
  * tests: don't fail on 3.1.0-experimental
  * config: add v3.1.0-experimental spec
  * tests/runner: use generic parse
  * providers/util: use generic parse
  * internal/engine: use generic parse
  * tests: add test for directory correction
  * doc/spec-3_0: clarify behavior with overwrite
  * stages/file: fail if relabeling and no restorecon
  * stages/files: allow directory matching
  * config/v3_0/types: add files verification tests
  * config/v3_0/types/file: add more validation
  * config/helpers: make StrToPtr strict
  * doc/spec-3_0: clarify overwrite behavior

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=12
2019-04-15 11:56:51 +00:00
Ignaz Forster
47ab4b18b8 Fix Ignition dracut path
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=11
2019-03-21 14:42:38 +00:00
Ignaz Forster
1ab3241eee - Copy binary to dracut module directory as required by
b11553f9e2

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=10
2019-03-18 17:39:14 +00:00
Thorsten Kukuk
436d69878e Revert last change
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=9
2019-03-18 09:08:00 +00:00