Release diagnostics (#34474)

Skip diagnostics on release mode, add test in firebase testlab
This commit is contained in:
Dan Field
2019-06-18 11:06:09 -07:00
committed by GitHub
parent b8117e2fe3
commit 4a60bee7c0
60 changed files with 1357 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ RUN apt-get install -y --no-install-recommends \
curl \
zip \
unzip \
apt-transport-https \
ca-certificates \
gnupg
@@ -30,6 +31,17 @@ RUN apt-get install -y --no-install-recommends \
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
# Add repo for gcloud sdk and install it
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
RUN apt-get update && apt-get install -y google-cloud-sdk && \
gcloud config set core/disable_usage_reporting true && \
gcloud config set component_manager/disable_update_check true
# Add nodejs repository to apt sources and install it.
ENV NODEJS_INSTALL="/opt/nodejs_install"
RUN mkdir -p "${NODEJS_INSTALL}"