This document records the Jenkins builds set up for synapser dev/staging/validation/release.
Build Items
Dev Build
- Run on every push
- Make sure new changes do not break the build
- Do not make change to Github repository
- Do not push artifact to RAN (or staging RAN)
- Item:
Staging Build
- Run on release candidate branches, ideally once; and occasionally, when a patch need to go in before release.
- Build the artifacts
- Do not make change to Github repository
- Push artifacts to staging RAN
- Items:
Release Build
- Run when a version is released.
- Do not make change to Github repository
- Push artifacts to RAN
- Item:
Future Work
- Append an item to run right after release build item, testing the deployment:
- Download and install the artifacts on different platform and versions of R
- Load the synapser library and verify that it works (by running the integration tests)
Workers
Windows
Location
URL: http://jenkins.sagebase.org:8080/computer/jenkins-windows-slave/
The EC2 machine is under the AWS account aws-it@sagebase.org
The password to the AWS account is on Belltown /work/platform/PasswordsAndCredentials/AWS-ITCredentials/passwords.txt
The machine name is jenkins-slave-windows-2017-Sep-29
As seen in the AWS console the address is 34.215.128.118
The region is US West (Oregon)
Access
- To log in, first get the password
- Click Actions > Connect > Get Password
- Enter the contents of /work/platform/PasswordsAndCredentials/AWS-ITCredentials/awsit-keypair-west.pem
- Install Microsoft Remotes Desktop client
- Chose New, and enter the following:
- PC Name: enter IP address
- User name: Administrator
- Password: As returned by AWS
You can now connect to the slave.
Ubuntu
Location
Access
Here is the entry for your ~/.ssh/config
- Host jenkins-linux-slave
- user ubuntu
- HostName ec2-52-10-253-155.us-west-2.compute.amazonaws.com
- IdentityFile ~/.ssh/awsit-keypair-west.pem
Mac
Location
Access
Here is the entry for your ~/.ssh/config
- Host georgetown
- user sagebio
- HostName 140.107.149.88
- password is on Belltown /work/platform/PasswordsAndCredentials/AWS-ITCredentials/passwords.txt
To restart, run the following command seen on the page:
java -jar slave.jar -jnlpUrl http://ec2-54-245-172-65.us-west-2.compute.amazonaws.com:8080/computer/georgetown.fhcrc.org/slave-agent.jnlp -secret xxxx &
Note, the "&" keeps the process running after you disconnect.