diff --git a/aurora-base/Dockerfile b/aurora-base/Dockerfile deleted file mode 100644 index 282a07d..0000000 --- a/aurora-base/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM ubuntu:15.04 - -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \ - echo "deb http://repos.mesosphere.io/ubuntu vivid main" | tee /etc/apt/sources.list.d/mesosphere.list && \ - apt-get update -y && apt-get install -y mesos=0.25.0-0.2.70.ubuntu1504 openjdk-8-jre unzip - -ADD https://releases.hashicorp.com/vault/0.5.0/vault_0.5.0_linux_amd64.zip vault.zip - -RUN unzip vault.zip && mv ./vault /usr/bin/vault diff --git a/aurora-base/aurora.repo b/aurora-base/aurora.repo deleted file mode 100644 index 079c0c5..0000000 --- a/aurora-base/aurora.repo +++ /dev/null @@ -1,4 +0,0 @@ -[apache-aurora-wfarner] -name=Apache Aurora distribution maintained by wfarner -baseurl=http://people.apache.org/~wfarner/aurora/distributions/0.10.0-1/rpm/centos-7/ -gpgcheck = 0 diff --git a/aurora-executor/Dockerfile b/aurora-executor/Dockerfile deleted file mode 100644 index dcdf62e..0000000 --- a/aurora-executor/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM alisw/mesos-base:0.28.2 - -ADD http://people.apache.org/~wfarner/aurora/distributions/0.11.0/deb/ubuntu-trusty/aurora-executor_0.11.0_amd64.deb aurora-executor_0.11.0_amd64.deb -RUN dpkg -i aurora-executor_0.11.0_amd64.deb diff --git a/aurora-executor/aurora.repo b/aurora-executor/aurora.repo deleted file mode 100644 index 079c0c5..0000000 --- a/aurora-executor/aurora.repo +++ /dev/null @@ -1,4 +0,0 @@ -[apache-aurora-wfarner] -name=Apache Aurora distribution maintained by wfarner -baseurl=http://people.apache.org/~wfarner/aurora/distributions/0.10.0-1/rpm/centos-7/ -gpgcheck = 0 diff --git a/aurora-executor/packer.json b/aurora-executor/packer.json deleted file mode 100644 index b714ff9..0000000 --- a/aurora-executor/packer.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "_comment": "Aurora executor", - "variables": { - "mesos_version": "1.0.1", - "aurora_version": "0.16.0", - "DOCKER_HUB_REPO": "aliswdev" - }, - "builders": [ - { - "type": "docker", - "image": "{{user `DOCKER_HUB_REPO`}}/mesos-base:{{user `mesos_version`}}", - "commit": true - } - ], - "provisioners": [ - { - "type": "shell", - "inline": ["yum install -y cyrus-sasl", - "rpm -Uvh https://bintray.com/apache/aurora/download_file?file_path=centos-7%2Faurora-executor-{{user `aurora_version`}}-1.el7.centos.aurora.x86_64.rpm"] - } - ], - "post-processors": [ - [ - { - "type": "docker-tag", - "repository": "{{user `DOCKER_HUB_REPO`}}/aurora-executor", - "tag": "{{user `aurora_version`}}" - }, - "docker-push" - ] - ] -} diff --git a/aurora-scheduler/aurora.repo b/aurora-scheduler/aurora.repo deleted file mode 100644 index 079c0c5..0000000 --- a/aurora-scheduler/aurora.repo +++ /dev/null @@ -1,4 +0,0 @@ -[apache-aurora-wfarner] -name=Apache Aurora distribution maintained by wfarner -baseurl=http://people.apache.org/~wfarner/aurora/distributions/0.10.0-1/rpm/centos-7/ -gpgcheck = 0 diff --git a/aurora-scheduler/mesos.repo b/aurora-scheduler/mesos.repo deleted file mode 100644 index eb576b1..0000000 --- a/aurora-scheduler/mesos.repo +++ /dev/null @@ -1,6 +0,0 @@ -[bintray-mesos-el] -name=bintray-mesos-el -baseurl=https://dl.bintray.com/apache/mesos/el7/x86_64 -gpgcheck=0 -repo_gpgcheck=0 -enabled=1 diff --git a/aurora-scheduler/packer.json b/aurora-scheduler/packer.json deleted file mode 100644 index 30438d3..0000000 --- a/aurora-scheduler/packer.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "_comment": "Aurora scheduler", - "variables": { - "aurora_version": "0.16.0", - "DOCKER_HUB_REPO": "aliswdev" - }, - "builders": [ - { - "type": "docker", - "image": "centos:centos7", - "commit": true, - "changes": [ - "ENTRYPOINT [\"\"]", - "CMD [\"\"]" - ] - } - ], - "provisioners": [ - { - "type": "file", - "source": "run.sh", - "destination": "/run.sh" - }, - { - "type": "shell", - "inline": [ - "rpm -Uvh http://repos.mesosphere.com/el/7/noarch/RPMS/mesosphere-el-repo-7-3.noarch.rpm", - "yum install -y cyrus-sasl java-1.8.0-headless which bash", - "yum update -y && yum install -y mesos-1.0.4 ", - "yum clean all -y", - "rpm -Uvh https://bintray.com/apache/aurora/download_file?file_path=centos-7%2Faurora-scheduler-{{user `aurora_version`}}-1.el7.centos.aurora.x86_64.rpm"] - } - ], - "post-processors": [ - [ - { - "type": "docker-tag", - "repository": "{{user `DOCKER_HUB_REPO`}}/aurora-scheduler", - "tag": "{{user `aurora_version`}}" - }, - "docker-push" - ] - ] -} diff --git a/aurora-scheduler/run.sh b/aurora-scheduler/run.sh deleted file mode 100644 index e1fc44c..0000000 --- a/aurora-scheduler/run.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -ex -AURORA_HOME=/usr/lib/aurora -AURORA_MESOS_MASTER=${AURORA_MESOS_MASTERS:-zk://127.0.0.1:2181/mesos} - -mkdir -p /var/lib/aurora/scheduler/db /var/lib/aurora-backup -mesos-log initialize --path=/var/lib/aurora/scheduler/db && true - -JAVA_OPTS=( - -Xmx2g - -Xms2g - -XX:+UseG1GC - -XX:+UseStringDeduplication - # GC tuning, etc. -) - - -AURORA_FLAGS=( - -mesos_master_address=${AURORA_MESOS_MASTERS} - -cluster_name=${AURORA_CLUSTER_NAME:-mesos} - -serverset_path=${AURORA_SERVERSET_PATH:-/aurora/scheduler} - -native_log_quorum_size=${QUORUM_SIZE:-1} - -backup_dir=/var/lib/aurora-backup - -http_port=8081 - -native_log_file_path=/var/lib/aurora/scheduler/db - -thermos_executor_path=${THERMOS_EXECUTOR_PATH:-/usr/bin/thermos_executor} - -zk_endpoints=${ZK_ENDPOINTS:-127.0.0.1:2181} - -native_log_zk_group_path=${AURORA_NATIVE_LOG_ZK_GROUP_PATH:-/aurora/replicated-log} - -thermos_executor_cpu=0 - -thermos_executor_ram=128MB - -max_schedule_penalty=20secs - -min_offer_hold_time=1mins - -allow_docker_parameters - -populate_discovery_info - ${AURORA_SHIRO_AFTER_AUTH_FILTER:+-shiro_after_auth_filter=${AURORA_SHIRO_AFTER_AUTH_FILTER}} - ${AURORA_SHIRO_REALM_MODULES:+-shiro_realm_modules=${AURORA_SHIRO_REALM_MODULES}} - ${AURORA_SHIRO_INI_PATH:+-shiro_ini_path=${AURORA_SHIRO_INI_PATH}} - ${AURORA_HTTP_AUTHENTICATION_MECHANISM:+-http_authentication_mechanism=${AURORA_HTTP_AUTHENTICATION_MECHANISM}} - ${AURORA_ALLOWED_CONTAINER_TYPES:+-allowed_container_types $AURORA_ALLOWED_CONTAINER_TYPES} - ${AURORA_REVOCABLE_RESOURCES:+-receive_revocable_resources=$AURORA_REVOCABLE_RESOURCES} - ${AURORA_TIER_CONFIG:+-tier_config=$AURORA_TIER_CONFIG} -) - -JAVA_OPTS="${JAVA_OPTS[*]}" exec "$AURORA_HOME/bin/aurora-scheduler" "${AURORA_FLAGS[@]}"