-
Notifications
You must be signed in to change notification settings - Fork 6
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
107 living documentation refactored #149
Conversation
c744a42
to
60e1eb4
Compare
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.
Please consider updating README.md w.r.t. to stemcell management that were updated in release 20 as part of #129:
deployment-dependencies.yml
still mentions stemcell as well as the FAQ section- Add a dedicated "bosh stemcell manegement" that describes the current
Besides, on the reference data set
- add comments to the shared_condfig.yml
# provides a default value for stemcell to use. Can be overriden in private-config.yml in config repo
Please also update #129 with actual specifications implemented, and add a new issue for next features to be implemented
a0ccfe6
to
0488cd4
Compare
72d8774
to
9670fc4
Compare
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.
There're two things I'd rework:
- I'd follow some of the Rubocop advices
- I'd rename are_ok? to something like are_present?
@gberche-orange , @lucaspinto changed done |
ecd9a45
to
0ff2d7d
Compare
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.
Thanks @o-orand please see refined stemcell documentation wording suggestion.
Additionally https://github.com/orange-cloudfoundry/cf-ops-automation/blob/107_living_documentation_refactored/docs/reference_dataset/config_repository/private-config.yml should probably include fully supported properties (ideally uncommented to be covered by automated tests)
Readme.md
Outdated
The same stemcell is used for all deployments, it is defined in [shared-config.yml](docs/reference_dataset/template_repository/shared-config.yml) | ||
or in [private-config.yml](docs/reference_dataset/config_repository/private-config.yml), but the version is managed by | ||
`root-deployment` using dedicated [<root-deployment>-versions.yml](docs/reference_dataset/template_repository/hello-world-root-depls/hello-world-root-depls-versions.yml) | ||
|
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.
@o-orand thanks for the documentation update.
Suggestion improvement below:
In order to be portable across multiple infrastructures, and allow for centralized stemcell upgrades, deployment authors rely on COA to manage stemcells including offline replication, uploading to bosh director and purge, and stemcell version selection at deployment time. Deployment authors therefore use the following syntax in their deployment manifests:
stemcells:
- alias: trusty
os: ubuntu-trusty
version: latest
At deployment time, the deployment manifest is transformed by COA to load the expected stemcell version (say 3586.25
).
The same stemcell generation (currrently ubuntu-trusty
) is used for all deployments as defined by authors in shared-config.yml
or overloaded by operators in private-config.yml.
The exact stemcell version (say 3586.25
) is used within a root-deployment as defined by authors in <root-deployment>-versions.yml
Ability to support more than one stemcell (e.g. both trusty
and `xenial) is considered in #155
Ability to fetch conditionally fetch online stemcells is considered in #128
Ability to for authors to use different stemcell version per deployment is considered in #15
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.
Additionally the stemcell sections would better live in the Template engine reference documentation
section than in the FAQ
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.
Thanks for the rewording, I will update the readme accordingly except the last part with issue reference. I'm not sure we need to reference issue in the readme.
About private-config.yml, the overriding mechanism is already Unit Tested in config-spec.rb , I won't include more tests in reference_dataset to avoid a reverse test pyramid (ie more acceptance test than unit test).
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.
@gberche-orange as discussed I've included commented values for private-config.yml
10261e5
to
317b9de
Compare
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.
thanks @o-orand !
TODO: - add feature descriptions to illustrate bosh / TF / cf-apps/ concourse-pipeline pipelines - ensure all tests from spec/reference_dataset/reference_dataset_spec.rb are covered by cucumber feature, and then delete spec/reference_dataset/reference_dataset_spec.rb => credentials management is missing ! Done: - gem update - rework sample tf files - Lucas review - fix reference_dataset_documentation lib tests (Pipelines handles an output dir,...) - remove 'should' from feature - cucumber generated pipelines are in docs/reference_dataset/pipelines - add 'docs/reference_dataset/pipelines' cleanup, before running tests - updated reference_dataset_documentation lib to handle config dir without a root_deployment - cleanup gitignore - update readme
317b9de
to
81c9584
Compare
No description provided.