diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b41ba0f..fea7fb05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,31 +12,9 @@ jobs: steps: - checkout - run: ci/do_ci.sh bazel.test - docs: - docker: - - image: *envoy-build-image - resource_class: xlarge - working_directory: /source - steps: - - checkout - - run: ci/do_ci.sh bazel.docs - - add_ssh_keys - - run: docs/publish.sh - - store_artifacts: - path: generated/docs - format: - docker: - - image: *envoy-build-image - resource_class: xlarge - working_directory: /source - steps: - - checkout - - run: ci/do_ci.sh check_format workflows: version: 2 all: jobs: - test - - docs - - format diff --git a/ci/do_ci.sh b/ci/do_ci.sh index 61d6194d..788c955a 100755 --- a/ci/do_ci.sh +++ b/ci/do_ci.sh @@ -18,19 +18,6 @@ if [[ "$1" == "bazel.test" ]]; then bazel --batch build ${BAZEL_BUILD_OPTIONS} //envoy/... bazel --batch test ${BAZEL_TEST_OPTIONS} //test/... //tools/... exit 0 -elif [[ "$1" == "bazel.docs" ]]; then - echo "generating docs..." - ./docs/build.sh -elif [[ "$1" == "fix_format" ]]; then - echo "fix_format..." - cd "${ENVOY_SRCDIR}" - ./tools/check_format.py fix - exit 0 -elif [[ "$1" == "check_format" ]]; then - echo "check_format..." - cd "${ENVOY_SRCDIR}" - ./tools/check_format.py check - exit 0 else echo "Invalid do_ci.sh target. The valid targets are bazel.{docs,test} and {check,fix}_format." exit 1