Skip to content

Automate manual steps of the gitlab release #2663

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

Closed
jneira opened this issue Jan 31, 2022 · 2 comments
Closed

Automate manual steps of the gitlab release #2663

jneira opened this issue Jan 31, 2022 · 2 comments
Labels
CI Continuous integration old_type: distribution type: enhancement New feature or request

Comments

@jneira
Copy link
Member

jneira commented Jan 31, 2022

The actual manual steps are:

  1. download the six extra tarballs
  2. download GitHub SHA256SUMS
  3. compute the sha256sum --tag haskell-language-server* >> SHA256SUMS
  4. upload the new six tarballs and replace SHA256SUMS in the GitHub release

so we have to find a way to

    • download SHA256SUMS from GitHub to gitlab machine using GH API
    • update it with all new checksums (maybe in one unique env which should access tarballs from all jobs)
    • upload all artifacts to GitHub release using GH api (will need a GH Auth token in secrets)

cc @hasufell

@jneira jneira added CI Continuous integration old_type: distribution type: enhancement New feature or request labels Jan 31, 2022
@hasufell
Copy link
Member

hasufell commented Feb 3, 2022

@hasufell
Copy link
Member

Storing secrets in gitlab seems to be a bit more annoying: https://gitlab.haskell.org/help/ci/secrets/index.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration old_type: distribution type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants