Skip to content

Conversation

@dariuszparys
Copy link
Contributor

@dariuszparys dariuszparys commented Nov 19, 2019

  • Refactoring Variable Code Base Usage
    Simplified and cleaned-up the usage of variables inside all python files
    and Azure DevOps pipelines. Variables are now defined in two places, the
    Azure DevOps variable template and the Azure DevOps variable group.
  • Refactored dotenv usage in a singleton class to serve variables to all
    python scripts
  • Created new variable template azdo-variables.yml to be used within
    Azure DevOps pipelines
  • Adjusted existing pipelines to leverage new variable template
  • Prepared the ARM template to specify individual names for the various
    resources
  • Adding Workspace in Variable Group
    The workspace has now to be defined in the variable group
  • Adjusted infrastructure as code template
  • Default WORKSPACE_NAME definition
    In case there is no WORKSPACE_NAME in the Azure DevOps variable group we
    build up the workspace using the provided BASE_NAME variable.
  • Extended Getting Started Documentation
    Describes the usage of all variable definitions
  • Removed unnecessary variables from azdo-variables.yml
  • workspace is now a required ARM template parameter. Needs to exist in the variable group as WORKSPACE_NAME
  • Cleaned-up .env.example to only include variables needed to execute
    scripts in local environments
  • Modified Getting Started Document
    Included pointers where to find the proper variable options in order to
    execute the project locally vs. Azure DevOps

Dariusz Parys added 4 commits November 19, 2019 13:29
Simplified and cleaned-up the usage of variables inside all python files
and Azure DevOps pipelines. Variables are now defined in two places, the
Azure DevOps variable template and the Azure DevOps variable group.

- Refactored dotenv usage in a singleton class to serve variables to all
python scripts
- Created new variable template `azdo-variables.yml` to be used within
Azure DevOps pipelines
- Adjusted existing pipelines to leverage new variable template
- Prepared the ARM template to specify individual names for the various
resources

Please provide feedback, I'll update the PR with documentation
modifications

Resolves: #279075
The workspace has now to be defined in the variable group

- Adjusted infrastructure as code template
In case there is no WORKSPACE_NAME in the Azure DevOps variable group we
build up the workspace using the provided BASE_NAME variable.
Describes the usage of all variable definitions
@dariuszparys
Copy link
Contributor Author

Are forked PRs are able to run the pipeline due to SP_APP_SECRET?

Copy link
Contributor

@dtzar dtzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also do the following:

  1. Cleanup .env.example, removing unused ENV vars
  2. Cleanup / verify getting started example
    We should have people only put what is required into the task group & .env.example

Dariusz Parys added 2 commits November 20, 2019 10:20
- Removed unnecessary variables from `azdo-variables.yml`
- `workspace` is now a required ARM template parameter. Needs to be
existant in the variable group as `WORKSPACE_NAME`
- Cleand-up `.env.example` to only include variables needed to execute
scripts in local environments
Included pointers where to find the proper variable options in order to
execute the project locally vs. Azure DevOps
@dariuszparys dariuszparys marked this pull request as ready for review November 20, 2019 10:47
@dariuszparys dariuszparys requested a review from dtzar November 20, 2019 10:53
@dtzar dtzar changed the title dparys/279075 variable template cleaner variables incl variable template Nov 20, 2019
@dtzar dtzar merged commit 1eb4a42 into microsoft:master Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants