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

Static download URL #1503

Closed
bbockelm opened this issue Jul 23, 2024 · 5 comments
Closed

Static download URL #1503

bbockelm opened this issue Jul 23, 2024 · 5 comments
Assignees
Labels
client Issue affecting the OSDF client enhancement New feature or request
Milestone

Comments

@bbockelm
Copy link
Collaborator

Currently, our "short" form of installing Pelican is something like this:

mkdir -p ~/.local/bin
pushd ~/.local/bin
curl -Ls https://github.com/PelicanPlatform/pelican/releases/download/v7.9.3/pelican_Linux_x86_64.tar.gz | tar zx --strip-components=1 pelican-7.9.3/pelican
popd
export PATH=~/.local/bin:$PATH

That is, well, not particularly short.

Two ideas:

  1. In the GitHub Actions that build the website, we should determine the latest release and setup a redirect so a fixed URL can be used to get the latest version. Something like https://get.pelicanplatform.org/Linux_x86_64.tar.gz; no need to include the version number of the fact it is Pelican.
  2. We should have a curl | sh version of the install that does all the above steps. Something like curl https://get.pelicanplatform.org | sh (which could do platform detection in the script and otherwise refer to the latest version as above).
@bbockelm bbockelm added enhancement New feature or request client Issue affecting the OSDF client labels Jul 23, 2024
@bbockelm bbockelm added this to the v7.10.0 milestone Jul 23, 2024
@matyasselmeci
Copy link
Contributor

This might go well with SOFTWARE-5966 (serving the Pelican artifacts from our own webserver).

@CannonLock
Copy link
Contributor

@matyasselmeci @bbockelm This is assigned to Mat in Jira and me here. Who is responsible for its implementation?

@CannonLock
Copy link
Contributor

Just talked to @brianhlin and since I just mucked a bunch with NGINX I figured I would take this.

@CannonLock
Copy link
Contributor

CannonLock commented Oct 16, 2024

@bbockelm How do you feel about splitting this into two services?

I put complete point 1 by moving this site to releases.pelicanplatform.org.

I complete point 2 by adding a redirect for get.pelicanplatform.org to a sh script that we place in the pelican repository.

I suggest this because I want the root of the release server to be able to list out the current offerings, but that is incompatible with the root being used to host the sh script to download the product.

@CannonLock
Copy link
Contributor

CannonLock commented Oct 18, 2024

https://pelican-release-server.chtc.wisc.edu

Going to close this as part 1 is done in production and create another ticket for part two.

#1663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Issue affecting the OSDF client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants