Skip to content

Commit

Permalink
upgrade(3.0.0): include bootstrap-all-init-pipelines in credentials u…
Browse files Browse the repository at this point in the history
…pgrade
  • Loading branch information
o-orand committed Aug 9, 2018
1 parent fe5c7b3 commit cd0e66c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upgrade/v3.0.0/01-upgrade-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def insert_iaas_specific_pipeline(ci_deployment_overview)
migrated = false
ci_deployment_overview['ci-deployment']&.each do |_, details|
details['pipelines']&.each do |name, pipeline_config|
if name.end_with?('-init-generated')
if name.end_with?('-init-generated') || name == 'bootstrap-all-init-pipelines'
puts "\t>> INFO: checking #{name} configuration"
if pipeline_config['vars_files'].include?('micro-depls/concourse-micro/pipelines/credentials-iaas-specific.yml')
puts "\t>> INFO: required credentials already part of #{name} configuration"
else
Expand Down

0 comments on commit cd0e66c

Please sign in to comment.