microsoft / cobalt

Infrastructure turn-key solution for app service workloads
MIT License
115 stars 78 forks source link

Cleaned up scripts after conversion to inlined YAML temlates #343

Closed awkwardindustries closed 5 years ago

awkwardindustries commented 5 years ago

All Submissions:


What is the current behavior?


Currently when using the version 'n' go process, external script files must also be pulled and included in the build artifact for usage by the pipeline. This introduces complexity of requiring a secondary Git repo from which to pull the scripts and/or authentication issues if the repo is not public. Although it can be worked around with git commands in an inline script task, inlining all of the external scripts would allow us to remove this dependency.

Issue Number: Closes #298

What is the new behavior?


All scripts have been rewritten as single task YAML template files. These can be reused across the pipelines, and when referred to as a repository reference, they will automatically be included by Azure DevOps and will not need to be downloaded as a separate process.

This PR closes out the final cleanup, removing an unused commons.sh and updating the azure-pipelines-app.yml template file to remove the inline script task that used git clone to pull down the external scripts to be included as part of the build artifact.

Does this introduce a breaking change?


Any relevant logs, error output, etc?


(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Other information