Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end deployment #11

Open
completer opened this issue Jul 23, 2018 · 0 comments
Open

End-to-end deployment #11

completer opened this issue Jul 23, 2018 · 0 comments
Assignees

Comments

@completer
Copy link
Contributor

completer commented Jul 23, 2018

Example microsite (MHC)

Currently the feature/nuget_package branch of the MHC can be built as a Nuget package and pushed to Nuget.org (see the README.md in that branch). However I'm struggling to work out the best thing to do wrt automation.

How to push a new version to Nuget.org from Jenkins? Should we even bother with doing this? Issues / todos are:

  • nuget push nupkg\Jncc.MhcMicrosite.Plugin.0.0.1.nupkg -Source https://api.nuget.org/v3/index.json requires you to give the nuget package that you just packed (created). But how do we know in Jenkins what file this is? We don't have easy access to the package version. We could extract it out of the XML or perhaps do a directory listing to see what filename was just put into the nupkg folder.
  • nuget push will fail if the package version already exists, which it will if we make this run on every build. What best to do to avoid this getting even more complicated? A separate Jenkins job just for publishing which is manually triggered? Or potentially do curl or something to check if the package version already exists on Nuget, and if so then skip it.

Main website

The jncc-website feature/mhc-integration branch needs to be updated. It currently has a dependency on MarineHabitatClassification.1.0.0 but it needs to be updated so that it uses the package on Nuget.org now called Jncc.MhcMicrosite.Plugin.0.0.1.

Then it needs a straightforward automatic deployment set up so that a push to master automatically publishes via Jenkins and Octopus to the jncc-website.latest website on the jncc-dev machine. A push to release should do the same but publish to jncc live umbraco

@completer completer added this to the Boron milestone Jul 23, 2018
@completer completer self-assigned this Jul 23, 2018
@LynnHeeley LynnHeeley modified the milestones: Boron, Carbon Aug 3, 2018
@LynnHeeley LynnHeeley modified the milestones: Carbon, Oxygen Aug 17, 2018
@LynnHeeley LynnHeeley modified the milestones: Oxygen, Fluorine Sep 17, 2018
@LynnHeeley LynnHeeley modified the milestones: Fluorine, Neon Sep 28, 2018
@LynnHeeley LynnHeeley modified the milestones: Neon, Sodium Oct 16, 2018
@CathyJinJNCC CathyJinJNCC modified the milestones: Sodium, Magnesium Oct 29, 2018
@LynnHeeley LynnHeeley removed this from the Magnesium milestone Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants