duckinator / bork

A Python build and release management tool.
https://bork.readthedocs.io
MIT License
12 stars 2 forks source link

GitLab Releases #188

Open AstraLuma opened 4 years ago

AstraLuma commented 4 years ago

GitLab has releases now? https://docs.gitlab.com/ee/user/project/releases/

Maybe add support for that?

duckinator commented 4 years ago

I'm in favor of this, but it'll likely be a few weeks before I get to it. (Got a pretty big backlog of non-Bork-related clusterfucks atm.)

AstraLuma commented 4 years ago

OH ALSO

SO IN THEORY, you could make a script that:

  1. Builds the package (or uses a previously built artifacts)
  2. Detects the correct repository and credentials to use (has GITLAB_CI defined, use CI_PROJECT_ID and CI_DEPLOY_PASSWORD to detect index and credentials)
  3. Attempt to upload the artifacts, fail quietly if that version already exists.

ie, your CI step could be:

deploy:
  stage: deploy
  image: duckinator/bork
  script: bork ci

and it could just work.

duckinator commented 4 years ago

DNS for gl.dev.purestorage.com doesn't resolve for me, so none of those links work. :upside_down_face:

AstraLuma commented 4 years ago

:facepalm: fixed