* Adding TF bootstrap for Gitlab and corresponding CICD templates
* Remove reference to old project
* Addressing PR feedback by @TechnicallyWilliams
* Apply suggestions from code review
Incorporating PR feedback from @TechnicallyWilliams
Co-authored-by: Dexter Williams <dexterwilliams04@gmail.com>
* PR Feedback
Co-authored-by: Dexter Williams <dexterwilliams04@gmail.com>
* Maven Azure Function Pipeline port
* Initialize Readme
* add environment boundaries seciton; update language
* add finishing touches before PR
* fix broken link
Co-authored-by: Dexter Williams <Dexterw@microsoft.com>
* Initial port
* removing licensing
* add maven service usage example w/ generic service name and updated yaml template paths
* removing licensing, update readme
* updating readme
* removing final service name for maven service pipeline
* update service usage docs
* update language for both markdown files
* add pipeline diagram
* update terminology
* remove non-generic implementation details and variables
* update readme w/ image upload language
* remove unrelated section from readme; per suggestion, reworded to highlight purpose
* update language; update puncuation
Co-authored-by: Dexter Williams <Dexterw@microsoft.com>
* Append PR number to TF Workspace Name when available
* Re-order names to preserve full WS name on resources with shorter maxlength
* Resolves 'Vault name must be between 3-24 alphanumeric characters. The name must begin with a letter, end with a letter or digit, and not contain consecutive hyphens.'
* Avoid double dashes in names when 'name' var is not present
* scripted workspace name computation
* Configurable PR and resource name isolation
* Edits to support whitelisting self-hosted build agents.
Also fixes an issue with PNG files when developing Cobalt on Windows machines.
Also has a couple temporary 'prefix' edits to isolate this work stream from the default AZ environment.
* Updating unit test counts
* updating lint error
* updating unit tests
* removing dynamic name key
* formatting
* formatting
* remove workstream-specific prefixes
* update test expectation
* removed out-modded tests
* removed un-needed integration tests
* update test resource count
* disable webhook int testing
* remove source code providing a default for `resource_ip_whitelist`
(demand it is provided at runtime by users)
* remove source code providing a default for `resource_ip_whitelist`
(demand it is provided at runtime by users)
* remove source code providing a default for `resource_ip_whitelist`
(demand it is provided at runtime by users)
* update unit_test to match expectations
* force TF CLI to gen errors for missing-but-required vars
* ensure certain new env vars are exported
* update int test
* remove dead code
* the list of IPs for unit tesings are misleading (these particular values aren't important)
* adding TF_CLI_ARGS as environment variable to pass in additional inputs to the cli
* adding changes to the documentation
* updating the environment template file to take out quotes and leave it as empty
* adding consistency with quotes for apply and destroy
* adding a check to see if the values for the TF_CLI_ARGS are unset or undefined
* removing quotations from the bash scripts for the additional args
* add agent `pool` attributes to all `job` defs
* point the `release/provision` jobs at an `agent pool` not a `vmImage`
* move the `pool` def up, alike the build-stage
(and help keep it at the right indentation level)
* Pipeline updates to support configuration of skipping tests, always running jobs, and overriding Git credentials. Added App-specific pipeline to support version-n-go.
* Support env var > parameter > default for forcing the run and skipping tests. Mask PAT from output.
* changing the formatting setup of the readme and deleting the empty readme
* readjust the table of contents to move design towards the end
* some ideas for project main readme
* Refactor main project README.md to be smaller and reference other more granular README docs. Also added some high level template/module documentation.
* Adding in the main steps for the application developers - TODO adding in detailed instructions and UI images
* updating the getting started for app dev doc...Screenshots to be added
* updating the readme with the screenshots of the az devops portal steps
* Merged getting started documentation into a single feature branch to ensure coverage.
* update getting started doc
* update getting started doc
* update getting started doc
* Updates to docs; added preview feature notes and environment variable groups.
* update getting started doc
* update getting started doc
* update getting started doc
* Added initial cut of CLI version of app dev focused Getting Started
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* Updated with CLI commands
* Fixed removal of unneeded pieces.
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* update getting started doc
* Updates to CLI docs. Broke out steps into separate code blocks versus single code block.
* adding some minor changes to the app dev readme
* Moved getting started docs into new 'docs' directory.
* Updated links and resolved CLI docs comments.
* Update GETTING_STARTED_ADD_PAT_OWNER.md
* Update GETTING_STARTED_APP_DEV_CLI.md
* update getting started doc
* Merging master into WIP for IP Whitelist Integration
Consolidating IP Whitelist changes and rebasing from master
Co-authored-by: Tasneem Devani <tasneem.devani@gmail.com>
Co-authored-by: Nick Iodice <nmiodice@gmail.com>
* unit and integration tests for ACR
* adding tests for keyvault and updating the expected whitelist IP address
* adding a minor change to change the keyvault IP rules to be in a list instead of a string
* adding a minor change to the keyvault whitelist IP
* Adding corrected value for whitelist IP block to change from IP Address or Range to Value.
* refactoring to include another function for the subnet
* fixing comment for IP whitelist
* Modifying the IP Rules string to be in CIDR format so that the test does not cause an issue
* Update infra/templates/az-isolated-service-single-region/terraform.tfvars
* fixed go format error
* fixed unit test to look for 1.1.1.1 instead of 1.1.1.1/32
* whitespace change
* * Unified internal/external templates to leverage common templates
* Integrated automated unit/integration testing to CI/CD process
* Generalized integration tests to work across different workspaces
* * Unified internal/external templates to leverage common templates
* Integrated automated unit/integration testing to CI/CD process
* Generalized integration tests to work across different workspaces
* Fixed minor template bugs I found in templates during the process
* Fixed Terraform linting strategy, which was broken after TF 12 upgrade
* Apply suggestions from code review
Adding suggestions from @iphilpot
Co-Authored-By: Ian Philpot <ian.philpot@microsoft.com>
* PR feedback round 1
Go has been updated from v1.11 --> v1.12.5
Terraform has been udpated from v0.11.13 --> v0.12.1
The test harness has also been upgraded to perform a structural
comparison against the new terraform plan format introduced in v0.12.0
stronger linting rules during test runs.
More specifically, the following has been done:
- Fail build if any *.go files for changed modules/templates do not
follow the linting standards set by `go fmt`
- Fail build if any terraform files for changed modules/templates do not
follow the linting standards set by `terraform fmt`
- Add unit test fixture code that vastly simplifies writing unit tests
for terraform files
- Update Azure Pipelines yml file to work better with fork PRs
This change sets a pattern for genericizing integration tests, but it
does not implement this pattern.
* Integrated bashwizard to project
* applying bashwozard changes
* Adding support for a docker-free test runner option
* removing terraform plan files
* restoring provider
* removing ignored files
* Updating readme
* Adding terminal set
* updated the readme to point to the latest base image
* updating readme
* ran dos2unix on .env and .sh files
* stashing changes
* Adding tf state env vars
* adding more logging for remote state
* adding more logging for remote state
* adding more logging for remote state
* removing debug logging
* # This is a combination of 99 commits.
# This is the 1st commit message:
Adding docker test base image
# This is the commit message #2:
Adding test files
# This is the commit message #3:
testing
# This is the commit message #4:
Added folder
# This is the commit message #5:
Added folder
# This is the commit message #6:
Azure Devops CI Build Pipeline (#67)
* Adding azure devops build pipeline
* Adding README
* Adding azure build badge
# This is the commit message #7:
saving latest tests
# This is the commit message #8:
Adding docker test base image (#68)
# This is the commit message #9:
EOD checkin
# This is the commit message #10:
posting latest
# This is the commit message #11:
eod commits
# This is the commit message #12:
eod commit
# This is the commit message #13:
refactored test directory structure
# This is the commit message #14:
Refactored build
# This is the commit message #15:
Adding hello world azure simple app
# This is the commit message #16:
Adding hello world azure simple app
# This is the commit message #17:
refactoring test harness
# This is the commit message #18:
refactoring test harness
# This is the commit message #19:
checking latest
# This is the commit message #20:
committing latest
# This is the commit message #21:
checking in latest changes
# This is the commit message #22:
Checking in latest progress
# This is the commit message #23:
applying final touches before PR submission
# This is the commit message #24:
updating azure keyvault secret names
# This is the commit message #25:
Checking in latest progress
# This is the commit message #26:
pushing latest pipeline definition
# This is the commit message #27:
updating build pipeline variable format
# This is the commit message #28:
updating build pipeline variable format
# This is the commit message #29:
cleaning up build variables
# This is the commit message #30:
adding minor changes to azure build pipeline
# This is the commit message #31:
updating azure keyvault secret names
# This is the commit message #32:
updating azure keyvault secret names
# This is the commit message #33:
fixing docker login azdo step
# This is the commit message #34:
fixing docker login azdo step
# This is the commit message #35:
fixing docker login azdo step
# This is the commit message #36:
fixing docker login azdo step
# This is the commit message #37:
updating build pipeline variables
# This is the commit message #38:
updating build pipeline variables
# This is the commit message #39:
updating build pipeline variables
# This is the commit message #40:
updating build pipeline variables
# This is the commit message #41:
updating build pipeline variables
# This is the commit message #42:
updating build pipeline variables
# This is the commit message #43:
applying fix to git diff script
# This is the commit message #44:
applying fix to git diff script
# This is the commit message #45:
applying fix to git diff script
# This is the commit message #46:
applying fix to git diff script
# This is the commit message #47:
applying fix to git diff script
# This is the commit message #48:
resolving pipeline bug
# This is the commit message #49:
fixing build error
# This is the commit message #50:
fixing build error
# This is the commit message #51:
fixing build error
# This is the commit message #52:
fixing build error
# This is the commit message #53:
fixing build error
# This is the commit message #54:
fixing build error
# This is the commit message #55:
fixing build error
# This is the commit message #56:
fixing build error
# This is the commit message #57:
fixing build error
# This is the commit message #58:
fixing build error
# This is the commit message #59:
fixing build error
# This is the commit message #60:
fixing build error
# This is the commit message #61:
fixing build error
# This is the commit message #62:
fixing build error
# This is the commit message #63:
fixing build error
# This is the commit message #64:
fixing build error
# This is the commit message #65:
fixing build error
# This is the commit message #66:
fixing build error
# This is the commit message #67:
fixing build error
# This is the commit message #68:
fixing build error
# This is the commit message #69:
fixing build error
# This is the commit message #70:
fixing build error
# This is the commit message #71:
fixing build error
# This is the commit message #72:
fixing build error
# This is the commit message #73:
trying acr fix
# This is the commit message #74:
latest changes
# This is the commit message #75:
removing docker dependency on azure devops pipeline
# This is the commit message #76:
removing docker dependency on azure devops pipeline
# This is the commit message #77:
removing docker dependency on azure devops pipeline
# This is the commit message #78:
removing docker dependency on azure devops pipeline
# This is the commit message #79:
removing docker dependency on azure devops pipeline
# This is the commit message #80:
removing docker dependency on azure devops pipeline
# This is the commit message #81:
removing docker dependency on azure devops pipeline
# This is the commit message #82:
removing docker dependency on azure devops pipeline
# This is the commit message #83:
removing docker dependency on azure devops pipeline
# This is the commit message #84:
removing docker dependency on azure devops pipeline
# This is the commit message #85:
removing docker dependency on azure devops pipeline
# This is the commit message #86:
removing docker dependency on azure devops pipeline
# This is the commit message #87:
removing docker dependency on azure devops pipeline
# This is the commit message #88:
removing docker dependency on azure devops pipeline
# This is the commit message #89:
removing docker dependency on azure devops pipeline
# This is the commit message #90:
removing docker dependency on azure devops pipeline
# This is the commit message #91:
removing docker dependency on azure devops pipeline
# This is the commit message #92:
removing docker dependency on azure devops pipeline
# This is the commit message #93:
removing docker dependency on azure devops pipeline
# This is the commit message #94:
removing docker dependency on azure devops pipeline
# This is the commit message #95:
removing docker dependency on azure devops pipeline
# This is the commit message #96:
removing docker dependency on azure devops pipeline
# This is the commit message #97:
removing docker dependency on azure devops pipeline
# This is the commit message #98:
final commit including resource name randomization
# This is the commit message #99:
Add provider to configure az infra for Terraform
* resolving merge conflicts for squash
Updated documentation based on review comments
Integrate review comments for documentation.
Add usage example for each of the providers
Adding environment template descriptions
removing go version var from azdo pipeline as it's unused
removing unused setup folder
adding more verbose logging for azure devops failure
fixing pull request branch name resolution bug
fixing pull request branch name resolution bug
addressing nick's pr comments
documenting script and docker images
cleaning up required env var check
fixing base branch bug
Added service plan terraform templates to Azure
Adding tags for resources
Integrate review comments to add random id to name
Add tags, capacity and reserved for service plan
Minor Fixes for documentation
Integrate review comments related to resource naming
Remove Optional and Required in variables.tf
Update variables.tf
Update Service Plan Tier to Isolated
squaching commits
applied base image suggestions from nick
* squashing commits and slimming down the build image
* removing go* path from azure devops pipeline as we removed go mods
* refactoring our azure devops pipeline so it's aligned with the local test runner
* fixing azure devops pipeline bug
* fixing base image build variable reference bug
* Addressing nick's PR comments
* resolving issue with failed builds after completing branches merges
* addressing a bug where test harness directory changes were not getting picked up by the harness
* removing local echo statement
* Adding directory exists check and app service container command variable
* addressing nick's PR comments
* adding git diff extension whitelist filter
* # This is a combination of 99 commits.
# This is the 1st commit message:
Adding docker test base image
# This is the commit message #2:
Adding test files
# This is the commit message #3:
testing
# This is the commit message #4:
Added folder
# This is the commit message #5:
Added folder
# This is the commit message #6:
Azure Devops CI Build Pipeline (#67)
* Adding azure devops build pipeline
* Adding README
* Adding azure build badge
# This is the commit message #7:
saving latest tests
# This is the commit message #8:
Adding docker test base image (#68)
# This is the commit message #9:
EOD checkin
# This is the commit message #10:
posting latest
# This is the commit message #11:
eod commits
# This is the commit message #12:
eod commit
# This is the commit message #13:
refactored test directory structure
# This is the commit message #14:
Refactored build
# This is the commit message #15:
Adding hello world azure simple app
# This is the commit message #16:
Adding hello world azure simple app
# This is the commit message #17:
refactoring test harness
# This is the commit message #18:
refactoring test harness
# This is the commit message #19:
checking latest
# This is the commit message #20:
committing latest
# This is the commit message #21:
checking in latest changes
# This is the commit message #22:
Checking in latest progress
# This is the commit message #23:
applying final touches before PR submission
# This is the commit message #24:
updating azure keyvault secret names
# This is the commit message #25:
Checking in latest progress
# This is the commit message #26:
pushing latest pipeline definition
# This is the commit message #27:
updating build pipeline variable format
# This is the commit message #28:
updating build pipeline variable format
# This is the commit message #29:
cleaning up build variables
# This is the commit message #30:
adding minor changes to azure build pipeline
# This is the commit message #31:
updating azure keyvault secret names
# This is the commit message #32:
updating azure keyvault secret names
# This is the commit message #33:
fixing docker login azdo step
# This is the commit message #34:
fixing docker login azdo step
# This is the commit message #35:
fixing docker login azdo step
# This is the commit message #36:
fixing docker login azdo step
# This is the commit message #37:
updating build pipeline variables
# This is the commit message #38:
updating build pipeline variables
# This is the commit message #39:
updating build pipeline variables
# This is the commit message #40:
updating build pipeline variables
# This is the commit message #41:
updating build pipeline variables
# This is the commit message #42:
updating build pipeline variables
# This is the commit message #43:
applying fix to git diff script
# This is the commit message #44:
applying fix to git diff script
# This is the commit message #45:
applying fix to git diff script
# This is the commit message #46:
applying fix to git diff script
# This is the commit message #47:
applying fix to git diff script
# This is the commit message #48:
resolving pipeline bug
# This is the commit message #49:
fixing build error
# This is the commit message #50:
fixing build error
# This is the commit message #51:
fixing build error
# This is the commit message #52:
fixing build error
# This is the commit message #53:
fixing build error
# This is the commit message #54:
fixing build error
# This is the commit message #55:
fixing build error
# This is the commit message #56:
fixing build error
# This is the commit message #57:
fixing build error
# This is the commit message #58:
fixing build error
# This is the commit message #59:
fixing build error
# This is the commit message #60:
fixing build error
# This is the commit message #61:
fixing build error
# This is the commit message #62:
fixing build error
# This is the commit message #63:
fixing build error
# This is the commit message #64:
fixing build error
# This is the commit message #65:
fixing build error
# This is the commit message #66:
fixing build error
# This is the commit message #67:
fixing build error
# This is the commit message #68:
fixing build error
# This is the commit message #69:
fixing build error
# This is the commit message #70:
fixing build error
# This is the commit message #71:
fixing build error
# This is the commit message #72:
fixing build error
# This is the commit message #73:
trying acr fix
# This is the commit message #74:
latest changes
# This is the commit message #75:
removing docker dependency on azure devops pipeline
# This is the commit message #76:
removing docker dependency on azure devops pipeline
# This is the commit message #77:
removing docker dependency on azure devops pipeline
# This is the commit message #78:
removing docker dependency on azure devops pipeline
# This is the commit message #79:
removing docker dependency on azure devops pipeline
# This is the commit message #80:
removing docker dependency on azure devops pipeline
# This is the commit message #81:
removing docker dependency on azure devops pipeline
# This is the commit message #82:
removing docker dependency on azure devops pipeline
# This is the commit message #83:
removing docker dependency on azure devops pipeline
# This is the commit message #84:
removing docker dependency on azure devops pipeline
# This is the commit message #85:
removing docker dependency on azure devops pipeline
# This is the commit message #86:
removing docker dependency on azure devops pipeline
# This is the commit message #87:
removing docker dependency on azure devops pipeline
# This is the commit message #88:
removing docker dependency on azure devops pipeline
# This is the commit message #89:
removing docker dependency on azure devops pipeline
# This is the commit message #90:
removing docker dependency on azure devops pipeline
# This is the commit message #91:
removing docker dependency on azure devops pipeline
# This is the commit message #92:
removing docker dependency on azure devops pipeline
# This is the commit message #93:
removing docker dependency on azure devops pipeline
# This is the commit message #94:
removing docker dependency on azure devops pipeline
# This is the commit message #95:
removing docker dependency on azure devops pipeline
# This is the commit message #96:
removing docker dependency on azure devops pipeline
# This is the commit message #97:
removing docker dependency on azure devops pipeline
# This is the commit message #98:
final commit including resource name randomization
# This is the commit message #99:
Add provider to configure az infra for Terraform
* resolving merge conflicts for squash
Updated documentation based on review comments
Integrate review comments for documentation.
Add usage example for each of the providers
Adding environment template descriptions
removing go version var from azdo pipeline as it's unused
removing unused setup folder
adding more verbose logging for azure devops failure
fixing pull request branch name resolution bug
fixing pull request branch name resolution bug
addressing nick's pr comments
documenting script and docker images
cleaning up required env var check
fixing base branch bug
Added service plan terraform templates to Azure
Adding tags for resources
Integrate review comments to add random id to name
Add tags, capacity and reserved for service plan
Minor Fixes for documentation
Integrate review comments related to resource naming
Remove Optional and Required in variables.tf
Update variables.tf
Update Service Plan Tier to Isolated
squaching commits
applied base image suggestions from nick
* squashing commits and slimming down the build image
* removing go* path from azure devops pipeline as we removed go mods
* refactoring our azure devops pipeline so it's aligned with the local test runner
* fixing azure devops pipeline bug
* fixing base image build variable reference bug
* Addressing nick's PR comments