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

[Feature request] Docker image for CI/CD #469

Closed
maddsua opened this issue Nov 27, 2023 · 6 comments
Closed

[Feature request] Docker image for CI/CD #469

maddsua opened this issue Nov 27, 2023 · 6 comments

Comments

@maddsua
Copy link
Contributor

maddsua commented Nov 27, 2023

Since Railway does not have a direct integration with GitLab the recommended way of deploying stuff from GitLab is to spin up an empty debian container, install railway cli in it and run it from there. This method certainty works, but having a proper docker image would speed things up a lot. Also, alpine-based images tend to get ready noticeably faster than debian ones.

Copy link

Hello, @maddsua! Thanks for your submission.

Our team will respond soon. If you need more immediate help, try our Forum or our Discord. Thanks!

@zuchka
Copy link
Contributor

zuchka commented Dec 1, 2023

looking into the related PR for this...

@maddsua
Copy link
Contributor Author

maddsua commented Dec 6, 2023

Closing this issues as the linked (not really linked but who cares) PR was merged

@maddsua maddsua closed this as completed Dec 6, 2023
@mattrossman
Copy link

@maddsua Can you elaborate how we'd use the image in that PR to fix this issue?

I can't tell if this image has been deployed anywhere for users or if we have to build and host it ourselves.

This article https://blog.railway.app/p/gitlab-ci-cd still mentions pulling the ubuntu image and installing Railway CLI into it, can you show an example GitLab pipeline configuration that uses the image with Railway preinstalled?

@maddsua
Copy link
Contributor Author

maddsua commented Jun 25, 2024

Hey @mattrossman

As of today, the image is still not deployed to ghcr (or any other registry for that matter). The railway team have not yet enabled containers feature in the repo for some reason. Also, the pipeline isn't even called anywhere at the moment. In other words, altho the dockerfile was merged, it really didn't get anywhere.

Speaking of the article, it's a blog post and I'm not expecting them to update it anytime soon.

About a pipeline example, I guess you wanted to see an example from where you can pull that image. Ummm yeah, you can't really do that at the moment.

My problem with their method was mainly caused by debian not having curl pre installed (so is alpine iirc), and having to run extra commands on each build wasn't something I wanted to do.

Currently my solution is to literally download a specific binary from their release page via wget and copy it directly to /bin. Not a pretty one, but at least it don't generate a wall full of install logs.

You definitely can publish that image yourself if you want to. Or actually, since it's bed time for me right now and I'm nowhere near being asleep I could publish it myself just for the sake of it.

@maddsua
Copy link
Contributor Author

maddsua commented Jun 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants