Skip to content

Commit

Permalink
Create build-docker-image.md (#5588)
Browse files Browse the repository at this point in the history
* Create build-docker-image.md

* Update build-docker-image.md

* Update CODEOWNERS

* Update ci.yml
dw511214992 authored Mar 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8a7d0e5 commit 7d92b7b
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -33,12 +33,12 @@
/tools/ @azure/azure-sdk-eng
/tools/check-enforcer/ @praveenkuttappan @weshaggard
/tools/github-issues/ @praveenkuttappan @weshaggard
/tools/js-sdk-release-tools/ @dw511214992 @qiaozha @MaryGao
/tools/js-sdk-release-tools/ @qiaozha @MaryGao
/tools/mock-service-host/ @changlong-liu @tadelesh
/tools/perf-automation/ @mikeharder @benbp
/tools/pipeline-generator/ @weshaggard @benbp
/tools/pipeline-witness/ @praveenkuttappan @weshaggard
/tools/sdk-generation-pipeline/ @dw511214992 @chunyu3 @zzvswxy @weshaggard
/tools/sdk-generation-pipeline/ @weshaggard @praveenkuttappan @maririos
/tools/sdk-testgen/ @changlong-liu @tadelesh
/tools/stress-cluster/ @benbp @ckairen
/tools/test-proxy/ @scbedd @mikeharder
2 changes: 0 additions & 2 deletions tools/sdk-generation-pipeline/ci.yml
Original file line number Diff line number Diff line change
@@ -165,8 +165,6 @@ stages:
sdkRepo: 'azure-sdk-for-java'
PYTHON:
sdkRepo: 'azure-sdk-for-python'
GO:
sdkRepo: 'azure-sdk-for-go'
Net:
sdkRepo: 'azure-sdk-for-net'
steps:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
If you want to rebuild the docker image, you only can do it in your local. It's suggested to create a release pipeline to build it. (Previously we find that sometimes it will be timeout because the pipeline costs much time in building and pushing docker image, but now the agent pool should be very fast.)

Steps to rebuild the docker image:
1. `cd tools/sdk-generation-pipeline`
2. `rush update`
3. `rush rebuild`
4. `cd packages/sdk-generation-cli`
5. `rushx pack`
6. `cd ../.. # go to tools/sdk-generation-pipeline`
7. `docker build -t sdkgeneration.azurecr.io/sdk-generation:beta-1.0 .`

0 comments on commit 7d92b7b

Please sign in to comment.