-
Notifications
You must be signed in to change notification settings - Fork 57
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
Feature Infrastructure Service #740
Feature Infrastructure Service #740
Conversation
hi all, we have also tested this within RM context and worked without issues (and LeVa docs looks good too!) :) this is the metadata.yml content used:
Screenshots: 2- within the current existing QS implementation: |
Hi @gerardcl
Regarding the stages I actually changed my mind ... |
BTW: @gerardcl and I will wait for your highly appreciated feedback before we proceed with our proposal. |
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.
Looks good to me
Hi @gerardcl , @nichtraunzer Above pipeline shows Smoke - could the full stage name be displayed? |
Is the cloud provider available as a parameter? |
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.
@gerardcl @nichtraunzer @tbugfinder Nice work, guys, but you currently leave out the end-user perspective. It would be good to see what the corresponding Jenkinsfile.template
of the AWS Quickstarter would look like for the user. Here I expect a corresponding change. The result of this change should be that this is now very slim. The benefit besides improved modularity and maintainability is that a support team can more easily assess if a component has been manipulated, or not.
Installation tests are required after an installation into any environment. Pre-installation test optional, post-installation are not. |
@nichtraunzer Note that the Release Manager currently schedules |
Good point - we already considered providing a list of stages as optional parameter to odsComponentStageInfrastructure to specify only stages needed. Might require a wider discussion ...
Do you want to see "Smoke Test" Screenshots listed here are from 3.x/4.x branches - we did not touch naming of stages as far as I know ... |
Do we need that? Isn't that self contained as part of the Quickstarter? |
I can't follow - the question was if we want see substages or not - and I said I want to have substages :) |
We think that the current version is ready for a review @metmajer @tbugfinder @michaelsauter @kuebler |
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.
Great work overall, @nichtraunzer @gerardcl @tbugfinder. Some minor improvements asked for in the questions.
docs/modules/jenkins-shared-library/partials/odsComponentStageInfrastructure.adoc
Show resolved
Hide resolved
hi! so this is now ready to get a final review from all involved in this. Please, note that once this is merged (to master) we will need (correct me if I am wrong) to port this changes to ODS 4.x too. |
Thanks @gerardcl for the great support |
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.
I only had a brief glance, but overall this looks fine to me.
docs/modules/jenkins-shared-library/partials/odsComponentStageInfrastructure.adoc
Outdated
Show resolved
Hide resolved
Thanks @gerardcl and get well soon! |
@nichtraunzer can we please have the same changes in the 4.x branch via a dedicated PR? |
@metmajer I would like to run a complete end 2 end test together with the EDP first before moving to 4.x |
- Initial working version of the infrastructure service
Proposal to fix opendevstack/ods-quickstarters#631
For now the proposal is to have stage
odsComponentStageInfrastructureAWS
that usesInfrastructureService
which wraps theMakefile
make executions (similar approach as other tooling stages like Aqua). The config param expected are theenvPath
, which the default is as per current AWS quickstarter envs path./environments
, and theresourceName
used for tracking timings.In future we could consider naming it
odsComponentStageInfrastructure
and pass the provider as a config param, so any quickstarter specialized on a provider (e.g.: AWS, Azure, GCP,...) would just need the right environments and Makefile in place.The current approach will also let users have in the same component used for business logic (e.g.: nodejs backend) to leveraging the related resources in their infrastructure (e.g.: RDS or S3), keeping a nice micro-service config approach.
This is how the current QS Jenkinsfile would look like now:
TODO:
@metmajer shall I move the target issue to this repo?
FYI @metmajer @michaelsauter @tbugfinder @nichtraunzer @clemensutschig let me know your thoughts!
Question: would you agree and see no issues on adding (sub)stages within curren proposed stage (so to expose to jenkins specific stages for testing, build,... all called inside the main IaC stage)? Basically, with the new approach we only get one stage one:
And the previous one (which we could add back as suggested, with sub-stages) looks like: