You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/08/19 18:25:02 UTC
[incubator-airflow-ci] 01/34: Initial commit
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-airflow-ci.git
commit 72f96a2f2b43ed17aa72a366244e1f7312fda004
Author: Gerardo Curiel <ge...@rea-group.com>
AuthorDate: Tue May 1 11:34:39 2018 +1000
Initial commit
---
.travis.yml | 34 ++++++++++++++++++++++++++++++++++
Dockerfile.base | 44 ++++++++++++++++++++++++++++++++++++++++++++
README.md | 8 ++++++++
3 files changed, 86 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6acafbb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,34 @@
+#
+# 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.
+#
+
+sudo: required
+dist: trusty
+
+services:
+ - docker
+
+jobs:
+ include:
+ - stage: build airflow-testing docker image
+ script:
+ - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
+ - docker build -f Dockerfile.base -t gerardo/airflow-testing .
+ - docker images
+ - docker tag airflow-testing $DOCKER_USERNAME/airflow-testing
+ - docker push $DOCKER_USERNAME/airflow-testing
diff --git a/Dockerfile.base b/Dockerfile.base
new file mode 100644
index 0000000..11ad13d
--- /dev/null
+++ b/Dockerfile.base
@@ -0,0 +1,44 @@
+#
+# 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.
+#
+
+# WARNING: THIS DOCKERFILE IS NOT INTENDED FOR PRODUCTION USE OR DEPLOYMENT. AT
+# THIS POINT, THIS IS ONLY INTENDED FOR USE IN AUTOMATED TESTS.
+
+FROM ubuntu:xenial
+
+RUN apt-get update && apt-get install -y \
+ openjdk-8-jdk \
+ wget curl \
+ python-pip \
+ python3-pip \
+ git \
+ slapd \
+ ldap-utils \
+ openssh-server \
+ mysql-server-5.6 \
+ mysql-client-core-5.6 \
+ mysql-client-5.6 \
+ postgresql-client \
+ krb5-user \
+ krb5-kdc \
+ krb5-admin-server \
+ openssh-client openssh-server \
+ python-selinux
+
+RUN pip install --upgrade pip && \
+ pip install tox \
+ codecov
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..71d4263
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# Apache Airflow Continuous Integration (CI) support repo
+
+The main purpose of this repository is to provide a number of Docker containers, so that [Travis CI](https://travis-ci.org/gerardo/incubator-airflow) is capable of building Airflow.
+
+
+## Background
+
+PENDING