Skip to content
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

hackathon: group coding session #83

Merged
merged 6 commits into from
May 28, 2024

Conversation

supakeen
Copy link
Member

Variety of small tidbits and examples as created during the Hackathon 00 group sessions.

This changes (some) directives to allow trailing `.tag`'s to work around
the issue of duplicate keys not being available.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
This was linked to issues May 15, 2024
These were defined as a group effort during a live programming session
on a video call. They're 'how we want things to work', not how things
currently work.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
mvo5
mvo5 previously approved these changes May 15, 2024
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for capturing this, this looks like exactly what we discuss.

options:
root_fs_uuid: ${filesystem.root.uuid}
boot_fs_uuid: ${filesystem.boot.uuid}
kernel_opts: '{{ " ".join(kernel_opts_list) }}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might need a "TODO: decide on final syntax"

@mvo5
Copy link
Contributor

mvo5 commented May 15, 2024

Just for completeness, we will need to go over this again and de-duplicate fedora and centos pipelnes/yamls to see what can be shared and what has to be duplicated but that is obviously follows and we will need tests that compare any refactoring we do to the expected manifests (so for later, but mentioning it for posterity :)

For consistency with Ansible it's preferable to use underscores instead
of dashes for directive names.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
@supakeen supakeen linked an issue May 16, 2024 that may be closed by this pull request
After more discussion yesterday this shows an example of how
customizations can be used and splits up the pipeline.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
@supakeen
Copy link
Member Author

Added more commits to this based on yesterdays work and discussion. Also did the straightforward change to use underscores in directive names.

With the future include of conditionals we have decided that
modifications will not be special cased in directives but instead will
be based on convention in the defines.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
@supakeen supakeen merged commit e7ff9b5 into osbuild:main May 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support otk.directive.<tag> Try to avoid - in the name of directives Implement CentOS Images
2 participants