Skip to content

Commit aa205b5

Browse files
CodingIsBlissSarath chandra Bussa
and
Sarath chandra Bussa
authored
Remove buildServer (#2580)
* remove buildServer * delete file * added binder * changes * changes --------- Co-authored-by: Sarath chandra Bussa <[email protected]>
1 parent cada9e8 commit aa205b5

37 files changed

+1
-1001
lines changed

Oryx.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "src\Oryx.Common\C
9595
EndProject
9696
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildScriptGenerator.Common.Tests", "tests\BuildScriptGenerator.Common.Tests\BuildScriptGenerator.Common.Tests.csproj", "{3078BCDB-FC35-4826-82A1-9CE094446DE8}"
9797
EndProject
98-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildServer", "src\BuildServer\BuildServer.csproj", "{F13BEF5A-5426-4F77-879F-A7F812F1E336}"
99-
EndProject
100-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildServer.Tests", "tests\BuildServer.Tests\BuildServer.Tests.csproj", "{5BD3E03A-3086-4CF6-950B-215C1E76B7F5}"
101-
EndProject
10298
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Automation", "build\tools\Automation\Automation.csproj", "{18F7BB74-0A1E-4289-9161-515E65E667CE}"
10399
EndProject
104100
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Automation.Tests", "tests\AutomationTests\Automation.Tests.csproj", "{B13C48B3-71A8-428F-A6BD-FBCDB42A68AF}"
@@ -211,8 +207,6 @@ Global
211207
{ECEEEF09-5053-46D7-B7E8-2711B523D1F6} = {C0150C21-3EC8-4973-B57C-26BC27A4ED57}
212208
{93C07A18-89BA-45A2-B818-F2B20E17E0BE} = {C0150C21-3EC8-4973-B57C-26BC27A4ED57}
213209
{3078BCDB-FC35-4826-82A1-9CE094446DE8} = {7515BF2B-C485-43A0-AB2F-DC761B6AB151}
214-
{F13BEF5A-5426-4F77-879F-A7F812F1E336} = {C0150C21-3EC8-4973-B57C-26BC27A4ED57}
215-
{5BD3E03A-3086-4CF6-950B-215C1E76B7F5} = {7515BF2B-C485-43A0-AB2F-DC761B6AB151}
216210
{18F7BB74-0A1E-4289-9161-515E65E667CE} = {2AA826A1-5647-46B2-9885-20E89050653F}
217211
{B13C48B3-71A8-428F-A6BD-FBCDB42A68AF} = {7515BF2B-C485-43A0-AB2F-DC761B6AB151}
218212
EndGlobalSection

README.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -114,35 +114,6 @@ docker run --detach --rm \
114114
    sh -c 'oryx create-script -appPath /app && /run.sh'
115115
```
116116

117-
## Build Server Invocation
118-
1. Build the Oryx solution
119-
1. ![Build Solutionpng](doc/buildServer/buildSolution.png)
120-
1. Create image with oryx and platform binaries
121-
1. `time build/buildBuildImages.sh -t ltsversion`
122-
1. Run docker to port map, volume mount a directory, specify the image with `oryx build`, and invoke BuildServer
123-
1. ```bash
124-
docker run -it -p 8086:80 \
125-
-v C:\Repo\Oryx\tests\SampleApps\:/tmp/SampleApps \
126-
-e "ASPNETCORE_URLS=http://+80" \
127-
oryxdevmcr.azurecr.io/public/oryx/build:lts-versions \
128-
/opt/buildscriptgen/BuildServer
129-
```
130-
![Start](doc/buildServer/start.png)
131-
1. Invoke build
132-
1. ![Post](doc/buildServer/post.png)
133-
1. Under the hood `oryx build` is invoked
134-
```bash
135-
oryx build [sourcePath] \
136-
--platform [platform] \
137-
--platform-version [version] \
138-
--output [outputPath] \
139-
--log-file [logPath]
140-
```
141-
1. Check build status with id `1`
142-
1. ![Status](doc/buildServer/status.png)
143-
1. Check server healthcheck
144-
1. ![Health Check](doc/buildServer/healthCheck.png)
145-
146117
# Components
147118

148119
Oryx consists of a build image, a collection of runtime images, a build script generator, and a collection of

images/build/Dockerfiles/cli.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ COPY binaries /opt/buildscriptgen/
3131
COPY src src
3232
COPY build/FinalPublicKey.snk build/
3333
RUN chmod a+x /opt/buildscriptgen/GenerateBuildScript
34-
RUN chmod a+x /opt/buildscriptgen/Microsoft.Oryx.BuildServer
3534

3635
ARG IMAGES_DIR=/opt/tmp/images
3736
ARG BUILD_DIR=/opt/tmp/build

images/build/Dockerfiles/cliBuilder.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ COPY binaries /opt/buildscriptgen/
3131
COPY src src
3232
COPY build/FinalPublicKey.snk build/
3333
RUN chmod a+x /opt/buildscriptgen/GenerateBuildScript
34-
RUN chmod a+x /opt/buildscriptgen/Microsoft.Oryx.BuildServer
3534

3635
ARG IMAGES_DIR=/opt/tmp/images
3736
ARG BUILD_DIR=/opt/tmp/build

images/build/Dockerfiles/full.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ COPY src src
5252
COPY build/FinalPublicKey.snk build/
5353

5454
RUN chmod a+x /opt/buildscriptgen/GenerateBuildScript
55-
RUN chmod a+x /opt/buildscriptgen/Microsoft.Oryx.BuildServer
5655

5756
COPY --from=startupScriptGens /opt/startupcmdgen/ /opt/startupcmdgen/
5857

images/build/Dockerfiles/gitHubActions.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ COPY src src
1919
COPY build/FinalPublicKey.snk build/
2020

2121
RUN chmod a+x /opt/buildscriptgen/GenerateBuildScript
22-
RUN chmod a+x /opt/buildscriptgen/Microsoft.Oryx.BuildServer
2322

2423
FROM ${BASE_IMAGE} AS main
2524
ARG DEBIAN_FLAVOR

images/build/build_buildimages.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ set -ex
3838
echo "current directory: $(pwd)"
3939

4040
dotnet publish ./src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj --configuration Release --output binaries --runtime linux-x64 --self-contained
41-
dotnet publish ./src/BuildServer/BuildServer.csproj --configuration Release --output binaries --runtime linux-x64 --self-contained
4241

4342
case $build_image in
4443
"githubactions")

src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
<ItemGroup>
2626
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
27+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />
2728
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
2829
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
2930
<PackageReference Include="Microsoft.Extensions.Configuration.Ini" Version="7.0.0" />
@@ -43,7 +44,6 @@
4344

4445
<ItemGroup>
4546
<ProjectReference Include="..\BuildScriptGenerator\BuildScriptGenerator.csproj" />
46-
<ProjectReference Include="..\BuildServer\BuildServer.csproj" />
4747
</ItemGroup>
4848

4949
</Project>

src/BuildServer/BuildServer.csproj

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/BuildServer/BuildServer.signproj

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/BuildServer/Controllers/BuildController.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

src/BuildServer/Controllers/HealthController.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/BuildServer/Exceptions/IntegrityException.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/BuildServer/Exceptions/OperationFailedException.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/BuildServer/Exceptions/ServiceException.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/BuildServer/Models/Build.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/BuildServer/Models/FileOutputHandler.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/BuildServer/Models/HealthStatus.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)