Vault: No checkpoint URL is available for vault

Created on 26 May 2017  路  6Comments  路  Source: hashicorp/vault

Other hashicorp products have checkpoint URLs like:

According to the website: https://checkpoint.hashicorp.com vault should be there too.

Can you please add it to the checkpoint service? I'm usually doing automated installs/upgrades using the checkpoint service and vault is an exception in this case.

Most helpful comment

In case anyone needs to find the latest version...

curl -sL "https://releases.hashicorp.com/vault/" \
    | grep 'href="/vault' \
    | sed 's|.*<a href="/vault/\([-.0-9a-zA-Z]*\)/">.*|\1|' \
    | sort -Vr \
    | head -1

OR

curl -fsS https://api.github.com/repos/hashicorp/vault/tags \
    | jq -re '.[].name' \
    | sed 's/^v\(.*\)$/\1/g' \
    | sort -Vr \
    | head -1

Unfortunately, parsing out pre-releases is more work. If github releases were used you could use the releases API:

curl -fsS https://api.github.com/repos/hashicorp/vault/releases \
    | jq -re '.[] | select(.prerelease != true) | .tag_name' \
    | sed 's/^v\(.*\)$/\1/g' \
    | sort -V \
    | tail -1

All 6 comments

I'm not sure why the text says Vault is known, but I think that is a mistake. We have not built checkpoint into Vault since the vast majority of our users never want their security product reaching out on its own.

@jefferai and what about a vault client on my laptop? That's not a server but a client and I'd love to get notified when it has a newer version.

I didn't say there aren't use cases. Just that we haven't seen enough demand to work through doing it securely and building it.

In case anyone needs to find the latest version...

curl -sL "https://releases.hashicorp.com/vault/" \
    | grep 'href="/vault' \
    | sed 's|.*<a href="/vault/\([-.0-9a-zA-Z]*\)/">.*|\1|' \
    | sort -Vr \
    | head -1

OR

curl -fsS https://api.github.com/repos/hashicorp/vault/tags \
    | jq -re '.[].name' \
    | sed 's/^v\(.*\)$/\1/g' \
    | sort -Vr \
    | head -1

Unfortunately, parsing out pre-releases is more work. If github releases were used you could use the releases API:

curl -fsS https://api.github.com/repos/hashicorp/vault/releases \
    | jq -re '.[] | select(.prerelease != true) | .tag_name' \
    | sed 's/^v\(.*\)$/\1/g' \
    | sort -V \
    | tail -1

Hello - I'm going to close this old issue for now

Would be good for consistency to have the most recent vault version available on the Checkpoint API site.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasonmcintosh picture jasonmcintosh  路  3Comments

dwdraju picture dwdraju  路  3Comments

gtmtech picture gtmtech  路  3Comments

lexsys27 picture lexsys27  路  3Comments

mfischer-zd picture mfischer-zd  路  3Comments