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

[6.15.z] [Customer Case] Test for creating a host with lce specified #15006

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14321

Problem Statement

hammer host create did not previously support --lifecycle-environment options, only --lifecycle-environment-id

Now users should be able to create a host with --lifecycle-environment ['name'] set

Solution

Automation to create a host using the --lifecycle-environment option

* Test for creating a host with lce specified

* addressing comments

* rebase and adding to docstring

* fixing docstring issue

(cherry picked from commit 4e13993)
@Satellite-QE Satellite-QE requested a review from a team as a code owner May 8, 2024 20:00
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels May 8, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_host.py -k test_positive_create_host_with_lifecycle_environment_name

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6847
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_host.py -k test_positive_create_host_with_lifecycle_environment_name --external-logging
Test Result : ========== 1 passed, 87 deselected, 96 warnings in 711.74s (0:11:51) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label May 8, 2024
@pondrejk pondrejk merged commit 1234696 into 6.15.z May 9, 2024
16 checks passed
@pondrejk pondrejk deleted the cherry-pick-6.15.z-4e139931231f5b12f452a674e73c356c41e1abc9 branch May 9, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants