Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

CI and automatic maven deployment #18

Open

Description

@LeafHacker

ClientAPI should setup Continuous Integration (e.g. TravisCI, Jenkins, etc) to test commits/PRs and automatically deploy artefacts to a maven repo and GitHub releases.

It probably also makes sense to use a "proper" maven repo that can integrate nicely with CI artefact deployment.

I don't have any suggestions for a maven provider, but I know there are free ones available for OSS that use worldwide CDNs to speed up download.

This will go well with #17 as the CDK zip along with release jars would be automatically uploaded to a GH Release as soon as a commit is tagged.

Activity

  1. LeafHacker commented on Aug 15, 2017

    @LeafHacker
    ContributorAuthor

    For GitHub Releases, @ZeroMemes will need to install the travis CLI client and run travis setup releases (and commit the changes to travis.yml). This will upload the listed files to the github release when a tag is added to the repo. See travis docs

    For maven deployment, the best option seems to be packagecloud (the competition is JFrog, which seems far more complicated). It Integrates nicely with travis, maven and gradle and has some fairly nice docs (travis also have some packagecloud docs). It has large data caps, free OSS hosting and a global CDN.


    It's probably also worth reading the travis security tips, mostly to avoid leaking access tokens without first passing them through travis's encryption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions