You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2021/12/05 06:21:16 UTC
[arrow] branch master updated: ARROW-14981: [CI][Docs] Upload built documents
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 8cebc49 ARROW-14981: [CI][Docs] Upload built documents
8cebc49 is described below
commit 8cebc4948ab5c5792c20a3f463e2043e01c49828
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Sun Dec 5 15:19:46 2021 +0900
ARROW-14981: [CI][Docs] Upload built documents
We can use this in release process instead of building on release
manager's local environment.
Closes #11856 from kou/ci-docs-upload
Authored-by: Sutou Kouhei <ko...@clear-code.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
dev/tasks/docker-tests/azure.linux.yml | 15 ++++++++++++++-
dev/tasks/tasks.yml | 10 +++++++++-
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/dev/tasks/docker-tests/azure.linux.yml b/dev/tasks/docker-tests/azure.linux.yml
index dfa07a0..cff8441 100644
--- a/dev/tasks/docker-tests/azure.linux.yml
+++ b/dev/tasks/docker-tests/azure.linux.yml
@@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.
+{% import 'macros.jinja' as macros with context %}
+
jobs:
- job: linux
pool:
@@ -49,5 +51,16 @@ jobs:
- script: pip install -e arrow/dev/archery[docker]
displayName: Setup Archery
- - script: archery docker run -e SETUPTOOLS_SCM_PRETEND_VERSION="{{ arrow.no_rc_version }}" {{ run }}
+ - script: |
+ archery docker run -e SETUPTOOLS_SCM_PRETEND_VERSION="{{ arrow.no_rc_version }}" {{ run }}
displayName: Execute Docker Build
+
+ {% if post_script is defined %}
+ - script: |
+ {{ post_script|indent(6) }}
+ displayName: Post Script
+ {% endif %}
+
+ {% if artifacts is defined %}
+ {{ macros.azure_upload_releases(artifacts) }}
+ {% endif %}
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 7e33156..4b78955 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -60,6 +60,7 @@ groups:
- python-sdist
- ubuntu-*
- wheel-*
+ - test-ubuntu-default-docs
{############################# Testing tasks #################################}
@@ -1277,7 +1278,14 @@ tasks:
ci: azure
template: docker-tests/azure.linux.yml
params:
- run: ubuntu-docs
+ artifacts: "build/docs.tar.gz"
+ post_script: |
+ cd build
+ sudo chown -R ${USER}: .
+ tar cvzf docs.tar.gz docs
+ run: "-v $PWD/build/:/build/ ubuntu-docs"
+ artifacts:
+ - docs.tar.gz
############################## Fuzz tests #################################