File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,12 @@ elif [[ "${template_default_provider}" == "aws" ]]; then
323323 sed -i " s/kubernetes_db_proxy_enabled=false/kubernetes_db_proxy_enabled=true/" taito-config.sh
324324 sed -i ' /gserviceaccount/d' taito-config.sh
325325
326+ # Links
327+ sed -i ' /* services/d' taito-config.sh
328+ sed -i " s|^ \\ * logs:ENV=.*| * logs:ENV=https://${template_default_provider_region} .console.aws.amazon.com/cloudwatch/home?region=${template_default_provider_region} #logs: Logs (:ENV)|" taito-config.sh
329+ # TODO: monitoring
330+
331+ # AWS credentials
326332 sed -i ' /^ _IMAGE_REGISTRY:/a\ _AWS_ACCESS_KEY_ID:\n _AWS_SECRET_ACCESS_KEY:' cloudbuild.yaml
327333 sed -i ' /^ - taito_mode=ci/a\ - AWS_ACCESS_KEY_ID=$_AWS_ACCESS_KEY_ID\n - AWS_SECRET_ACCESS_KEY=$_AWS_SECRET_ACCESS_KEY' cloudbuild.yaml
328334 sed -i " /^ # TODO: should be implemented in taito-cli plugin\$ /,/^$/d" cloudbuild.yaml
363369# bitbucket
364370if [[ $ci == " bitbucket" ]]; then
365371 ci_script=bitbucket-pipelines.yml
366- sed -i " s/ gcloud-ci:-local/bitbucket-ci:-local/" taito-config.sh
372+ sed -i " s/ gcloud-ci:-local/ bitbucket-ci:-local/" taito-config.sh
373+
374+ # Links
375+ sed -i " s|^ \\ * builds.*| * builds=https://bitbucket.org/${template_default_git_organization:? } /${taito_vc_repository} /addon/pipelines/home Build logs|" taito-config.sh
376+ sed -i " s|^ \\ * project=.*| * project=https://bitbucket.org/${template_default_git_organization:? } /${taito_vc_repository} /addon/trello/trello-board Project management|" taito-config.sh
377+ # TODO: project documentation
367378else
368379 rm -f bitbucket-pipelines.yml
369380fi
You can’t perform that action at this time.
0 commit comments