Giter Club home page Giter Club logo

command-bus's People

Contributors

dependabot[bot] avatar pczora avatar schnatterer avatar sdorra avatar sklein94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

command-bus's Issues

Change Jenkins Tool-Name to `OpenJDK-8`

The Tool-Name for JDK-8 should be changed from JDK8 to OpenJDK-8 as that is the default value for our Jenkins and it can cause problems if the tool name is wrong.

Create Continuous Delivery Pipeline

0.2.1 is our first version on maven central. ๐ŸŽ‰

The next step should be to deploy to maven central automatically using Jenkins.

Here's a first pragmatic approach:

  • Any commit on the master branch will be deployed into sonatype release repo (from there it will be automatically synced to maven central)
  • That is, (for now) the version has to be set manually, e.g. with mvn versions:set -DnewVersion=1.2.3. Then commit, tag and push. Don't forget to set the next SNAPSHOT version manually on develop branch.
  • Push to master will trigger the deployment (realized in Jenkinsfile in deploystage)
  • In order to deploy to maven central, Jenkins needs to provide the following
    • gpg binary (e.g. via Docker. The official maven image contains it for example. Tested on 3.5.0-jdk-8)
    • Import gpg key from jenkins credentials: gpg --import $ascFile
      Or: Pass Keyrings from credentials to maven: -Dgpg.publicKeyring=$publicKeyring -Dgpg.secretKeyring=$privateKeyring
    • A secret that contains the gpg passphrase
    • A settings.xml that contains an access token generated at oss.sonatype.org for a user that is allowed to deploy to de.triology
      <server>
        <id>ossrh</id>
        <username>usertoken-username</username>
        <password>usertoken-password</password>
      </server>
  • Do the deploy on jenkins using maven:
    mvn deploy -P release -Dgpg.passphrase=$passPhrase -s $settingsXml

Further improvements could be to automate further (setting versions, tagging, gitflow).
The difficult part about that one is that pushing version changes to Git triggers another build.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.