From 6bb559e6066630995c7ac3758eff003cb9c13ac1 Mon Sep 17 00:00:00 2001 From: Matthias Pohl Date: Mon, 19 Feb 2024 14:18:14 +0100 Subject: [PATCH] [FLINK-34045][ci] Removes tools/ci/docs.sh --- azure-pipelines.yml | 2 +- tools/azure-pipelines/build-apache-repo.yml | 4 ++-- tools/ci/docs.sh | 21 --------------------- 3 files changed, 3 insertions(+), 24 deletions(-) delete mode 100755 tools/ci/docs.sh diff --git a/azure-pipelines.yml b/azure-pipelines.yml index afe1bfd70d9c3..b27f36f5ed4e2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -87,7 +87,7 @@ stages: - task: GoTool@0 inputs: version: '1.18.1' - - script: ./tools/ci/docs.sh + - script: ./docs/setup_hugo.sh && ./docs/build_docs.sh build # CI / Special stage for release, e.g. building PyFlink wheel packages, etc: - stage: ci_release displayName: "CI build (release)" diff --git a/tools/azure-pipelines/build-apache-repo.yml b/tools/azure-pipelines/build-apache-repo.yml index 673979767c1c9..9bf0a49551df3 100644 --- a/tools/azure-pipelines/build-apache-repo.yml +++ b/tools/azure-pipelines/build-apache-repo.yml @@ -92,7 +92,7 @@ stages: echo "##vso[task.setvariable variable=skip;]0" fi displayName: Check if PR contains docs change - - script: ./tools/ci/docs.sh + - script: ./docs/setup_hugo.sh && ./docs/build_docs.sh build condition: not(eq(variables['SKIP'], '1')) # Special stage for nightly builds: - stage: cron_build @@ -179,7 +179,7 @@ stages: - task: GoTool@0 inputs: version: '1.18.1' - - script: ./tools/ci/docs.sh + - script: ./docs/build_docs.sh install-hugo && ./docs/build_docs.sh build - template: build-python-wheels.yml parameters: stage_name: cron_python_wheels diff --git a/tools/ci/docs.sh b/tools/ci/docs.sh deleted file mode 100755 index b3b2a4abeb77b..0000000000000 --- a/tools/ci/docs.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -################################################################################ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -################################################################################ - -./docs/setup_hugo.sh -./docs/build_docs.sh build