From 7d92b7bd85ec9c8a6e2b98e5d96cf3dd795350db Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Wed, 1 Mar 2023 16:20:39 +0800 Subject: [PATCH] Create build-docker-image.md (#5588) * Create build-docker-image.md * Update build-docker-image.md * Update CODEOWNERS * Update ci.yml --- .github/CODEOWNERS | 4 ++-- tools/sdk-generation-pipeline/ci.yml | 2 -- .../documents/docker/build-docker-image.md | 10 ++++++++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 tools/sdk-generation-pipeline/documents/docker/build-docker-image.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6619e354abc..c557f1a7d29 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/tools/sdk-generation-pipeline/ci.yml b/tools/sdk-generation-pipeline/ci.yml index 9bb7eadd008..264b5408fac 100644 --- a/tools/sdk-generation-pipeline/ci.yml +++ b/tools/sdk-generation-pipeline/ci.yml @@ -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: diff --git a/tools/sdk-generation-pipeline/documents/docker/build-docker-image.md b/tools/sdk-generation-pipeline/documents/docker/build-docker-image.md new file mode 100644 index 00000000000..9c310dae6e5 --- /dev/null +++ b/tools/sdk-generation-pipeline/documents/docker/build-docker-image.md @@ -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 .`