New build #854

Merged
akinwale merged 33 commits from new-build into master 2020-02-27 19:20:06 +01:00
Showing only changes of commit 139241e7fd - Show all commits

View file

@ -9,6 +9,11 @@ build apk:
before_script:
- apt-get -y update && apt-get -y install build-essential ca-certificates curl git gpg-agent openjdk-8-jdk software-properties-common wget zipalign
- chmod u+x $CI_PROJECT_DIR/gradlew
- wget https://nodejs.org/dist/latest-v10.x/node-v10.19.0-linux-x64.tar.gz && \
tar xf node-v10.19.0-linux-x64.tar.gz -C /opt && \
ln -s /opt/node-v10.19.0-linux-x64/bin/node /usr/bin/node && \
ln -s /opt/node-v10.19.0-linux-x64/bin/npm /usr/bin/npm && \
ln -s /opt/node-v10.19.0-linux-x64/bin/npx /usr/bin/npx
- export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1)
artifacts:
paths:
@ -18,8 +23,7 @@ build apk:
script:
- export PATH=/usr/bin:$PATH
- echo "$PGP_PRIVATE_KEY" | gpg --batch --import
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
echo "deb https://dl.bintray.com/sobolevn/deb git-secret main" | tee -a /etc/apt/sources.list && \
wget -O - https://api.bintray.com/users/sobolevn/keys/gpg/public.key | apt-key add -