init commit 2

This commit is contained in:
iFlip721
2025-04-16 10:06:55 -04:00
parent a03209dc9e
commit a7f9f1799f
6 changed files with 76 additions and 150 deletions

View File

@@ -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 - [ ] [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: - [ ] [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 ## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/) - [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)

View File

@@ -1,7 +1,7 @@
function Start-PPTSolutionDeploy { function Start-PPTSolutionDeploy {
[CmdLetBinding()] [CmdLetBinding()]
Param ( Param (
[ValidateSet('DCMA_DEV', 'DCMA_Sustainment', 'DCMA_TEST', 'DCMA_PROD', 'ACP-DCMA-CDE-DEV', 'ACP-DCMA-CDE-PROD')] [ValidateSet('DEV', 'STAGING', 'TESTING')]
[string]$Environment, [string]$Environment,
$Path = (Get-Location).Path $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)" Write-Warning -Message "Missing settings file for environment(s)"
return return

View File

@@ -2,8 +2,8 @@
[CmdLetBinding()] [CmdLetBinding()]
Param ( Param (
[Alias('env')] [Alias('env')]
[ValidateSet('DCMA_DEV', 'DCMA_Sustainment', 'DCMA_TEST', 'DCMA_PROD', 'ACP-DCMA-CDE-DEV', 'ACP-DCMA-CDE-PROD')] [ValidateSet('DEV', 'STAGING', 'TESTING')]
[string]$Environment = 'DCMA_DEV', [string]$Environment = 'DEV',
$Path = (Get-Location).Path, $Path = (Get-Location).Path,
[Alias('m')] [Alias('m')]
[switch]$Managed, [switch]$Managed,

View File

@@ -9,38 +9,6 @@ $global:pptConfig = @{
pacPath = (Join-Path -Path $PSScriptRoot -ChildPath 'bin\pac\tools\pac.exe') 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" #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 = @( gitParentGroup = @(
'PowerPlatform' 'PowerPlatform'
) )

View File

@@ -5,34 +5,18 @@
"env": [ "env": [
{ {
"id": 1, "id": 1,
"name": "DCMA_DEV", "name": "DEV",
"env_id": "29e06d80-49ea-4b5a-8369-3be0329da8fc" "env_id": ""
}, },
{ {
"id": 2, "id": 2,
"name": "DCMA_TEST", "name": "STAGING",
"env_id": "3ddc5ce7-74d2-43d2-8324-17ba7baf8640" "env_id": ""
}, },
{ {
"id": 3, "id": 3,
"name": "DCMA_PROD", "name": "TESTING",
"env_id": "f9ad359e-3010-42a2-8e91-aa27b4428e44" "env_id": ""
},
{
"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
} }
] ]
} }

View File

@@ -7,33 +7,18 @@ $source = @{
env = @( env = @(
@{ @{
id = 1 id = 1
name = "DCMA_DEV" name = "DEV"
env_id = "29e06d80-49ea-4b5a-8369-3be0329da8fc" env_id = ""
}, },
@{ @{
id = 2 id = 2
name = "DCMA_TEST" name = "STAGING"
env_id = "3ddc5ce7-74d2-43d2-8324-17ba7baf8640" env_id = ""
}, },
@{ @{
id = 3 id = 3
name = "DCMA_PROD" name = "TESTING"
env_id = "f9ad359e-3010-42a2-8e91-aa27b4428e44" env_id = ""
},
@{
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
} }
) )