Giter Site home page Giter Site logo

lombiq / hosting-deployments Goto Github PK

View Code? Open in Web Editor NEW
0.0 9.0 0.0 40 KB

Orchard 1 module to display the build version (e.g., semver string, commit hash) optionally as a link to the build on the Admin Dashboard.

License: BSD 3-Clause "New" or "Revised" License

C# 79.65% CSS 3.82% HTML 12.09% Less 4.44%
orchard orchard-cms orchard-module hosting-suite

hosting-deployments's Introduction

Hosting - Deployments readme

Orchard 1 module to display the build version (e.g., semver string, commit hash) optionally as a link to the build on the Admin Dashboard. There is also an Orchard Core-variant of this module.

How to use it

When this module is enabled, the Views\BuildNumber.cshtml template's contents will be displayed in the Admin Dashboard in the Footer zone. This contains technical strings that will be swapped with the values of the BuildVersionDisplay_BuildText and BuildVersionDisplay_BuildUrl MSBuild parameters when at least one of them is provided. If neither is provided, it won't display anything. CI integration examples:

  • In general, pass these parameters to the MSBuild command, e.g.:
/p:BuildVersionDisplay_BuildText="My best commit ever" /p:BuildVersionDisplay_BuildUrl="https://link-to-build.localhost"
  • GitHub Actions: Our MSBuild action (and the workflows that use it) supports this out of the box.
  • TeamCity: Other than passing the parameters to the MSBuild command, you can also use the Build Feature called File Content Replacer to modify the template's content - check out Lombiq.Hosting.Deployments.csproj to see what to replace.

Contributing and support

Bug reports, feature requests, comments, questions, code contributions and love letters are warmly welcome. You can send them to us via GitHub issues and pull requests. Please adhere to our open-source guidelines while doing so.

This project is developed by Lombiq Technologies. Commercial-grade support is available through Lombiq.

hosting-deployments's People

Contributors

benedekfarkas avatar demeszabolcs avatar piedone avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hosting-deployments's Issues

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.