Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ms-extern-ci
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
ms-extern-ci
Commits
ab2bd0b2
There was an error fetching the commit references. Please try again later.
Commit
ab2bd0b2
authored
3 years ago
by
Recolic K
Browse files
Options
Downloads
Patches
Plain Diff
bug fix
parent
93cbe504
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Azure-Deployment-Builder/guest-build.sh
+9
-5
9 additions, 5 deletions
Azure-Deployment-Builder/guest-build.sh
Azure-Deployment-Builder/host-daemon.fish
+3
-1
3 additions, 1 deletion
Azure-Deployment-Builder/host-daemon.fish
with
12 additions
and
6 deletions
Azure-Deployment-Builder/guest-build.sh
+
9
−
5
View file @
ab2bd0b2
...
@@ -8,13 +8,16 @@ cd /buildroot/repo || exit $?
...
@@ -8,13 +8,16 @@ cd /buildroot/repo || exit $?
#######################################
#######################################
echo
START
sync
echo
START
sync
dotnet nuget add
source
"https://msazure.pkgs.visualstudio.com/_packaging/Official/nuget/v3/index.json"
--name
MSAZ
--username
"
$nuget_uname
"
--password
"
$nuget_pswd
"
--store-password-in-clear-text
&&
dotnet nuget add
source
"https://msazure.pkgs.visualstudio.com/one/_packaging/azure-deployment-builder-Consumption/nuget/v3/index.json"
--name
MSAZ
--username
"
$nuget_uname
"
--password
"
$nuget_pswd
"
--store-password-in-clear-text
&&
dotnet nuget add
source
"https://o365exchange.pkgs.visualstudio.com/_packaging/Common/nuget/v3/index.json"
--name
O365Core
--username
"
$nuget_uname
"
--password
"
$nuget_pswd
"
--store-password-in-clear-text
&&
dotnet nuget add
source
"https://skype.pkgs.visualstudio.com/DefaultCollection/_packaging/csc/nuget/v3/index.json"
--name
Skype
--username
"
$nuget_uname
"
--password
"
$nuget_pswd
"
--store-password-in-clear-text
&&
dotnet nuget add
source
"https://o365exchange.pkgs.visualstudio.com/959adb23-f323-4d52-8203-ff34e5cbeefa/_packaging/M365FleetAGC/nuget/v3/index.json"
--name
M365FleetAGC
--username
"
$nuget_uname
"
--password
"
$nuget_pswd
"
--store-password-in-clear-text
&&
openxt
sync
--local-repo-dir
~/nuget-local-repo
--project-dir
src/Microsoft/Azure/Workflows/M365FleetAGC
||
openxt
sync
--local-repo-dir
~/nuget-local-repo
--project-dir
src/Microsoft/Azure/Workflows/M365FleetAGC
||
exit
$?
exit
$?
# The noob Microsoft.Azure.Cosmos.Table packager set the version to 0.0.0.0. Fuck you.
echo
START hotfix
nuget-download-package Microsoft.Azure.Cosmos.Table 1.0.6 ~/nuget-test-repo
&&
rm
-rf
~/nuget-test-repo/microsoft.azure.cosmos.table/2.0.0-preview
||
exit
$?
#######################################
#######################################
echo
START build
echo
START build
...
@@ -30,7 +33,8 @@ echo START pack
...
@@ -30,7 +33,8 @@ echo START pack
rm
-f
~/build-output/net472/
*
.pdb
&&
rm
-f
~/build-output/net472/
*
.pdb
&&
cp
Workflows/
*
.xaml ~/build-output/net472/
&&
cp
Workflows/
*
.xaml ~/build-output/net472/
&&
zip build-output.zip ~/build-output/net472/
**
||
zip output.zip ~/build-output/net472/
**
&&
cp
output.zip /buildroot/output.zip
||
exit
$?
exit
$?
echo
DONE
echo
DONE
...
...
This diff is collapsed.
Click to expand it.
Azure-Deployment-Builder/host-daemon.fish
+
3
−
1
View file @
ab2bd0b2
...
@@ -7,6 +7,7 @@ set devops_uname bensl
...
@@ -7,6 +7,7 @@ set devops_uname bensl
set devops_pswd (cat /home/recolic/scripts/ms-passwords/devops-password)
set devops_pswd (cat /home/recolic/scripts/ms-passwords/devops-password)
# Using GNU grep, allow basic regex. (I assume nobody place SPACE and origin/ in his branch name. )
# Using GNU grep, allow basic regex. (I assume nobody place SPACE and origin/ in his branch name. )
set triggers master M365FleetAGC 'u/recolic/.*'
set triggers master M365FleetAGC 'u/recolic/.*'
set webroot /var/www/html/externci
set tmpf /tmp/ms-externci-azdeploymentbuilder
set tmpf /tmp/ms-externci-azdeploymentbuilder
test $devops_pswd = "" ; and echo "Please set devops_password" ; and exit 1
test $devops_pswd = "" ; and echo "Please set devops_password" ; and exit 1
...
@@ -14,6 +15,7 @@ test $devops_pswd = "" ; and echo "Please set devops_password" ; and exit 1
...
@@ -14,6 +15,7 @@ test $devops_pswd = "" ; and echo "Please set devops_password" ; and exit 1
function dobuild
function dobuild
set build_tag $args[1]
set build_tag $args[1]
sudo docker run -ti --rm -v (pwd)/..:/buildroot recolic/openxt bash /buildroot/guest-build.sh $devops_uname $devops_pswd
sudo docker run -ti --rm -v (pwd)/..:/buildroot recolic/openxt bash /buildroot/guest-build.sh $devops_uname $devops_pswd
and mv ../output.zip $webroot/AzDB.$build_tag.zip
end
end
test -d repo
test -d repo
...
@@ -42,7 +44,7 @@ while true
...
@@ -42,7 +44,7 @@ while true
end
end
end
end
sleep
10m
sleep
60
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment