-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add regression test suite; fix redeploys with myhosttypes #82
Merged
dseeley-sky
merged 13 commits into
sky-uk:master
from
dseeley:dps_testsuite_redeploy_fixes
Jan 25, 2021
Merged
Add regression test suite; fix redeploys with myhosttypes #82
dseeley-sky
merged 13 commits into
sky-uk:master
from
dseeley:dps_testsuite_redeploy_fixes
Jan 25, 2021
Conversation
This file contains 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
+ Creates matrix builds to test multiple combinations of parameters simultaneously. + The declarative 'matrix' job has many deficiencies, which this addresses. This job makes calls out to a helper jenkinsfile to run the deploy/clean etc, an example is in EXAMPLE/jenkinsfiles/Jenkinsfile_ops. + Supports multiple matrices running in parallel (messy in BlueOcean) or in series (takes longer). + Support matrices of: multiple redeploy schemes, multiple OSs, multiple clouds, DNS enabled/disabled, myhosttypes set/unset. Code changes: + Deprecate the ping module for validating remote connection; it times-out on hosts that are slow to boot (e.g. centos). The fix allows the old method to remain, but issues a deprecation warning, and advice on how to fix it properly (by putting a wait_for_connection in the top-level playbook). + Add ability to override cluster_vars from a command-line parameter (cluster_vars_override) - allows test harness to + Fix jmespath "contains" logic for some of the redeploy tests (first parameter must be an array). + Prevent _scheme_addallnew_rmdisk_rollback running with myhosttypes (not a supported configuration) + Fix redeploy tidy cleaning more than it should.
…Simplify DNS testing. Fix release_version. Improve comments.
…ce' plugin), because the permissive-script-security plugin does not recognise these 'GroovyScript' classes, and so will not automatically add the to the approvedScriptHashes in /var/jenkins_home/scriptApproval.xml.
dseeley
force-pushed
the
dps_testsuite_redeploy_fixes
branch
from
January 17, 2021 17:42
d954383
to
2230459
Compare
…ific to the loaded cluster_vars. Useful, for example, for loading bastion SSH keys and Ansible SSH parameters at runtime.
dseeley
force-pushed
the
dps_testsuite_redeploy_fixes
branch
from
January 17, 2021 20:03
2230459
to
179be10
Compare
…books at runtime - removes credential coupling to Jenkins. Reorder the variables.
dseeley-sky
force-pushed
the
dps_testsuite_redeploy_fixes
branch
from
January 19, 2021 17:29
dd78965
to
560b555
Compare
dseeley-sky
force-pushed
the
dps_testsuite_redeploy_fixes
branch
from
January 21, 2021 23:58
1a9583f
to
610bbee
Compare
+ Prevent _scheme_rmvm_keepdisk_rollback from detaching the root volume from AWS instances + Only load bastion ssh_args when current host is in same network as bastion. + Fix deprecated wait_for_ssh to work with new bastion definitions (as much as possible). + Allow for gcp_dns_resource_record_set failures (suspect gcp throttling due to multiple machines registering simultaneously) + Update the nsupdate code to be inside cluster_vars + Change crlf to lf
antoineserrano
approved these changes
Jan 25, 2021
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.
Reviewed/tested extensively. Not merging yet, so a desired release version can be created instead of the automated job.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Testsuite: new scripted pipeline job (jenkinsfiles/Jenkinsfile_testsuite).
Clusterverse Fixes:
Clusterverse Enhancements: