Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update readme_travis_deploy.md
  • Loading branch information
wimjongman authored Jun 18, 2018
commit ef4c4c7087b91bf29bfc3b71ab8522f64adc9215
22 changes: 11 additions & 11 deletions readme_travis_deploy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Travis Continuous Integration and Nexus Sonatype Deployment
# Travis Continuous Integration and Nexus Sonatype Deployment

##Travis Continuous Integration
## Travis Continuous Integration
This project uses the free-to-OSS Travis CI to test commits.

This allows us to test commits to the master branch and pull requests to see any issues.
Expand All @@ -17,10 +17,10 @@ There are two kinds of Travis CI builds performed:
* If it is a pull request, then we do a mvn verify
* If it is a commit on the master (i.e. a merged pull request or any direct commit by Jantje), then we do a mvn deploy

###Verify Pull Requests
### Verify Pull Requests
Maven verify does a build (but does not send outputs out of Travis). It checks the build excutes and packaging succeeds (It does not deploy because it is not secure to make the secure travis tokens required available to a pull request). A status code will fail if there are issues.

###Deploy commit (on master)
### Deploy commit (on master)
Maven deploy builds and then uploads the outputs to the Sonatype Nexus staging platform. A status code will fail if there are issues.

_This means that after every change on the master branch we will have a built set of targets that can be tested._
Expand All @@ -33,18 +33,18 @@ Deployment produces two things:

The artifacts can be seen at http://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/

####Deploy "Product"s
#### Deploy "Product"s
The snapshot all-in-one product packages go to : http://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/it.baeyens.arduino.product (for example http://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/it.baeyens.arduino.product/1.0.0-SNAPSHOT/)

####Deploy "Update Site"
#### Deploy "Update Site"
The snapshot update site goes to : http://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/it.baeyens.arduino.updatesite/ (for example http://oss.sonatype.org/content/repositories/snapshots/com/github/brodykenrick/arduino-eclipse-plugin/it.baeyens.arduino.updatesite/1.0.0-SNAPSHOT/)


####Deployment Data lifecycle
#### Deployment Data lifecycle
TBD: We need to understand the duration of data being held at the Nexus repo for these snapshots.


###Travis CI Configuration
### Travis CI Configuration

See .travis.yml for the details of how this is implemented.

Expand All @@ -53,13 +53,13 @@ This uses a Travis CI account jantje has linked to his github user name and auth
Jantje's Travis CI is at: https://travis-ci.org/jantje/arduino-eclipse-plugin


##Nexus Sonatype Deployment
## Nexus Sonatype Deployment

For deployment we use a free-to-OSS Nexus setup from Sonatype -- https://oss.sonatype.org/

Deployment is taken care of by tycho/maven after some configuration in the POM.xml files. Essentially pointing a few key variables to the appropriate Nexus repository details and executing _'mvn deploy'_.

###Nexus Sonatype OSS Configuration
### Nexus Sonatype OSS Configuration

Currently the setup uses the Nexus account created by brodykenrick. Later we will likely move to one controlled by jantje for consistency.

Expand All @@ -79,7 +79,7 @@ Note - This was setup following loosely:
* http://blog.sonatype.com/2009/09/maven-tips-and-tricks-using-github/#.Uq5AGfiE3LY
* http://datumedge.blogspot.com.au/2012/05/publishing-from-github-to-maven-central.html

###Nexus Sonatype Deployment for a Release
### Nexus Sonatype Deployment for a Release

TBD - Should be as simple as:

Expand Down