Bug 1808605 - part 7: Delete fenix Docker definitions for being identical
parent
3c1464f52c
commit
d5d53a39c1
@ -1,21 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
---
|
||||
|
||||
loader: taskgraph.loader.transform:loader
|
||||
|
||||
transforms:
|
||||
- taskgraph.transforms.docker_image:transforms
|
||||
- taskgraph.transforms.cached_tasks:transforms
|
||||
- taskgraph.transforms.task:transforms
|
||||
|
||||
tasks:
|
||||
android-build:
|
||||
symbol: I(agb)
|
||||
parent: base
|
||||
base:
|
||||
symbol: I(base)
|
||||
ui-tests:
|
||||
parent: base
|
||||
symbol: I(ui-tests)
|
@ -1,31 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
FROM $DOCKER_IMAGE_PARENT
|
||||
|
||||
MAINTAINER Johan Lorenzo <jlorenzo+tc@mozilla.com>
|
||||
|
||||
VOLUME /builds/worker/checkouts
|
||||
|
||||
# Install Sonatype Nexus. Cribbed directly from
|
||||
# https://github.com/sonatype/docker-nexus/blob/fffd2c61b2368292040910c055cf690c8e76a272/oss/Dockerfile.
|
||||
|
||||
ENV NEXUS_ARCHIVE='nexus-bundle.tar.gz' \
|
||||
NEXUS_ROOT='/opt/sonatype/nexus' \
|
||||
NEXUS_SHA1SUM=1a9aaad8414baffe0a2fd46eed1f41b85f4049e6 \
|
||||
NEXUS_VERSION=2.12.0-01 \
|
||||
NEXUS_WORK=/builds/worker/workspace/nexus
|
||||
|
||||
RUN mkdir -p "$NEXUS_ROOT" \
|
||||
&& chown -R worker:worker "$NEXUS_ROOT"
|
||||
|
||||
USER worker:worker
|
||||
|
||||
RUN $CURL --output "$NEXUS_ARCHIVE" "https://download.sonatype.com/nexus/oss/nexus-${NEXUS_VERSION}-bundle.tar.gz" \
|
||||
&& echo "$NEXUS_SHA1SUM $NEXUS_ARCHIVE" | sha1sum --check \
|
||||
&& tar xzvf "$NEXUS_ARCHIVE" --strip-components=1 --directory="$NEXUS_ROOT" \
|
||||
&& rm "$NEXUS_ARCHIVE"
|
||||
|
||||
# run-task expects to run as root
|
||||
USER root
|
@ -1,63 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
||||
# Add worker user
|
||||
RUN mkdir /builds && \
|
||||
useradd -d /builds/worker -s /bin/bash -m worker && \
|
||||
chown worker:worker /builds/worker && \
|
||||
mkdir /builds/worker/artifacts && \
|
||||
chown worker:worker /builds/worker/artifacts
|
||||
|
||||
WORKDIR /builds/worker/
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
#-- Configuration -----------------------------------------------------------------------------------------------------
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
ENV CURL='curl --location --retry 5' \
|
||||
GRADLE_OPTS='-Xmx4096m -Dorg.gradle.daemon=false' \
|
||||
LANG='en_US.UTF-8' \
|
||||
TERM='dumb' \
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
#-- System ------------------------------------------------------------------------------------------------------------
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -y openjdk-8-jdk \
|
||||
openjdk-11-jdk \
|
||||
wget \
|
||||
expect \
|
||||
git \
|
||||
curl \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-yaml \
|
||||
locales \
|
||||
tzdata \
|
||||
unzip \
|
||||
mercurial \
|
||||
&& apt-get clean
|
||||
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN pip install taskcluster
|
||||
|
||||
RUN locale-gen "$LANG"
|
||||
|
||||
# %include-run-task
|
||||
|
||||
ENV SHELL=/bin/bash \
|
||||
HOME=/builds/worker \
|
||||
PATH="/builds/worker/.local/bin:$PATH"
|
||||
|
||||
|
||||
VOLUME /builds/worker/checkouts
|
||||
VOLUME /builds/worker/.cache
|
||||
|
||||
|
||||
# run-task expects to run as root
|
||||
USER root
|
@ -1,37 +0,0 @@
|
||||
FROM $DOCKER_IMAGE_PARENT
|
||||
|
||||
LABEL authors="Richard Pappalardo <rpappalax@gmail.com>, Aaron Train <atrain@mozilla.com>"
|
||||
LABEL maintainer="Richard Pappalardo <rpappalax@gmail.com>"
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
#-- Test tools --------------------------------------------------------------------------------------------------------
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
RUN apt-get install -y jq \
|
||||
&& apt-get clean
|
||||
|
||||
USER worker:worker
|
||||
|
||||
ENV GOOGLE_SDK_DOWNLOAD ./gcloud.tar.gz
|
||||
ENV GOOGLE_SDK_VERSION 407
|
||||
|
||||
ENV TEST_TOOLS /builds/worker/test-tools
|
||||
ENV PATH ${PATH}:${TEST_TOOLS}:${TEST_TOOLS}/google-cloud-sdk/bin
|
||||
|
||||
RUN mkdir -p ${TEST_TOOLS} && \
|
||||
mkdir -p ${HOME}/.config/gcloud
|
||||
|
||||
RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GOOGLE_SDK_VERSION}.0.0-linux-x86_64.tar.gz --output ${GOOGLE_SDK_DOWNLOAD} \
|
||||
&& tar -xvf ${GOOGLE_SDK_DOWNLOAD} -C ${TEST_TOOLS} \
|
||||
&& rm -f ${GOOGLE_SDK_DOWNLOAD} \
|
||||
&& ${TEST_TOOLS}/google-cloud-sdk/install.sh --quiet \
|
||||
&& ${TEST_TOOLS}/google-cloud-sdk/bin/gcloud --quiet components update
|
||||
|
||||
# Flank v21.08.1
|
||||
|
||||
RUN URL_FLANK_BIN="$($CURL --silent 'https://api.github.com/repos/Flank/flank/releases/48276753' | jq -r '.assets[] | select(.browser_download_url | test("flank.jar")) .browser_download_url')" \
|
||||
&& $CURL --output "${TEST_TOOLS}/flank.jar" "${URL_FLANK_BIN}" \
|
||||
&& chmod +x "${TEST_TOOLS}/flank.jar"
|
||||
|
||||
# run-task expects to run as root
|
||||
USER root
|
Loading…
Reference in New Issue