Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Turn the minimesos script into a build artifact with resource filtering #493

Open
frankscholten opened this issue Aug 5, 2016 · 2 comments
Labels

Comments

@frankscholten
Copy link
Contributor

frankscholten commented Aug 5, 2016

Let's turn the minimesos script into a build artifact and using Gradle resource filtering https://dzone.com/articles/resource-filtering-gradle to add the version from gradle.properties.

@frankscholten
Copy link
Contributor Author

Closing for now.

@frankscholten
Copy link
Contributor Author

frankscholten commented Mar 8, 2017

The way the minimesos script is currently versioned and distributed is undesirable.

Problem

  1. The install script is duplicated on minimesos.org and minimesos
  2. The install script from minimesos.org downloads from the minimesos source location https://raw.githubusercontent.com/ContainerSolutions/minimesos/master/bin/install.
  3. We now do versioning of the minimesos script with a custom Gradle task

Solution

  • Move minimesos into src/main/resources and apply Gradle filtering
  • Move install into src/main/resources and apply Gradle filtering
  • On gradle build copy the filtered artifact to ~/.minimesos/bin. This is useful for development so you can just run minimesos instead of src/minimesos/bin/minimesos
  • Upload minimesos to Github on release
  • Upload install to Github on release
  • Update the install script so it fetches minimesos from Github
  • Update minimesos.org so it fetches the install on Hugo build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant