-
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
bootstrap-coa-env(*) #164
bootstrap-coa-env(*) #164
Conversation
@@ -75,7 +75,7 @@ resources: | |||
bucket: ((s3-stemcell-bucket)) | |||
region_name: ((s3-stemcell-region-name)) | |||
# customization is required to remove bosh prefix in stemcell name | |||
regexp: ((stemcell-name-prefix))((stemcell-main-name))/bosh-stemcell-(.*)-((stemcell-main-name)).tgz |
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.
We may want to remove this.
c93923f
to
64a0209
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.
Explanations in the Readme are fine.
We may add openstack samples
Dockerfile
Outdated
@@ -24,6 +24,17 @@ RUN curl -sfL "https://codeclimate.com/downloads/test-reporter/test-reporter-lat | |||
RUN curl -sfL "https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc" > /usr/local/bin/gh-md-toc \ | |||
&& chmod a+x /usr/local/bin/gh-md-toc | |||
|
|||
RUN curl -sfL "https://github.com/starkandwayne/bucc/archive/v0.5.0.tar.gz" > bucc.tar.gz \ |
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.
We should see if we can use concourse to download bucc from github instead of a manual download
Readme.md
Outdated
- deploy_transiant_infra: you can deactivate this step if you already have an infrastructure with BOSH and Concourse | ||
- upload_stemcell: you can deactivate this step if you don't want a new stemcell to be uploaded to the BOSH Director | ||
- upload_cloud_config: you can deactivate this step if you don't want to overwrite the cloud config of the BOSH Director | ||
- install_git_server: you can deactivate this step if you have the git-server deployment already deployed on the BOSH Director |
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.
or a private git repo
ci/bootstrap_coa_env/prereqs.yml
Outdated
secrets-branch: master | ||
paas-templates-branch: master | ||
cf-ops-automation-uri: http://github.com/orange-cloudfoundry/cf-ops-automation/ | ||
cf-ops-automation-branch: 113_coa_env_bootstrap |
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.
we need to set it to master before merging this PR
@@ -112,7 +112,7 @@ resources: | |||
bucket: ((s3-stemcell-bucket)) | |||
region_name: ((s3-stemcell-region-name)) | |||
# customization is required to remove bosh prefix in stemcell name | |||
regexp: ((stemcell-name-prefix))((stemcell-main-name))/bosh-stemcell-(.*)-((stemcell-main-name)).tgz | |||
regexp: ((stemcell-name-prefix))/bosh-stemcell-(.*)-((stemcell-main-name)).tgz |
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.
Requires #128 or skip this change
@@ -452,7 +452,7 @@ jobs: | |||
- get: secrets-full-writer | |||
params: { submodules: none} | |||
- get: bosh-stemcell | |||
version: { path: ((stemcell-name-prefix))((stemcell-main-name))/bosh-stemcell-((stemcell-version))-((stemcell-main-name)).tgz } | |||
version: { path: ((stemcell-name-prefix))/bosh-stemcell-((stemcell-version))-((stemcell-main-name)).tgz } |
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.
Requires #128 or skip this change
@@ -831,7 +831,7 @@ jobs: | |||
echo "check-resource -r $BUILD_PIPELINE_NAME/<%= name %> --from version:((<%= name %>-version))" >> result-dir/flight-plan | |||
<% end %> | |||
<% end %> | |||
echo "check-resource -r $BUILD_PIPELINE_NAME/bosh-stemcell --from path:((stemcell-name-prefix))((stemcell-main-name))/bosh-stemcell-((stemcell-version))-((stemcell-main-name)).tgz" >> result-dir/flight-plan | |||
echo "check-resource -r $BUILD_PIPELINE_NAME/bosh-stemcell --from path:((stemcell-name-prefix))/bosh-stemcell-((stemcell-version))-((stemcell-main-name)).tgz" >> result-dir/flight-plan |
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.
Requires #128 or skip this change
stemcell-main-name: warden-boshlite-ubuntu-trusty-go_agent | ||
stemcell-version: "3586.25" | ||
s3-stemcell-endpoint: https://s3.amazonaws.com | ||
s3-stemcell-skip-ssl-verification: false |
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 a large configuration file, but I'm not sure it is possible to have a smaller one :-(
scripts/extract-credentials-list.rb
Outdated
@@ -0,0 +1,20 @@ | |||
#!/usr/bin/env ruby -w | |||
|
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 add a usage, and we may rename it to be more explicit (like extract-pipeline-credentials-list.rb)
spec/helpers/utils.rb
Outdated
File.join(File.join(File.dirname(__FILE__), '..', path, 'fixtures')) | ||
end | ||
|
||
def new_tmpdir_path |
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.
Why not using mktmpdir ?, so we won't need tmp/.gitkeep
@@ -133,5 +135,4 @@ def fly(arg, env = {}) | |||
def execute(cmd, env = {}) | |||
fly("execute #{cmd}", env) | |||
end | |||
|
|||
end |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
to fix the stemcells issue, we need the online stemcell support (#128) |
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.
Do NOT merge due to change into depls-pipeline abour the stemcell
4fe5f23
to
f6756bd
Compare
I updated the branch. |
Could you please fix the following codeclimate issue:
|
Could you rebase and squash both commits into one. |
cb3627e
to
eabb3d9
Compare
files.each do |path| | ||
next if File.directory?(path) | ||
pipeline_content = File.read(path) | ||
creds_list << pipeline_content.scan(/\(\(([\w|-]*)\)\)/).flatten.uniq |
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 use %r{ } syntax
eabb3d9
to
b1d7304
Compare
I still need to fix the docs. |
db083ae
to
3a3aee0
Compare
3a3aee0
to
a7c0fba
Compare
Docs fixed |
a7c0fba
to
afdfd01
Compare
b835458
to
5eeae60
Compare
We still need to work on running bootstrap on openstack |
Fixes #113 .
Changes proposed in this pull-request: