Giter Club home page Giter Club logo

Comments (5)

stefanotorresi avatar stefanotorresi commented on July 19, 2024

We did had the version name in the binary but we removed it because the version is present in the path itself, e.g.:

https://github.com/ClusterLabs/ha_cluster_exporter/releases/download/1.2.0/ha_cluster_exporter-amd64

We could probably compress the binary as you suggest!

from ha_cluster_exporter.

MalloZup avatar MalloZup commented on July 19, 2024

@whoamiUNIX hi thx for issue.

can you share here your automation more explicitly so we can have look and maybe provide you an hint how to get the latest pkg?

I think that somehow with ansible you could get the latest new version without relying on a tarball version but looking at GitHub url or related infos.

from ha_cluster_exporter.

whoamiUNIX avatar whoamiUNIX commented on July 19, 2024

@MalloZup Yes, I need to download exporter and then store it in orcharhino side. Target systems are not connected to internet due security reason. I have separated repository where I store exporter and then I deploy it via ansible on target nodes. The problem here is that when I download it here it contain version only in github URL. If version is directly mentioned in "tar.gz" then I can directly from my orcharhino download specific version. Now I must rename your package and put version here to know exact version. Also I do compression as I think is better to have compressed file.

from ha_cluster_exporter.

stefanotorresi avatar stefanotorresi commented on July 19, 2024

We can add compression no problem, but I'm afraid we're not adding the version to the name just for your specific use case.
Besides, you can name your downloaded files however you desire!

You can just put the version in the destination of your ansible download operation, e.g.:

- name: download ha_cluster_exporter binary
  get_url:
    url: https://github.com/ClusterLabs/ha_cluster_exporter/releases/download/{{ version }}/ha_cluster_exporter-amd64
    dest: /your/path/to/ha_cluster_exporter-{{ version }}-whatever-name-suffix-you-want

from ha_cluster_exporter.

stefanotorresi avatar stefanotorresi commented on July 19, 2024

closing in favour of #189

from ha_cluster_exporter.

Related Issues (20)

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.