...
Code Block | ||||
---|---|---|---|---|
| ||||
# start with clean VM, I use root, you can use the recommended non-root account
apt install openjdk-8-jdk
apt-get install ubuntu-desktop
apt-get install git
apt-get install maven
# scp onap gerrit cert into VM from host macbook
obrien:obrienlabs amdocs$ scp ~/.ssh/onap_rsa amdocs@192.168.211.129:~/
root@obriensystemsu0:~# cp /home/amdocs/onap_rsa .
ls /home/amdocs/.m2
cp onap_rsa ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
# test your gerrit access
root@obriensystemsu0:~# git clone ssh://michaelobrien@gerrit.onap.org:29418/logging-analytics
# setup git-review
|
OSX 10.13
Code Block | ||||
---|---|---|---|---|
| ||||
# turn of host checking |
Maven Configuration
add ~/.m2/settings.xml from https://jira.onap.org/secure/attachment/10829/settings.xml
Helm/Rancher/Kubernetes/Docker stack installation
Either install all the current versions manually or use the script in
Verify Docker can pull from nexus3
Code Block | ||||
---|---|---|---|---|
| ||||
ubuntu@ip-10-0-0-144:~$ sudo docker login -u docker -p docker nexus3.onap.org:10001
Login Succeeded
ubuntu@ip-10-0-0-144:~$ sudo docker pull docker.elastic.co/beats/filebeat:5.5.0
5.5.0: Pulling from beats/filebeat
e6e5bfbc38e5: Pull complete
ubuntu@ip-10-0-0-144:~$ sudo docker pull nexus3.onap.org:10001/aaionap/haproxy:1.1.0
1.1.0: Pulling from aaionap/haproxy
10a267c67f42: Downloading [==============================================> ] 49.07 MB/52.58 MB |
Developer Testing
Sonar
Having trouble getting the "run-sonar" command to run sonar - it skips the modules in the pom.
...