-
Notifications
You must be signed in to change notification settings - Fork 278
butane: import as git subtree (alternative to #2235) #2237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
1301 commits
Select commit
Hold shift + click to select a range
b65a46e
openshift/v4.16: Stabilize 4.16.0 spec
yasminvalim 9821f9b
openshift/v4.16: Remove GRUB password support
yasminvalim 0212c04
openshift/v4_17_exp: Add 4.17.0-experimental spec
yasminvalim 6967c6e
Merge pull request #535 from yasminvalim/main-openshift-4.16-stable
travier 8e89483
docs/release-notes.md: Butane 0.21.0
yasminvalim 431c6a7
Merge pull request #538 from yasminvalim/release-notes0.21.0
travier c6b85dd
Dockerfile: update to Fedora 40
aaradhak d26d803
Merge pull request #540 from aaradhak/f40
aaradhak 6c465de
openshift/v4_18_exp: Copy from 4.17_exp
prestist 67953ed
openshift/v4_18_exp: Update spec to 4.18.0-experimental
prestist d83bd0d
openshift/v4.17: Stabilize 4.17.0 spec
prestist d588e25
openshift/v4.17: Use fcos 1.5 & ignition 3.4 specs
prestist 18d63d2
docs/release-notes: Update for 4.17 stabilization
prestist f99867f
docs/release-notes: Cleanup empty entries
prestist 19219ed
Merge pull request #547 from prestist/s-openshift-v4.17.0
travier 27d083a
docs/release-notes: update for release 0.23.0
yasminvalim 6d2ec2d
Merge pull request #548 from yasminvalim/release-0.22.0
yasminvalim 08303ab
Sync repo templates ⚙
coreosbot ed9e750
Merge pull request #549 from coreosbot-releng/repo-templates
prestist 1135e9e
Sync repo templates ⚙
coreosbot 266422d
Merge pull request #552 from coreosbot-releng/repo-templates
travier de67188
Sync repo templates ⚙
coreosbot 2ca6b36
Merge pull request #553 from coreosbot-releng/repo-templates
travier 9f99012
Sync repo templates ⚙
coreosbot 40fa2dd
Merge pull request #557 from coreosbot-releng/repo-templates
travier 6531c7f
fcos/1.6.0-exp: Fix context for boot_device.layout errors
travier 50dff55
vendor: Update ignition/v2 v2.19.0 & aws-sdk-go v1.53.5
madhu-pillai 5862ae0
Support LUKS encryption using IBM CEX secure keys on s390x
madhu-pillai da4b8a1
Merge pull request #536 from madhu-pillai/test_cex
prestist e37ee9c
mod: revendor latest ignition, stabilize 3.5
prestist a6374ff
Sync repo templates ⚙
coreosbot 6d5cf89
Merge pull request #561 from coreosbot-releng/repo-templates
travier 72550e5
docs: run generate with new ignition import
prestist 9a6a9d8
Dockerfile: update to Fedora 41
marmijo 011bb0c
Merge pull request #562 from prestist/ignition-spec-bump
prestist dbfdc5a
build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
dependabot[bot] 66c2a31
base: copy v0_6_exp to v0_7_exp
prestist 67d33f0
base/v0_7_exp: update imports and package names
prestist fba29d0
mod: re-vendor to bring in new v3_6_exp type
prestist 0d098ca
base/v0_6: stabilize v0_6_exp to v0_6
prestist 97194bc
fcos: copy v1_6_exp to v1_7_exp
prestist 969d811
fcos/v1_7_exp: update imports and package names
prestist 08d0764
fcos/v1_6: stabilize v1_6_exp to v1_6
prestist 65b9bff
fiot/v1_1_exp: update import to new base/v0_7_exp
prestist 04d1887
flatcar/v1_2_exp: update import to new base/v0_7_exp
prestist 95fb547
r4e/v1_2_exp: update import to new base/v0_7_exp
prestist 4cb7c67
openshift/v4_18_exp: update import for fcos and base to latest
prestist f9142bc
docs/main: add new fcos/v1_7_exp spec to doc generation, and run it
prestist 142bfeb
docs: update documentation for stablized and updated configs
prestist 83ce1eb
Merge pull request #566 from prestist/stablize-fcos-base-ocp
travier a982e39
Merge pull request #565 from marmijo/marmijo-rebase-41
travier 50516cd
docs/specs: Fix experimental spec mapping
travier c6bae08
Merge pull request #567 from travier/main-misc-fixes
prestist b35877e
config: Fix openshift 4.17.0 imports
yasminvalim f30c2c5
openshift/v4.18: Stabilize 4.18.0 spec
yasminvalim e78a040
openshift/v4_19_exp: Add 4.19.0-experimental spec
yasminvalim f1eabb5
Merge pull request #568 from yasminvalim/stabilise-openshift
yasminvalim b688aa5
docs/release-notes.md: release Butane 0.23.0
yasminvalim 0c9333a
Merge pull request #569 from yasminvalim/release-butane-0.23.0
yasminvalim b59d35f
Sync repo templates ⚙
coreosbot fff2279
Merge pull request #570 from coreosbot-releng/repo-templates
travier 255ce1a
Merge pull request #563 from coreos/dependabot/go_modules/github.com/…
prestist d5501f4
docs/getting-started: Update container image example
hrismarin 4c6588a
Reduce the 'podman' command verbosity
hrismarin 7f32eb5
Merge pull request #574 from hrismarin/docs-getting-started
travier c82ab10
docs/specs: Clarify that those are Butane spec versions
travier 55aa746
Merge pull request #578 from travier/main-docs-butane-spec
jlebon 8472813
build(deps): bump github.com/spf13/pflag
dependabot[bot] e8e0c97
Merge pull request #579 from coreos/dependabot/go_modules/github.com/…
prestist b4a0765
Sync repo templates ⚙
coreosbot f25a3e5
Merge pull request #583 from coreosbot-releng/repo-templates
prestist 26861a2
build(deps): bump github.com/coreos/ignition/v2 from 2.20.0 to 2.21.0
dependabot[bot] 8e71243
Merge pull request #585 from coreos/dependabot/go_modules/github.com/…
yasminvalim e1cf3c0
Sync repo templates ⚙
coreosbot ddd80d5
Merge pull request #587 from coreosbot-releng/repo-templates
yasminvalim 4e399f1
Add tmt smoke test
aaradhak 85d5275
Merge pull request #590 from aaradhak/gatingtest
aaradhak 7b832a5
Sync repo templates ⚙
coreosbot 5765069
Merge pull request #591 from coreosbot-releng/repo-templates
travier c0aa75b
issue_template/stabilize-checklist: add yaml matter header
prestist d9fd693
Merge pull request #584 from prestist/update-issue-temp
prestist 526d8c6
butane : Rearranged the path of files
aaradhak c24f4e9
Merge pull request #594 from aaradhak/gatingtestmv
aaradhak 9ded51e
Dockerfile: update to Fedora 42
aaradhak 8365117
Merge pull request #595 from aaradhak/f42
aaradhak 35caff5
Dockerfile: use quay.io as source for Fedora base image
aaradhak 09e63d2
Merge pull request #596 from aaradhak/f42
aaradhak 8ca162a
fix(boot_device): require LUKS methord when boot_device.luks.device i…
Roshan-R 7b445c1
Sync repo templates ⚙
coreosbot 334b541
Merge pull request #599 from coreosbot-releng/repo-templates
yasminvalim 9c96382
docs: note bugfix for failure when LUKS method is missing but device …
Roshan-R 87b1939
Merge pull request #597 from Roshan-R/fix/issue-560
Roshan-R 14c15d0
docs: Move new bug fix entry to unreleased version
travier 4830322
Merge pull request #600 from travier/main-docs-fixup
travier 52e30c0
feat: validate merged/replaced Ignition configs if they're local/inline
Roshan-R 0711f27
Merge pull request #602 from Roshan-R/fix/issue-275
prestist f283082
docs/specs.md: Add `v4.18.0` stable spec link to OpenShift versions
marmijo 95cfd1b
docs/upgrading-fcos: add cex key kernel argument to luks cex support …
marmijo 2df217b
openshift/v4_20_exp: Copy from 4.19_exp
prestist 01f6963
openshift/v4_20_exp: update spec to 4.20.0-experimental
prestist 8195684
openshift/v4.19: stabilize on fcos 1.6 & ignition 3.5
prestist aa6ad0b
openshift/v4_19: Remove GRUB config support
travier 6199428
Merge pull request #605 from prestist/ocp-4.19
travier a706ede
openshift/4.19+: Validate kernel arguments for CEX support
travier bf6dc54
Merge pull request #616 from travier/main-cex-validation
prestist 61bdadb
docs/release-notes: update for release
prestist 3254a20
Merge pull request #617 from prestist/release-0.24.0
travier e16e61a
Add github workflow for butane gating test
aaradhak e0819ae
Merge pull request #618 from aaradhak/f42
aaradhak 3e62b36
Revert "Add github workflow for butane gating test"
aaradhak 22ff214
Merge pull request #619 from coreos/revert-618-f42
aaradhak 3efa7e3
Add github workflow for butane gating test
aaradhak 70e51e0
build(deps): bump golangci/golangci-lint-action from 6 to 8
dependabot[bot] c9199a2
Merge pull request #621 from aaradhak/butaneworkflow
aaradhak 3556dfb
Migrate .golangci.yml to v2 configuration
yasminvalim 1a3c559
fix(lint): Correct issues found by staticcheck
yasminvalim 1921859
Merge pull request #609 from coreos/dependabot/github_actions/golangc…
yasminvalim 5fd44ed
Sync repo templates ⚙
coreosbot 5cf4f5f
Merge pull request #622 from coreosbot-releng/repo-templates
yasminvalim 679c28c
Sync repo templates ⚙
coreosbot 92a55c1
Remove special case for LUKS with FIPS
travier 19237a3
Merge pull request #630 from travier/rm-fips-code
travier a275209
build(deps): bump actions/checkout from 4 to 5
dependabot[bot] 7558a2f
Merge pull request #633 from coreos/dependabot/github_actions/actions…
yasminvalim b10cf94
docs/upgrading-openshift: add examples for features intoduced in 4.14
prestist d056b68
Merge pull request #608 from prestist/bugfix-ocp4.14
travier 68ae3b7
Merge pull request #627 from coreosbot-releng/repo-templates
yasminvalim e756917
openshift: stabilize 4.20.0
prestist 47ff967
openshift: add 4.21.0-experimental
prestist 170e2fc
docs: update for OpenShift 4.20.0 stabilization
prestist 2d9a25e
openshift/v4_20: Remove GRUB config support
prestist aac0cc0
Merge pull request #637 from prestist/OCP-4.20-S
travier b866dcb
build(deps): bump actions/setup-go from 5 to 6
dependabot[bot] 4e686ed
Merge pull request #639 from coreos/dependabot/github_actions/actions…
yasminvalim 12447ea
docs/release-notes: update for release v0.25.0
tlbueno a87fa70
Merge pull request #640 from tlbueno/rel-0.25.0
tlbueno b574ec3
build(deps): bump github.com/coreos/ignition/v2 from 2.22.0 to 2.23.0
prestist 5527728
*/validate_test: update expectation change
prestist c8b4287
docs: update sticky bit docs
prestist ce77074
issue-eval: add AI workflow to evaluate new issues
prestist 1494e2b
Merge pull request #642 from prestist/re-vendor-ignition
prestist 0f63357
Merge pull request #643 from prestist/tmp-support-eval-tool
prestist f214601
docs/release-notes: update for release v0.25.1
tlbueno 8ac60eb
Merge pull request #647 from tlbueno/rel-0.25.1
tlbueno 7872447
*/errors: add legacy boot device error
prestist 75e532f
Merge pull request #649 from prestist/add-legacy-error-boot
prestist e0238a6
build(deps): bump the build group across 1 directory with 3 updates
dependabot[bot] 5e8bedf
Merge pull request #645 from coreos/dependabot/go_modules/build-a7a35…
prestist cdf62ca
Sync repo templates ⚙
coreosbot 15e3674
dockerfile: rebase to F43 from F42
yasminvalim fa0792d
Merge pull request #654 from yasminvalim/rebase-fedora-43
yasminvalim 9d69040
bugfix: add validation for bootdevice mirror
prestist 60dded9
build(deps): bump golangci/golangci-lint-action from 8 to 9
dependabot[bot] 20492fd
Merge pull request #655 from coreos/dependabot/github_actions/golangc…
yasminvalim 7fec0b0
Merge pull request #653 from prestist/issue-592
prestist eac2c3d
Merge pull request #641 from coreosbot-releng/repo-templates
yasminvalim 61384e8
base/v0_7_exp: add ownership and mode support for trees
vic1707 93465e9
Merge pull request #644 from vic1707/tree-permissions
prestist 57cc441
Sync repo templates ⚙
coreosbot 1e571cb
*translate_test: update osStatName CreateFile to GetFileAttributesEX
prestist d119ca2
Merge pull request #657 from coreosbot-releng/repo-templates
prestist 8d521c8
build(deps): bump github.com/coreos/ignition/v2 in the build group
dependabot[bot] 6439707
Merge pull request #650 from coreos/dependabot/go_modules/build-13e54…
prestist aba7f2f
Sync repo templates ⚙
coreosbot 34922d6
Merge pull request #661 from coreosbot-releng/repo-templates
prestist d5b3449
Sync repo templates ⚙
coreosbot 3fb5552
Merge pull request #663 from coreosbot-releng/repo-templates
travier ff9d260
Sync repo templates ⚙
coreosbot 98f20cd
Merge pull request #664 from coreosbot-releng/repo-templates
travier b102310
Sync repo templates ⚙
coreosbot 39554fe
Merge pull request #667 from coreosbot-releng/repo-templates
prestist 3aa16e1
build(deps): bump github.com/coreos/ignition/v2 in the build group
dependabot[bot] d17af25
Merge pull request #668 from coreos/dependabot/go_modules/build-ac6bc…
prestist c878e95
openshift: stabilize 4.21.0
prestist dcc8789
openshift: add 4.22.0-experimental
prestist 3faf52a
docs: update for OpenShift 4.21.0 stabilization
prestist 4a2be91
openshift/v4_21: Remove GRUB config support
prestist de46670
Merge pull request #674 from prestist/OCP-4.21
prestist cef18e8
docs/release-notes: update for release v0.26.0
prestist 5103b76
docs/release-notes: update white-space to be consistent
prestist 0968746
Merge pull request #675 from prestist/new-release-0.26.0
prestist 97fe615
build(deps): bump github.com/coreos/ignition/v2 in the build group
dependabot[bot] a61cabf
Sync repo templates ⚙
coreosbot 03cc59d
Merge pull request #678 from coreosbot-releng/repo-templates
prestist 8abceff
Merge pull request #676 from coreos/dependabot/go_modules/build-8e0f6…
prestist 194a0fb
build(deps): bump github.com/coreos/go-systemd/v22 in the build group
dependabot[bot] ed81266
Merge pull request #679 from coreos/dependabot/go_modules/build-0778f…
prestist d319671
Sync repo templates ⚙
coreosbot e7c5b9b
Merge pull request #681 from coreosbot-releng/repo-templates
travier 902be61
Sync repo templates ⚙
coreosbot 96da0df
Merge pull request #682 from coreosbot-releng/repo-templates
travier 2323e3b
github.com/coreos/ignition/v2 from v2.25.1 to v2.26.0
prestist 82af378
Stabilize Ignition spec 3.6.0
prestist 39419e5
docs: run generate with new ignition import
prestist c3659e4
Merge pull request #685 from prestist/butane-stabliazation
prestist ba9bf4d
base: add v0_8_exp
prestist f1039b2
base/v0_7_exp: stabilize to v0_7
prestist 8a1e46e
fcos: add v1_8_exp
prestist f70a420
fcos/v1_7_exp: stabilize to v1_7
prestist 266284a
*: update experimental specs
prestist c89f6a7
internal/doc: update for fcos 1.7
prestist b05b485
docs: run generate
prestist 602b8f1
docs/specs: update for fcos 1.7
prestist 2bb9e42
docs/upgrading-fcos: add fcos 1.7
prestist 63633cb
Merge pull request #686 from prestist/continue-ignition-stablization
prestist a940189
docs/release-notes: update for release v0.27.0
prestist d6c452b
Merge pull request #689 from prestist/pre-release
prestist a64d86f
Sync repo templates ⚙
coreosbot 88be170
Merge pull request #690 from coreosbot-releng/repo-templates
yasminvalim f773932
Sync repo templates ⚙
coreosbot cf9fbf0
Merge pull request #691 from coreosbot-releng/repo-templates
prestist 1a2b170
opencode/skills/stabilize-spec: add skill for spec stabilization
prestist 92bdb91
opencode/skills/add-sugar: add skill for sugar feature addition
prestist 709d10b
opencode/skills/remove-feature: add skill for feature removal
prestist f543ff5
Merge pull request #692 from prestist/add-opencode-automation
prestist ceaa101
docs: add AGENTS.md and CLAUDE.md for AI agents
prestist 4dcc4b3
Merge pull request #697 from prestist/add-repo-docs-for-agents
prestist b422560
docs/release-notes: fix markdown lint warnings
Nemric 74283b3
base/v0.8: Add support for quadlets sugar
angelcerveraroldan d946aca
Merge pull request #699 from Nemric/main
prestist 9399e9c
Merge pull request #694 from angelcerveraroldan/quadlet-sugar
prestist e21e717
docs/index: fix link to getting-started page
andriibratanin 399bdc8
Merge pull request #693 from andriibratanin/patch-1
prestist 574fec4
fcos translate.go: add warn on small or constrained root partition
prestist a063fa1
fcos translate_test: add tests for partition constraint detection
prestist 06af893
Merge pull request #378 from prestist/warn-on-fs-too-small
prestist e297fd8
openshift/v4_22_exp: stabilize to v4_22
prestist c66a5c7
openshift: add v4_23_exp
prestist 60ea2e5
docs: update for OpenShift 4.22.0 stabilization
prestist 98bfb46
openshift/v4_22: remove GRUB config support
prestist c21e5be
Merge pull request #704 from prestist/OCP-4.22
prestist ec82b1a
docs/release-notes: update for release v0.28.0
prestist ad43e50
Merge pull request #705 from prestist/pre-release
yasminvalim 3ccabcf
docs/release-notes: fix openshift quadlets version reference
prestist a1a2ba7
Dockerfile: update to Fedora 44
marmijo 16c56f9
Merge pull request #706 from prestist/fix-quadlets-release-note
prestist 3d2d620
Sync repo templates ⚙
coreosbot 80b0f18
Merge pull request #707 from coreosbot-releng/repo-templates
travier 85a7edd
Merge pull request #701 from marmijo/update-f44
travier b3cb300
docs/release-notes: note Fedora 44 signing key
prestist 1921a40
Merge pull request #708 from prestist/pr-707-release-notes
prestist ca25c01
fcos: skip ErrReuseByLabel warning for boot_device.mirror disks
dustymabe 25687fa
Merge pull request #711 from dustymabe/dusty-elide-warning-for-boot-m…
travier 5ef0f54
base/util/test: Add helper wrapper for MakeDataURL
angelcerveraroldan e655cc1
*/translate_test: Do not pre-compute compressed data
angelcerveraroldan 4749a7f
internal/report: pretty error reporting
angelcerveraroldan c0af184
Merge pull request #696 from angelcerveraroldan/butane-pretty-ux
prestist 87d88f9
Merge pull request #713 from angelcerveraroldan/fix-compression-tests
angelcerveraroldan 1ffd1ca
butane: add coreos/butane as subtree merge
prestist 586fb51
*: update build and install for butane subtree integration
prestist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Maintained in https://github.com/coreos/repo-templates | ||
| # Do not edit downstream. | ||
|
|
||
| .PHONY: srpm | ||
| srpm: | ||
| dnf install -y git rpm-build rpmdevtools | ||
| # similar to https://github.com/actions/checkout/issues/760, but for COPR | ||
| git config --global --add safe.directory '*' | ||
| curl -LOf https://src.fedoraproject.org/rpms/butane/raw/rawhide/f/butane.spec | ||
| version=$$(git describe --always --tags | sed -e 's,-,\.,g' -e 's,^v,,'); \ | ||
| git archive --format=tar --prefix=butane-$$version/ HEAD | gzip > butane-$$version.tar.gz; \ | ||
| sed -ie "s,^Version:.*,Version: $$version," butane.spec | ||
| sed -ie 's/^Patch/# Patch/g' butane.spec # we don't want any downstream patches | ||
| spectool -g butane.spec # download any remaining sources (e.g. coreos-installer-dracut) | ||
| rpmbuild -bs --define "_sourcedir ${PWD}" --define "_specdir ${PWD}" --define "_builddir ${PWD}" --define "_srcrpmdir ${PWD}" --define "_rpmdir ${PWD}" --define "_buildrootdir ${PWD}/.build" butane.spec | ||
| mv *.src.rpm $$outdir |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 1 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # This config mainly overrides `summary: false` by default | ||
| # as it's really noisy. | ||
| have_fun: true | ||
| code_review: | ||
| disable: false | ||
| comment_severity_threshold: "MEDIUM" | ||
| max_review_comments: -1 | ||
| pull_request_opened: | ||
| help: false | ||
| # Turned off by default | ||
| summary: false | ||
| code_review: true | ||
| ignore_patterns: [] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.go text eol=lf |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| --- | ||
| name: release checklist | ||
| about: release checklist template | ||
| title: New release for butane | ||
| labels: jira,kind/release | ||
| warning: | | ||
| ⚠️ Template generated by https://github.com/coreos/repo-templates; do not edit downstream | ||
| --- | ||
|
|
||
| Release checklist: | ||
|
|
||
| Tagging: | ||
| - [ ] Write release notes in `docs/release-notes.md`. Get them reviewed and merged | ||
| - [ ] If the release signing key has changed because a new Fedora release has gone stable, note the change as done [here](https://github.com/coreos/butane/releases/tag/v0.12.0). | ||
| - [ ] If doing a branched release, also include a PR to merge the `docs/release-notes.md` changes into main | ||
| - [ ] Ensure your local copy is up to date with the upstream main branch (`git@github.com:coreos/butane.git`) | ||
| - [ ] Ensure your working directory is clean (`git clean -fdx`) | ||
| - [ ] Ensure you can sign commits and any yubikeys/smartcards are plugged in | ||
| - [ ] Run `./tag_release.sh <vX.Y.z> <git commit hash>` | ||
| - [ ] Push that tag to GitHub | ||
|
|
||
| Fedora packaging: | ||
| - [ ] Update the spec file in [Fedora](https://src.fedoraproject.org/rpms/butane): | ||
| - Bump the `Version` | ||
| - Switch the `Release` back to `1%{?dist}` | ||
| - Remove any patches obsoleted by the new release | ||
| - Run `go-mods-to-bundled-provides.py | sort` while inside of the `butane` directory you ran `./tag_release` from & copy output into spec file in `# Main package provides` section | ||
| - Update changelog | ||
| - [ ] Run `spectool -g -S butane.spec` | ||
| - [ ] Run `kinit your_fas_account@FEDORAPROJECT.ORG` | ||
| - [ ] Run `fedpkg new-sources $(spectool -S butane.spec | sed 's:.*/::')` | ||
| - [ ] PR the changes in [Fedora](https://src.fedoraproject.org/rpms/butane) | ||
| - [ ] Once the PR merges to rawhide, merge rawhide into the other relevant branches (e.g. f44) then push those, for example: | ||
| ```bash | ||
| git checkout rawhide | ||
| git pull --ff-only | ||
| git checkout f44 | ||
| git merge --ff-only rawhide | ||
| git push origin f44 | ||
| ``` | ||
| - [ ] On each of those branches run `fedpkg build` including rawhide. | ||
| - [ ] Once the builds have finished, submit them to [bodhi](https://bodhi.fedoraproject.org/updates/new), filling in: | ||
| - `butane` for `Packages` | ||
| - Selecting the build(s) that just completed, except for the rawhide one (which gets submitted automatically) | ||
| - Writing brief release notes like "New upstream release; see release notes at `link to docs/release-notes.md on GH tag`" | ||
| - Leave `Update name` blank | ||
| - `Type`, `Severity` and `Suggestion` can be left as `unspecified` unless it is a security release. In that case select `security` with the appropriate severity. | ||
| - `Stable karma` and `Unstable` karma can be set to `2` and `-1`, respectively. | ||
|
|
||
| GitHub release: | ||
| - [ ] Wait until the Bodhi update shows "Signed :heavy_check_mark:" in the Metadata box. | ||
| - [ ] Verify that the signing script can fetch the release binaries by running `./signing-ticket.sh test <x.y.z-r> <output-dir>`, where `r` is the Release of the Fedora package without the dist tag (probably `1`) | ||
| - [ ] Run `./signing-ticket.sh ticket <x.y.z-r>` and paste the output into a [releng ticket](https://forge.fedoraproject.org/releng/tickets/issues/new). | ||
| - [ ] Wait for the ticket to be closed | ||
| - [ ] Download the artifacts and signatures | ||
| - [ ] Verify the signatures | ||
| - [ ] Find the new tag in the [GitHub tag list](https://github.com/coreos/butane/tags) and click the triple dots menu, and create a draft release for it. | ||
| - [ ] Copy and paste the release notes from `docs/release-notes.md` | ||
| - [ ] Upload all the release artifacts and their signatures | ||
| - [ ] Publish the release | ||
|
|
||
| Quay release: | ||
| - [ ] Visit the [Quay tags page](https://quay.io/repository/coreos/butane?tab=tags) and wait for a versioned tag to appear | ||
| - [ ] Click the gear next to the tag, select "Add New Tag", enter `release`, and confirm | ||
| - [ ] Visit the [Quay tags page](https://quay.io/repository/coreos/fcct?tab=tags) for the legacy `coreos/fcct` repo and wait for a versioned tag to appear | ||
| - [ ] Click the gear next to the tag, select "Add New Tag", enter `release`, and confirm | ||
|
|
||
| RHCOS packaging for the current RHCOS development release: | ||
| - [ ] Update the [spec file](https://gitlab.com/redhat/rhel/rpms/butane) | ||
| - Bump the `Version` | ||
| - Switch the `Release` back to `1%{?dist}` | ||
| - Remove any patches obsoleted by the new release | ||
| - Run `go-mods-to-bundled-provides.py | sort` while inside of the `butane` directory you ran `./tag_release` from & copy output into spec file in `# Main package provides` section | ||
| - Update changelog | ||
| - [ ] Run `spectool -g -S butane.spec` | ||
| - [ ] Run `kinit your_account@IPA.REDHAT.COM` | ||
| - [ ] Run `rhpkg new-sources $(spectool -S butane.spec | sed 's:.*/::')` | ||
| - [ ] PR the changes | ||
| - [ ] Get the PR reviewed and merge it | ||
| - [ ] Update your local repo and run `rhpkg build` | ||
| - [ ] File ticket similar to [this one](https://issues.redhat.com/browse/ART-3711) to sync the new version to mirror.openshift.com | ||
| - [ ] Wait until mirror.openshift.com is updated and confirm the new version is correct | ||
|
|
||
| CentOS Stream 9 packaging: | ||
| - [ ] Create a `rebase-c9s-butane` issue in the internal team-operations repo and follow the steps there | ||
|
|
||
| CentOS Stream 10 packaging: | ||
| - [ ] Create a `rebase-c10s-butane` issue in the internal team-operations repo and follow the steps there |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| name: Stabilization checklist | ||
| about: Stabilization checklist template | ||
| title: New stabilization for Butane | ||
| labels: jira | ||
| --- | ||
|
|
||
| # Bumping spec versions | ||
|
|
||
| This checklist describes bumping the Ignition spec version, `base` version, and distro versions. If your scenario is different, modify to taste. | ||
|
|
||
| ## Stabilize Ignition spec version | ||
|
|
||
| - [ ] Bump `go.mod` for new Ignition release and update vendor. | ||
| - [ ] Update imports. Drop `-experimental` from Ignition spec versions in `*/translate_test.go`. | ||
|
|
||
| ## Bump base version | ||
|
|
||
| - [ ] Rename `base/vB_exp` to `base/vB` and update `package` statements. Update imports. | ||
| - [ ] Copy `base/vB` to `base/vB+1_exp`. | ||
| - [ ] Update `package` statements in `base/vB+1_exp`. | ||
|
|
||
| ## Bump distro version | ||
|
|
||
| - [ ] Rename `config/distro/vD_exp` to `config/distro/vD` and update `package` statements. Update imports. | ||
| - [ ] Drop `-experimental` from `init()` in `config/config.go`. | ||
| - [ ] Drop `-experimental` from examples in `docs/`. | ||
| - [ ] Copy `config/distro/vD` to `config/distro/vD+1_exp`. | ||
| - [ ] Update `package` statements in `config/distro/vD+1_exp`. Bump its base dependency to `base/vB+1_exp`. | ||
| - [ ] Import `config/vD+1_exp` in `config/config.go` and add `distro` `C+1-experimental` to `init()`. | ||
|
|
||
| ## Bump Ignition spec version | ||
|
|
||
| - [ ] Bump Ignition types imports and rename `ToIgnI` and `TestToIgnI` functions in `base/vB+1_exp`. Bump Ignition spec versions in `base/vB+1_exp/translate_test.go`. | ||
| - [ ] Bump Ignition types imports in `config/distro/vD+1_exp`. Update `ToIgnI` function names, `util` calls, and header comments to `ToIgnI+1`. | ||
|
|
||
| ## Update docs | ||
|
|
||
| - [ ] Update `internal/doc/main.go` to add the new stable spec and reference the new experimental spec in `generate()`. | ||
| - [ ] Run `generate` to regenerate spec docs. | ||
| - [ ] Update `docs/specs.md`. | ||
| - [ ] Update `docs/upgrading-*.md` for the new spec version. Copy the relevant section from Ignition's `doc/migrating-configs.md`, convert the configs to Butane configs, convert field names to snake case, and update wording as needed. Add subsections for any new Butane-specific features. | ||
| - [ ] Note the stabilization in `docs/release-notes.md`, following the format of previous stabilizations. Drop the `-exp` version suffix from any notes for the upcoming release. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Maintained in https://github.com/coreos/repo-templates | ||
| # Do not edit downstream. | ||
|
|
||
| # Updates are grouped together by ecosystem in a single PR. An update can be | ||
| # removed from a combined update PR via comments to dependabot: | ||
| # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates#managing-dependabot-pull-requests-for-grouped-updates-with-comment-commands | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: gomod | ||
| directory: / | ||
| schedule: | ||
| interval: weekly | ||
| open-pull-requests-limit: 10 | ||
| labels: | ||
| - dependency | ||
| - skip-notes | ||
|
|
||
| groups: | ||
| build: | ||
| patterns: | ||
| - "*" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Maintained in https://github.com/coreos/repo-templates | ||
| # Do not edit downstream. | ||
|
|
||
| name: Rebuild release container | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| git-tag: | ||
| description: Existing Git tag | ||
| default: vX.Y.Z | ||
| docker-tag: | ||
| description: New Docker versioned tag | ||
| default: vX.Y.Z-1 | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # avoid races when pushing containers built from main | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| jobs: | ||
| build-container: | ||
| name: Build container image | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ github.event.inputs.git-tag }} | ||
| # fetch tags so the compiled-in version number is useful | ||
| fetch-depth: 0 | ||
| # If we're running on a signed tag, actions/checkout rewrites it into | ||
| # a lightweight tag (!!!) which "git describe" then ignores. Rewrite | ||
| # it back. | ||
| # https://github.com/actions/checkout/issues/290 | ||
| - name: Fix actions/checkout synthetic tag | ||
| run: git fetch --tags --force | ||
| - name: Build and push container | ||
| uses: coreos/actions-lib/build-container@main | ||
| with: | ||
| credentials: ${{ secrets.QUAY_AUTH }} | ||
| push: quay.io/coreos/butane quay.io/coreos/fcct | ||
| arches: amd64 arm64 | ||
| tags: ${{ github.event.inputs.docker-tag }} release |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Maintained in https://github.com/coreos/repo-templates | ||
| # Do not edit downstream. | ||
|
|
||
| name: Container | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| tags: ["v*"] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # avoid races when pushing containers built from main | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| jobs: | ||
| build-container: | ||
| name: Build container image | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| # fetch tags so the compiled-in version number is useful | ||
| fetch-depth: 0 | ||
| # If we're running on a signed tag, actions/checkout rewrites it into | ||
| # a lightweight tag (!!!) which "git describe" then ignores. Rewrite | ||
| # it back. | ||
| # https://github.com/actions/checkout/issues/290 | ||
| - name: Fix actions/checkout synthetic tag | ||
| run: git fetch --tags --force | ||
| - name: Build and push container | ||
| uses: coreos/actions-lib/build-container@main | ||
| with: | ||
| credentials: ${{ secrets.QUAY_AUTH }} | ||
| push: quay.io/coreos/butane quay.io/coreos/fcct | ||
| arches: amd64 arm64 | ||
| # Speed up PR CI by skipping non-amd64 | ||
| pr-arches: amd64 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| # Maintained in https://github.com/coreos/repo-templates | ||
| # Do not edit downstream. | ||
|
|
||
| name: Go | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| permissions: | ||
| contents: read | ||
|
|
||
| # don't waste job slots on superseded code | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Test | ||
| strategy: | ||
| matrix: | ||
| go-version: [1.25.x, 1.26.x] | ||
| os: [ubuntu-latest] | ||
| include: | ||
| - go-version: 1.26.x | ||
| os: macos-latest | ||
| - go-version: 1.26.x | ||
| os: windows-latest | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - name: Set up Go 1.x | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: ${{ matrix.go-version }} | ||
| - name: Check out repository | ||
| uses: actions/checkout@v6 | ||
| - name: Install macOS dependencies | ||
| if: runner.os == 'macOS' | ||
| shell: bash | ||
| run: brew install coreutils | ||
| - name: Check modules | ||
| run: go mod verify | ||
| - name: Test | ||
| shell: bash | ||
| run: ./test | ||
| - name: Check Go formatting (gofmt) | ||
| if: runner.os == 'Linux' | ||
| shell: bash | ||
| run: | | ||
| GO_FILES=$(find . -name '*.go' -not -path "./vendor/*") | ||
| UNFORMATTED_FILES=$(gofmt -l $GO_FILES) | ||
| if [ -n "$UNFORMATTED_FILES" ]; then | ||
| echo "Go files are not formatted. Please run 'gofmt -w .' on your code." | ||
| gofmt -d $UNFORMATTED_FILES | ||
| exit 1 | ||
| fi | ||
| echo "All Go files are correctly formatted." | ||
| - name: Run linter | ||
| uses: golangci/golangci-lint-action@v8 | ||
| if: runner.os == 'Linux' | ||
| with: | ||
| version: v2.11.3 | ||
| regenerate: | ||
| name: Regenerate | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repository | ||
| uses: actions/checkout@v6 | ||
| - name: Set up Go 1.x | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: 1.26.x | ||
| - name: Regenerate | ||
| run: ./generate | ||
| - name: Check whether generated output is current | ||
| run: | | ||
| if [ -n "$(git status --porcelain docs)" ]; then | ||
| echo "Found local changes after regenerating:" | ||
| git --no-pager diff --color=always docs | ||
| echo "Rerun './generate'." | ||
| exit 1 | ||
| fi |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
BIN_PATHis a relative path (e.g.,bin/amd64), changing the directory tobutanewill cause the sub-build to write the binary tobutane/bin/amd64/butaneinstead of the top-levelbin/amd64/butane. This will cause the top-levelMakefileinstallation to fail because it expects the binary at the top-level directory.To fix this, resolve
BIN_PATHto an absolute path before changing the directory.