This is an automated email from the ASF dual-hosted git repository. vanzin pushed a commit to branch story/PLAT-2902/create-spark-gr-with-ci in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/story/PLAT-2902/create-spark-gr-with-ci by this push: new bb81672 Bootstrapping CircleCI. bb81672 is described below commit bb81672a7eccd3419c162792b276eacd1fc366ed Author: Marcelo Vanzin <van...@apache.org> AuthorDate: Wed Feb 19 16:39:12 2020 -0800 Bootstrapping CircleCI. --- config.yml | 39 +++++++++++++++++++++++++++++++++++++++ gr/build.sh | 12 ++++++++++++ 2 files changed, 51 insertions(+) diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..360ad5b --- /dev/null +++ b/config.yml @@ -0,0 +1,39 @@ +version: 2.1 + +orbs: + aws-ecr: circleci/aws-ecr@6.5.0 + +jobs: + build: + machine: + image: ubuntu-1604:201903-01 + steps: + - checkout + - restore_cache: + key: gr-spark-mvn-cache + paths: + - ~/.m2 + - run: + name: "Build Spark" + command: gr/build.sh + - save_cache: + key: gr-spark-mvn-cache + paths: + - ~/.m2 + +# workflows: +# build_and_push: +# jobs: +# - run_tests +# - aws-ecr/build-and-push-image: +# account-url: ECR_ENDPOINT +# aws-access-key-id: AWS_ACCESS_KEY_ID +# aws-secret-access-key: AWS_SECRET_ACCESS_KEY +# create-repo: false +# dockerfile: Dockerfile +# profile-name: circleci +# region: AWS_DEFAULT_REGION +# repo: protean-operator +# tag: ${CIRCLE_SHA1} +# requires: +# - run_tests diff --git a/gr/build.sh b/gr/build.sh new file mode 100755 index 0000000..700165e --- /dev/null +++ b/gr/build.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Build Spark with all the needed options for GR. +# + +cd $(dirname $0)/.. +./dev/make-distribution.sh \ + --tgz \ + -Pkubernetes \ + -Phive \ + -Phadoop-cloud \ + -Dhadoop.version=2.10.0 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org