ci: remove docs/format jobs. (#619)

Signed-off-by: Harvey Tuch <htuch@google.com>
pull/620/head
htuch 7 years ago committed by GitHub
parent ac1fd8b746
commit 7c652caedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      .circleci/config.yml
  2. 13
      ci/do_ci.sh

@ -12,31 +12,9 @@ jobs:
steps: steps:
- checkout - checkout
- run: ci/do_ci.sh bazel.test - 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: workflows:
version: 2 version: 2
all: all:
jobs: jobs:
- test - test
- docs
- format

@ -18,19 +18,6 @@ if [[ "$1" == "bazel.test" ]]; then
bazel --batch build ${BAZEL_BUILD_OPTIONS} //envoy/... bazel --batch build ${BAZEL_BUILD_OPTIONS} //envoy/...
bazel --batch test ${BAZEL_TEST_OPTIONS} //test/... //tools/... bazel --batch test ${BAZEL_TEST_OPTIONS} //test/... //tools/...
exit 0 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 else
echo "Invalid do_ci.sh target. The valid targets are bazel.{docs,test} and {check,fix}_format." echo "Invalid do_ci.sh target. The valid targets are bazel.{docs,test} and {check,fix}_format."
exit 1 exit 1

Loading…
Cancel
Save