Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
b6dc9128
Unverified
Commit
b6dc9128
authored
Aug 10, 2018
by
Alexey
Committed by
GitHub
Aug 10, 2018
Browse files
Merge pull request #132 from paritytech/dd-gitlab-ci
Gitlab CI for parity-signer
parents
22109aa3
0916975a
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
b6dc9128
stages
:
-
test
-
build
variables
:
GIT_DEPTH
:
"
3"
SIMPLECOV
:
"
true"
RUST_BACKTRACE
:
"
1"
RUSTFLAGS
:
"
"
CARGOFLAGS
:
"
"
cache
:
untracked
:
true
#android-test:
# stage: test
# image: parity/parity-android
# only:
# - beta
# - tags
# - stable
# - triggers
# - master
# script:
# - curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
# - apt-get install -y nodejs
# - npm install -g yarn
# - npm install
# - npm run test
# tags:
# - rust
android-build
:
stage
:
build
image
:
parity/parity-android
only
:
-
beta
-
tags
-
stable
-
triggers
-
master
script
:
-
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
# To fix, put these in a docker image
-
apt-get install -y nodejs openjdk-8-jdk
-
mkdir -p /opt/android-sdk && cd /opt/android-sdk && wget -q https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && unzip *tools*linux*.zip && rm *tools*linux*.zip && cd /builds/parity/parity-signer
-
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
-
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
-
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
-
apt-get update
-
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select
true
" | sudo debconf-set-selections
-
apt-get install -y oracle-java8-installer
-
yes | /opt/android-sdk/tools/bin/sdkmanager --licenses ||
true
-
echo "ndk.dir=/usr/local/android-ndk-r16b" > android/local.properties
-
echo "sdk.dir=/opt/android-sdk" >> android/local.properties
-
npm install -g yarn
-
bash ./setup_linux.sh
-
npm run android
tags
:
-
rust
gen_key.sh
0 → 100755
View file @
b6dc9128
#!/bin/bash
keytool
-genkey
-noprompt
\
-alias
testing
\
-keysize
2048
\
-keyalg
RSA
\
-dname
"CN=mytestingapk.com, OU=ID, O=UNKNOWN, L=UNKNOWN, S=UNKNOWN, C=GB"
\
-keystore
android/app/apk.keystore
\
-storepass
testing
\
-keypass
testing
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment