Integrated CI/CD Solution for Microsoft Azure
Перейти к файлу
Lyon Till 177e8d1fd8
Templates, Docs and Owners (#14)
* Docs, Templates and Settings (#1)

* Add .github/

* Update README.md

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Add config.json

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Delete config.json

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Update .github/

* Add .pipelines/

* Add settings.json

* Update README.md

* Update settings.json

* Update settings.json

* Update README.md

* Update README.md

* Pipelines (#2)

* Update pull.yml

* Update push.yml

* Pipelines and Comments (#3)

* Update pull.yml

* Update push.yml

* Update pull.yml

* Update push.yml

* Pipelines (#4)

* Update pull.yml

* Update push.yml

* Update pull.yml

* Update push.yml

* Update README.md (#5)

* Repository (#6)

* Update README.md

* Update README.md

* Actions (#7)

* Update README.md

* Update README.md

* Update pull.yml

* Update push.yml

* Update .github/

* Update .pipelines/

* Update .pipelines/

* Update .pipelines/

* Update .github/

* Update README.md

* Update .github/

* Update .github/

* Update .github/

* Update .pipelines/

* Update SECURITY.md
2021-03-08 14:21:06 +00:00
.github Templates, Docs and Owners (#14) 2021-03-08 14:21:06 +00:00
.pipelines/templates Templates, Docs and Owners (#14) 2021-03-08 14:21:06 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2021-02-18 06:22:04 -08:00
LICENSE Initial LICENSE commit 2021-02-18 06:22:07 -08:00
README.md Templates, Docs and Owners (#14) 2021-03-08 14:21:06 +00:00
SECURITY.md Templates, Docs and Owners (#14) 2021-03-08 14:21:06 +00:00
SUPPORT.md Initial release (#12) 2021-03-04 22:46:27 +00:00
settings.json Initial release (#12) 2021-03-04 22:46:27 +00:00

README.md

AzOps Accelerator

Configuration

The following script blocks and steps will prepare the repository for Push and Pull operating models.

GitHub Actions

Run either the bash or powershell script blocks from within the root of repository.

# Create workflows directory
mkdir .github/workflows

# Copy actions templates
cp -R .github/templates/simple/ .github/workflows/

# Remove pipelines artefacts
rm -rf .pipelines/
# Create workflows directory
New-Item -Path ./ -Name ".github/workflows" -ItemType Directory

# Copy actions templates
Copy-Item -Path ./.github/templates/simple/* -Destination ./.github/workflows/ -Recurse

# Remove pipelines
Remove-Item -Path ./.pipelines/ -Recurse -Force

After running the script blocks, the following repository secrets will need to be created.

  • ARM_CLIENT_ID
  • ARM_CLIENT_SECRET
  • ARM_TENANT_ID
  • ARM_SUBSCRIPTION_ID

Azure Pipelines

Run either the bash or powershell script blocks from within the root of repository.

# Copy templates to the root
cp -R .pipelines/templates/simple/ .pipelines/

# Edit the following files
.pipelines/pull.yml
.pipelines/push.yml

# Remove Actions
rm -rf .github/
# Copy actions templates
Copy-Item -Path ./.pipelines/templates/simple/* -Destination ./.pipelines/ -Recurse

# Remove pipelines
Remove-Item -Path ./.github/ -Recurse -Force

After running the script blocks, the following pipeline variables will need to be created.

  • ARM_CLIENT_ID
  • ARM_CLIENT_SECRET
  • ARM_TENANT_ID
  • ARM_SUBSCRIPTION_ID

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.