Commit Graph

33 Commits

Author SHA256 Message Date
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
Thorsten Kukuk
ebd26da87e - Update to version 0.30.0+git20190308.8c69134:
* tests/positive/passwd: add test UseAuthorizedKeysFile
  * tests/*: expose env vars through Test.Env
  * internal/*: drop merging authorized_keys.d into authorized_keys
  * vendor: switch to go modules
  * MAINTAINERS: update

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=7
2019-03-09 13:25:02 +00:00
Thorsten Kukuk
1aa7e4b264 - Update to version 0.30.0+git20190301.2ce015b:
* tests: add test ensuring correct ordering of nodes
  * tests: move failing tests to negative
  * stages/files: sort entries by resolved depth
  * Fix function comments based on best practices from Effective Go
  * tests: add bb test for mounting with sylminks
  * stages/mount: fail if mount paths involve symlinks
  * internal/exec/util: make SplitPath public
  * config/translate: add unit tests
  * config/translate: add reflection based translator
  * internal/distro: use relative paths
  * exec/util/passwd: rename authorized_keys.d fragment to "ignition"

- Update to version 0.30.0+git20190225.7de027b:
  * oem: add metal oem
  * internal/exec: use nonzero default file permissions
  * *: drop OEM terminology
  * tests: drop OEMLookaside type
  * *: drop OEM URI support
  * tests/validator: show formatted os.FileMode in validateMode error
  * doc/configuration-v3_0_exp: update with fs changes
  * tests: refactor bb tests, add mount/umount stages
  * exec/stages: add mount and umount stages
  * tests/*: update bb tests for new fs semantics
  * exec/*: rework files and filesystems
  * validate/report: add helpers to cut verbosity
  * engine: log configs on failure and fetched urls
  * engine: clear highlights before logging reports
  * internal/exec: log hashes of configs not configs

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=6
2019-03-04 14:12:01 +00:00
Thorsten Kukuk
7d614b20f5 - Update to version 0.30.0+git20190215.cc767cc:
* vendor: remove unused dependency go4.org
  * config: replace go4's errorutil with own impl

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=4
2019-02-19 15:20:35 +00:00
Thorsten Kukuk
c19f054d4f - Update to version 0.30.0+git20190206.aad24ad:
* doc/development: add note to run individual blackbox tests
  * tests/types: add comments on some members of Test
  * internal/*: drop support for default.ign config files

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=3
2019-02-15 12:17:04 +00:00
Thorsten Kukuk
9fa71173b7 - Update to version 0.30.0+git20190124.fd1e703:
* docs: fix stale link to config 2.x

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=2
2019-01-30 14:16:32 +00:00
Thorsten Kukuk
3eed4fb729 Accepting request 666931 from home:kukuk:ignition
OBS-URL: https://build.opensuse.org/request/show/666931
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=1
2019-01-18 09:21:06 +00:00