-
Notifications
You must be signed in to change notification settings - Fork 22
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
test: use ipaserver role from collection if it exists #256
Conversation
[citest] |
4 similar comments
[citest] |
[citest] |
[citest] |
[citest] |
@richm we plan to migrate all ansible_freeipa releases to a collection in late CY24Q2 in anything but CentOS 8 Stream (which is not supported anymore). Do you think this change is needed? On another point of view, a "galaxy role" would be nice to ensure collections are installed (or I'm missing something that already exists and I don't know). |
Do you mean CY25? There are a few problems with the basic ipa test:
Something needs to be changed/fixed - not sure exactly what.
Not sure what you mean? |
[citest] |
2 similar comments
[citest] |
[citest] |
ace3ba5
to
c1a6948
Compare
[citest] |
c1a6948
to
508771b
Compare
[citest] |
508771b
to
8b65c74
Compare
[citest] |
2 similar comments
[citest] |
[citest] |
2a85061
to
a2f076c
Compare
[citest] |
@rjeffman once this merges - linux-system-roles/tft-tests#67 - you will be able to add this line https://github.com/linux-system-roles/certificate/blob/main/.github/workflows/tft.yml#L172
to get verbose output |
@rjeffman linux-system-roles/tft-tests#67 is merged - you can make the suggested change to tft.yml to get debugging output |
[citest] |
3 similar comments
[citest] |
[citest] |
[citest] |
1623443
to
e6ec81e
Compare
[citest] |
@richm thank you! Now I have the needed info to look at it (even if it doesn't make sense to fail). |
[citest] |
1 similar comment
[citest] |
3673814
to
d90aa78
Compare
[citest] |
1 similar comment
[citest] |
Signed-off-by: Rafael Guterres Jeffman <[email protected]>
01bea01
to
98d7ac5
Compare
[citest] |
echo "===========================" | ||
echo " ipaserver-install.log" | ||
echo "===========================" | ||
cat ipaserver-install.log | ||
echo "===========================" | ||
echo " /var/log/messages" | ||
echo "===========================" | ||
cat /var/log/messages |
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.
@richm Is this the debug message that should be removed? I'm fine with simlpy removing it.
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.
This is fine - I meant https://github.com/linux-system-roles/certificate/blob/main/.github/workflows/tft.yml#L173
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.
May I suggest commenting out that line? It is great to have the indication, no the code, on how to reenable it.
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.
Something like:
diff --git a/.github/workflows/tft.yml b/.github/workflows/tft.yml
index ede80c4..68e5729 100644
--- a/.github/workflows/tft.yml
+++ b/.github/workflows/tft.yml
@@ -169,8 +169,8 @@ jobs:
ARTIFACTS_DIR=${{ steps.set_vars.outputs.ARTIFACTS_DIR }};\
TEST_LOCAL_CHANGES=false;\
LINUXSYSTEMROLES_USER=${{ vars.LINUXSYSTEMROLES_USER }};\
- ARTIFACTS_URL=${{ steps.set_vars.outputs.ARTIFACTS_URL }};\
- LSR_ANSIBLE_VERBOSITY='-vvv'"
+ ARTIFACTS_URL=${{ steps.set_vars.outputs.ARTIFACTS_URL }};"
+ # To increase ansible verbosity add to variables: LSR_ANSIBLE_VERBOSITY='-vvv'
# Note that LINUXSYSTEMROLES_SSH_KEY must be single-line, TF doesn't read multi-line variables fine.
secrets: "LINUXSYSTEMROLES_DOMAIN=${{ secrets.LINUXSYSTEMROLES_DOMAIN }};\
LINUXSYSTEMROLES_SSH_KEY=${{ secrets.LINUXSYSTEMROLES_SSH_KEY }}"
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #256 +/- ##
=========================================
- Coverage 32.95% 0 -32.96%
=========================================
Files 3 0 -3
Lines 613 0 -613
Branches 128 0 -128
=========================================
- Hits 202 0 -202
+ Misses 411 0 -411
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
No description provided.