vdc/.github/workflows
jvalley19 3ba087d6a1
Final Pull Request (#170)
* fixed conflict merge

* ee

* bnm

* yh

* vv

* sd

* bn

* xx

* vb

* tt

* ss

* zz

* remove sub ids

* aa

* updates

* ff

* updates

* tt

* updates

* mm

* rr

* Added info Azure cli to remove legal hold & other misc updates

* Fix typos

* Moved env variables for toolkit & subscription in the code

* ss

* kk

* Adding Az.Accounts to dockerfile

* cc

* ii

* ll

* yy

* vv

* cc

* ee

* Added all azure regions to AzureBastion module

* nn

* gg

* tt

* dd

* Adding install module in the code itself

* jk

* Added condition to connect to azure & install modules for dev ops

* qaz

* wsx

* bb

* Commented env variables in debug

* ff

* HUB vnet module

* changed MSVDI to connect to shrd svcs hub

* dummy values for config files

* changed para for msvdi with shrd svcs

* do not need to lowercase regions so commented out

* added variables to file so don't need to input

* new prereq script. Not necessary to run

* readme for shared services

* updated readme

* Update

* edc

* Topological path for DevOps pipeline

* test

* Update

* Running individual modules

* Updates

* updated comments

* new modules

* Create dockflow.yml

* Updates to SharedServices & MS-VDI readme

* qq

* Added more info on password restrictions

* Update

* 56

* 985

* 12

* 67

* 45

* 12

* 678

* 12

* 456

* tt

* 12

* 12

* 1q23

* 125

* 343

* 25

* 345

* 2134

* 12

* 2

* 454

* 124

* 312

* 12

* 23

* 34

* mylife

* q3

* 12

* 24

* q1234

* 696

* qw23

* q12e4

* w5

* 213

* 2198

* qw

* 255

* 89876

* 447

* 3242

* 89

* 43234

* 2342342

* q4eq3214

* 87

* 323

* 2345

* 123456

* New version of code for github action

* updates to files

* updated av set infoo

* 789234

* 234143

* 24223412342

* Teardown test

* Copied workflow from Jack's branch

* new changes

* update to readme in shrdsvcs

* new document for github actions

* 234

* adding changes to script for cleanup

* update readme

* update readme

* sdf

* 235

* 123

* 2345

* new changes to readme

* new changes to readme

* readme

* readme

* readmeupdate

* readme

* red

* read

* readme

* 1234

* readme

* 7897894

* update readme shrd svcs

* 345

* new changes to readme

* removed the cleanup and added to different script

* new change to clean up script

* Updates to shared services readme

* update

* 234

* Added passing parameters for subscription & tenant to parameters.json for shared services

* update for networkwatcher

* removed statement in av sets

* Test GH Actions

* Test GH Actions

* Update

* Update

* Cleared values

* Update

* changes to dockerfile version.

* Update

* Update readme

* Update README.md

* Updates to docs - added SPN info

* All documentation updates - removed personal GH repo reference & referencing shared services deployment in quickstart

* Added release notes

* Update

* no change

* added password randomization

* no change

* added sentinel changes

* formatting

* sentinel change and secret changes to kv

* secret changes to kv

* sentinel changes

* dublicate code correction... No code change

* added sentinel env var

* Test Gov Deployment

* updated SS readme

* naming convention changes

* example of inputfile for master script

* updated readme

* updated docker yml fiile

* master orchestration script

* new github actions doc

* master orchestration documentation

* new env document

* updated MS-VDI parameters with ctx

* updated with ps7 requirements

* new windows virtual desktop environment

* added new artifact location parameter

* added spoke env

* doc

* new Vnet peering module

* application group module

* host pool module

* added output for script

* doc edit

* new images for docs

* updated doc

* disable resources

* docedit

* doc edit

* shared services as a spoke

* doc edit

* docedit

* doc updated

* updated for vms

Co-authored-by: RKSelvi <42325057+RKSelvi@users.noreply.github.com>
Co-authored-by: Selvi Kalaiselvi <selvi.kalaiselvi@appliedis.com>
Co-authored-by: Steve Downs <33630027+SteveDatAzureGov@users.noreply.github.com>
2020-06-17 13:19:50 -04:00
..
README.md Final Pull Request (#170) 2020-06-17 13:19:50 -04:00
dockerimage.yml Final Pull Request (#170) 2020-06-17 13:19:50 -04:00

README.md

Getting started with GitHub Actions and the VDC toolkit

GitHub Actions are apart of an automation workflow that can integrate with your CI/CD pipeline. Developers can build, test and deploy upon code pushes and pulls to GitHub.

To Learn more about GitHub actions visit the GitHub Action Documentation

GitHub Actions with the VDC toolkit quickstart

The GitHub action in this repository will create the Shared Services Environment and the MS-VDI environment all from a "push" to the GitHub repository.

To change the environment being deployed you will need to manipulate the "entrypoint.ps1" file in the root directory.

Get started on setting up the action below:

  1. Ensure you have the latest code when setting up your action pipeline

    • Files you need before proceeding with your actions
      • 'dockerfile' in your root repository
      • 'action.yml' in your root repository
      • 'entrypoint.ps1' in your root repository
      • 'dockerimage.yml' under the "vdc/.GitHub/workflows" directory
  2. Create Service Pricipal

    Follow for creating the service principal and note the object id and password during creation. The service principal will require owner permissions.

  1. You will also need to setup your GitHub secrets for the pipeline to use

    • You will need the following secrets
      • SERVICE_PRINCIPAL
      • SERVICE_PRINCIPAL_PASS
      • DEVOPS_SERVICE_PRINCIPAL_USER_ID
      • ADMIN_USER_NAME
      • ADMIN_USER_PWD
      • DOMAIN_ADMIN_USERNAME
      • DOMAIN_ADMIN_USER_PWD
      • TENANT_ID
      • SUBSCRIPTION_ID
      • KEYVAULT_MANAGEMENT_USER_ID
      • ADMIN_USER_SSH
    • To add these secrets in your GitHub repository navigate to
      • "Settings" -> "Secrets"
        • Then add each secret value with exactly the corresponding name above
      • For more information visit the GitHub link for adding new Secrets.
      • You do not need "" around your secret values. Enter them with raw data.
  2. In your dockerimage.yml file you will need to change the following values that suit your need

    • ORGANIZATION_NAME
    • AZURE_LOCATION
    • Update "uses" to your GitHub repo name.
      • uses: [YOUR_GITHUB_NAME]/vdc@master
    • Please keep the AZURE_DISCOVERY_URL as is
  3. Once you have all these changes and updated your GitHub secrets you can push the changes to your repository.

  4. Upon the "push" you will kick off an action which will deploy the shared services and ms-vdi resources.