Skip to content

nitram509/concourse-java-maven-test-prj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A test project for playing with concourse

This playground is intended to create a CD pipeline.

The following requirements the pipeline must address:

  1. use Concourse CI
  2. build a Java executable jar file
  3. optional: include a version number in the final file to run
  4. build a docker image
    • optional: tag docker image version (same as above)
  5. publish a docker image

Java, Maven, evtl. Spring Boot

Usage

# build java project
mvn package

# prepare vagrant box
vagrant init concourse/lite
vagrant up

# upload pipeline
fly -t local set-pipeline -p concourse-java-maven-test-prj -c ./pipeline.yml

Where do I get 'fly' from?

As stated in the official fly documentation, you can download or update your fly installation from any Concourse CI installation.

With your vagrant image running, your Concourse CI should be accessible via http://192.168.100.4:8080/. Just download fly from there.

First, add your local running Concourse CI as target

fly -t local login -c "http://192.168.100.4:8080/"

Get a list of configured targets via

>>> fly targets

name   url                        expiry
local  http://192.168.100.4:8080  n/a

About

A test project for playing with concourse - Java, Maven, evtl. Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages