diff --git a/Jenkinsfile b/Jenkinsfile index 8132ccf..f00f0bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -229,16 +229,15 @@ } lazyStage { - name = 'beta_crash' + name = 'beta_firebase' onlyif = (! deployBranches.contains(lazyConfig['branch']) && lazyConfig['branch'] != workingBranch && lazyConfig.env.RELEASE ) - input = 'Promote to Crashlytics Beta users?' tasks = [ pre: { unarchive(mapping:["${buildDir}/" : '.']) }, run: { if ( !lazyConfig.env.DRYRUN ) { - fastLane('android', 'beta_crash', "fl_branch:\"${lazyConfig['branch']}\"", 'rh-ruby24') + fastLane('android', 'beta_firebase', "fl_branch:\"${lazyConfig['branch']}\"", 'rh-ruby26') } }, args: "-v /opt/android:/opt/android" diff --git a/lazyDir/centos7.Dockerfile b/lazyDir/centos7.Dockerfile index 73c8435..2758a5b 100644 --- a/lazyDir/centos7.Dockerfile +++ b/lazyDir/centos7.Dockerfile @@ -91,6 +91,15 @@ RUN mkdir /usr/java && \ ln -s /usr/lib/jvm/java-${jdk}-openjdk /usr/java/latest +# Install NodeJS 10 from SCLO repo +RUN yum -q clean expire-cache && \ + yum -q -y update && \ + yum -y install --setopt=tsflags=nodocs \ + rh-nodejs10-nodejs \ + rh-nodejs10-npm \ + && \ + yum -q -y clean all --enablerepo='*' + # Enable SCLs for any later bash session # The script can also be sourced if the entry-point is overwritten COPY enable-scl.sh /usr/local/bin/scl_enable @@ -133,6 +142,11 @@ bundle install && \ rm -rf /home/${user}/.bundle/cache +# Install Firebase CLI for this user +RUN source /usr/local/bin/scl_enable && \ + echo "prefix = /home/${user}" >> /home/${user}/.npmrc && \ + npm install -g firebase-tools + # Prepare locales and other variables ARG locale=en_US.UTF-8 ENV LANG "${locale}"