Skip to content

About

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

Resources

Stars

6 stars

Watchers

3 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

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

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages