From 5d1f784bcbe97c5bcce4efb4e3ee0db45ae2c8e0 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Fri, 9 Jul 2021 14:08:00 +0800 Subject: [PATCH] [skip ci] Update build Milvus with Docker README (#6400) Signed-off-by: quicksilver --- .github/workflows/publish-builder.yaml | 2 ++ .github/workflows/publish-krte-images.yaml | 2 ++ .github/workflows/publish-test-images.yaml | 2 ++ build/README.md | 3 ++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index a0e2c907a5..d2fb068ba9 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -8,11 +8,13 @@ on: paths: - 'build/docker/builder/**' - '.github/workflows/publish-builder.yaml' + - '!**.md' pull_request: # file paths to consider in the event. Optional; defaults to all. paths: - 'build/docker/builder/**' - '.github/workflows/publish-builder.yaml' + - '!**.md' jobs: publish-builder: diff --git a/.github/workflows/publish-krte-images.yaml b/.github/workflows/publish-krte-images.yaml index 1127973be6..512873fb87 100644 --- a/.github/workflows/publish-krte-images.yaml +++ b/.github/workflows/publish-krte-images.yaml @@ -8,11 +8,13 @@ on: paths: - 'build/docker/krte/**' - '.github/workflows/publish-krte-images.yaml' + - '!**.md' pull_request: # file paths to consider in the event. Optional; defaults to all. paths: - 'build/docker/krte/**' - '.github/workflows/publish-krte-images.yaml' + - '!**.md' jobs: publish-krte-images: diff --git a/.github/workflows/publish-test-images.yaml b/.github/workflows/publish-test-images.yaml index c144ed8007..e34d479850 100644 --- a/.github/workflows/publish-test-images.yaml +++ b/.github/workflows/publish-test-images.yaml @@ -9,12 +9,14 @@ on: - 'tests/docker/Dockerfile' - 'tests/python_test/requirements.txt' - '.github/workflows/publish-test-images.yaml' + - '!**.md' pull_request: # file paths to consider in the event. Optional; defaults to all. paths: - 'tests/docker/Dockerfile' - 'tests/python_test/requirements.txt' - '.github/workflows/publish-test-images.yaml' + - '!**.md' jobs: publish-pytest-images: diff --git a/build/README.md b/build/README.md index 77807578bf..f745ad01ed 100644 --- a/build/README.md +++ b/build/README.md @@ -1,4 +1,4 @@ -# Building Milvus +# Building Milvus with Docker Building Milvus is easy if you take advantage of the containerized build environment. This document will help guide you through understanding this build process. @@ -64,6 +64,7 @@ The following scripts are found in the [`build/`](.) directory. Note that all sc * `build/builder.sh make unittest`: Run all unit tests * `build/builder.sh make clean`: Clean up all the generated files +You can specify a different OS for builder by setting OS_NAME which defaults to `ubuntu18.04`. Valid OS name are `ubuntu18.04`, `centos7`. ## E2E Tests