init commit 2
This commit is contained in:
11
README.md
11
README.md
@@ -13,17 +13,6 @@ Already a pro? Just edit this README.md and make it your own. Want to make it ea
|
||||
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
||||
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
||||
|
||||
```
|
||||
cd existing_repo
|
||||
git remote add origin https://gitlab.dcma.mil/sdg/powershell/posh-PowerPlatformToolkit.git
|
||||
git branch -M main
|
||||
git push -uf origin main
|
||||
```
|
||||
|
||||
## Integrate with your tools
|
||||
|
||||
- [ ] [Set up project integrations](https://gitlab.dcma.mil/sdg/powershell/posh-PowerPlatformToolkit/-/settings/integrations)
|
||||
|
||||
## Collaborate with your team
|
||||
|
||||
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
function Start-PPTSolutionDeploy {
|
||||
[CmdLetBinding()]
|
||||
Param (
|
||||
[ValidateSet('DCMA_DEV', 'DCMA_Sustainment', 'DCMA_TEST', 'DCMA_PROD', 'ACP-DCMA-CDE-DEV', 'ACP-DCMA-CDE-PROD')]
|
||||
[ValidateSet('DEV', 'STAGING', 'TESTING')]
|
||||
[string]$Environment,
|
||||
$Path = (Get-Location).Path
|
||||
)
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
}
|
||||
|
||||
<#if (!(Test-Path "$($Path.path)\DCMA_DEV*.json") -or !(Test-Path "$($Path.path)\DCMA_TEST*.json") -or !(Test-Path "$($Path.path)\DCMA_PROD*.json") -or !(Test-Path "$($Path.path)\ACP-DCMA-CDE-DEV*.json") -or !(Test-Path "$($Path.path)\ACP-DCMA-CDE_PROD*.json")) {
|
||||
<#if (!(Test-Path "$($Path.path)\DEV*.json") -or !(Test-Path "$($Path.path)\STAGING*.json") -or !(Test-Path "$($Path.path)\TESTING*.json")) {
|
||||
|
||||
Write-Warning -Message "Missing settings file for environment(s)"
|
||||
return
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
[CmdLetBinding()]
|
||||
Param (
|
||||
[Alias('env')]
|
||||
[ValidateSet('DCMA_DEV', 'DCMA_Sustainment', 'DCMA_TEST', 'DCMA_PROD', 'ACP-DCMA-CDE-DEV', 'ACP-DCMA-CDE-PROD')]
|
||||
[string]$Environment = 'DCMA_DEV',
|
||||
[ValidateSet('DEV', 'STAGING', 'TESTING')]
|
||||
[string]$Environment = 'DEV',
|
||||
$Path = (Get-Location).Path,
|
||||
[Alias('m')]
|
||||
[switch]$Managed,
|
||||
|
||||
32
config.ps1
32
config.ps1
@@ -9,38 +9,6 @@ $global:pptConfig = @{
|
||||
pacPath = (Join-Path -Path $PSScriptRoot -ChildPath 'bin\pac\tools\pac.exe')
|
||||
#pacPath = "C:\ProgramData\.vscode\settings\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\pac.exe"
|
||||
|
||||
#############################################
|
||||
#
|
||||
# Config variable property containing a list of all GitLab parent
|
||||
# groups required for development team(s)
|
||||
#
|
||||
# Example Hierarchy:
|
||||
# MAI (parent group)
|
||||
# |
|
||||
# |_ Steampunk (child group)
|
||||
# | |_ CCAS (repo)
|
||||
# | |_ Fraud (repo)
|
||||
# | |_ GCMM (repo)
|
||||
# |
|
||||
# |_ development (child group)
|
||||
# | |_ dcma-mai-cams (repo)
|
||||
# | |_ dcma-mai-cmt (repo)
|
||||
# |
|
||||
# |_ common (child group)
|
||||
#
|
||||
# SDG (parent group)
|
||||
# |
|
||||
# |_ PowerApp (child group)
|
||||
# | |_ BuildScripts (repo)
|
||||
# | |_ OnBoardingOffboarding (repo)
|
||||
# | |_ RemoteworkAgreement (repo)
|
||||
# | |_ SDG-Connection-Segment (repo)
|
||||
# |
|
||||
# |_ Support (child group)
|
||||
# |_ pac-cli (repo)
|
||||
# |_ VSCode Extensions (repo)
|
||||
#
|
||||
|
||||
gitParentGroup = @(
|
||||
'PowerPlatform'
|
||||
)
|
||||
|
||||
@@ -5,34 +5,18 @@
|
||||
"env": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "DCMA_DEV",
|
||||
"env_id": "29e06d80-49ea-4b5a-8369-3be0329da8fc"
|
||||
"name": "DEV",
|
||||
"env_id": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "DCMA_TEST",
|
||||
"env_id": "3ddc5ce7-74d2-43d2-8324-17ba7baf8640"
|
||||
"name": "STAGING",
|
||||
"env_id": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "DCMA_PROD",
|
||||
"env_id": "f9ad359e-3010-42a2-8e91-aa27b4428e44"
|
||||
},
|
||||
{
|
||||
"name": "ACP-DCMA-CDE-DEV",
|
||||
"env_id": "7d53a00d-09cc-eb21-8348-99a10042d965",
|
||||
"id": 4
|
||||
},
|
||||
{
|
||||
"name": "ACP-DCMA-CDE-PROD",
|
||||
"env_id": "28738b65-f434-ed94-9a84-b82e6b1db501",
|
||||
"id": 5
|
||||
},
|
||||
{
|
||||
"name": "DCMA-Sustainment",
|
||||
"env_id": "23cbffbd-8f76-46cd-b1cf-1ac3cf478778",
|
||||
"id": 6
|
||||
"name": "TESTING",
|
||||
"env_id": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -7,33 +7,18 @@ $source = @{
|
||||
env = @(
|
||||
@{
|
||||
id = 1
|
||||
name = "DCMA_DEV"
|
||||
env_id = "29e06d80-49ea-4b5a-8369-3be0329da8fc"
|
||||
name = "DEV"
|
||||
env_id = ""
|
||||
},
|
||||
@{
|
||||
id = 2
|
||||
name = "DCMA_TEST"
|
||||
env_id = "3ddc5ce7-74d2-43d2-8324-17ba7baf8640"
|
||||
name = "STAGING"
|
||||
env_id = ""
|
||||
},
|
||||
@{
|
||||
id = 3
|
||||
name = "DCMA_PROD"
|
||||
env_id = "f9ad359e-3010-42a2-8e91-aa27b4428e44"
|
||||
},
|
||||
@{
|
||||
name = "ACP-DCMA-CDE-DEV"
|
||||
env_id = "7d53a00d-09cc-eb21-8348-99a10042d965"
|
||||
id = 4
|
||||
},
|
||||
@{
|
||||
name = "ACP-DCMA-CDE-PROD"
|
||||
env_id = "28738b65-f434-ed94-9a84-b82e6b1db501"
|
||||
id = 5
|
||||
},
|
||||
@{
|
||||
name = "DCMA_Sustainment"
|
||||
env_id = "23cbffbd-8f76-46cd-b1cf-1ac3cf478778"
|
||||
id = 6
|
||||
name = "TESTING"
|
||||
env_id = ""
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user