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

Support Fedora Image Mode #3229

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Support Fedora Image Mode #3229

wants to merge 2 commits into from

Conversation

thrix
Copy link
Collaborator

@thrix thrix commented Sep 19, 2024

  • Proof-of-concept
  • Discuss how to solve the scripts location read-only
  • Polish and prepare for merging

Pull Request Checklist

  • implement the feature
  • write the documentation
  • extend the test coverage
  • update the specification
  • adjust plugin docstring
  • modify the json schema
  • mention the version
  • include a release note

@thrix thrix added this to the 1.37 milestone Sep 19, 2024
@thrix thrix self-assigned this Sep 19, 2024
thrix added a commit to testing-farm/gluetool-modules that referenced this pull request Sep 20, 2024
With tmt from this MR:

teemtee/tmt#3229

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
@@ -58,6 +59,9 @@
# Scripts source directory
SCRIPTS_SRC_DIR = tmt.utils.resource_files('steps/execute/scripts')

# Scripts destination directory, hardcoded in the tmt.sh script
SCRIPTS_DEST_DIR = "/var/tmp/tmt/bin"
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a path, it shall be a Path instance.

Copy link
Collaborator

Choose a reason for hiding this comment

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

And I'd add a way to override this path right from the beginning, check out effective_pidfile_root(), but that would conflict with easy hard-coding the path into tmt.sh... Still, hard-coded paths turned out to not be generally usable, sooner or later, might be a good investment to get this one configurable while we're not [ushed by a looming regression...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense. Let's make it configurable.

@thrix thrix force-pushed the image-mode-fedora branch 3 times, most recently from e48ac2b to c8115ad Compare September 30, 2024 23:49
Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
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.

2 participants