Skip to content

Commit

Permalink
Automate packaged submission into Windows (#12449)
Browse files Browse the repository at this point in the history
We're now building a fully provenance, compliance, and security
validated package (vpack) through our Release pipeline. This attaches
the last phase which automates the submission into the Windows product.
It will also automatically trace back the source, commit SHA, and build
to the submission here from the Windows side.

* [x] Automates a manual activity I performed a few times recently
* [x] I work here
* [x] Ran a test of it against `release-1.12` and it worked

(cherry picked from commit 10c963a)
  • Loading branch information
miniksa authored and DHowett committed Feb 16, 2022
1 parent a84ba73 commit b9566a1
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/actions/spelling/expect/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ charlespetzold
charset
CHARSETINFO
chcp
Checkin
checkbox
checkboxes
chh
Expand Down Expand Up @@ -320,6 +321,7 @@ concat
concfg
conclnt
conddkrefs
condev
condrv
conechokey
conemu
Expand Down Expand Up @@ -671,6 +673,7 @@ dwriteglyphrundescriptionclustermap
dxgi
dxgidwm
dxinterop
dxp
dxsm
dxttbmp
eachother
Expand Down Expand Up @@ -1150,6 +1153,7 @@ ioctl
iomanip
iostream
iot
ipa
ipch
ipconfig
IPersist
Expand Down Expand Up @@ -1473,6 +1477,7 @@ MSGSELECTMODE
msiexec
MSIL
msix
mspartners
msrc
msvcrt
MSVCRTD
Expand Down Expand Up @@ -2665,6 +2670,7 @@ wddmcon
wddmconrenderer
WDDMCONSOLECONTEXT
wdm
wdx
webclient
webpage
website
Expand Down Expand Up @@ -2699,6 +2705,7 @@ wincontypes
WINCORE
windbg
WINDEF
windev
WINDIR
windll
WINDOWALPHA
Expand Down
24 changes: 24 additions & 0 deletions build/config/GitCheckin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"Branch": [
{
"collection": "microsoft",
"project": "OS",
"repo": "os.2020",
"name": "official/rs_wdx_dxp_windev",
"workitem": "38106206",
"CheckinFiles": [
{
"source": "WindowsTerminal.app.man",
"path": "/redist/mspartners/ipa/WindowsTerminal",
"type": "File"
}
]
}
],
"Email": [
{
"sendTo": "condev",
"sendOnErrorOnly": "False"
}
]
}
15 changes: 13 additions & 2 deletions build/pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,18 @@ jobs:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
sourceDirectory: $(System.ArtifactsDirectory)\appxbundle-signed\WindowsTerminal.app
description: Windows Terminal pre-install application
description: VPack for the Windows Terminal Application
pushPkgName: WindowsTerminal.app
owner: condev
owner: conhost
- task: PublishPipelineArtifact@1
displayName: 'Copy VPack Manifest to Drop'
inputs:
targetPath: $(XES_VPACKMANIFESTDIRECTORY)
artifactName: VPackManifest
- task: PkgESFCIBGit@12
displayName: 'Submit VPack Manifest to Windows'
inputs:
configPath: '$(Build.SourcesDirectory)\build\config\GitCheckin.json'
artifactsDirectory: $(XES_VPACKMANIFESTDIRECTORY)
prTimeOut: 5
...

0 comments on commit b9566a1

Please sign in to comment.