-
Notifications
You must be signed in to change notification settings - Fork 0
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
Is this still unfeasible? #1
Comments
I'm actually not quite sure, let me check this week and I'll get back to you. 🤔 |
@gaahrdner, I managed to get pretty far actually. I've deployed Atlantis on a Cloud Run Gen2 execution environment along with a GCS bucket mounted to it using gcsfuse. The files that atlantis writes are stored in the GCS bucket properly but I run into an annoying issue when atlantis plan wants to checkout the git repository..
Maybe we can team up, I believe that I'm very close to making it work. |
@bschaatsbergen this looks great, I'm at family for holiday but I'll drop in later this week and see if we can't figure this out! Thanks! |
@gaahrdner enjoy! Talk to you later |
Apologies for the super long delay. I think I've caught up a bit on the progress you've made, it sounds like there are some limitations with the gcsfuse driver, is that right? https://stackoverflow.com/questions/74913423/error-chmod-on-config-lock-failed-operation-not-permitted |
Did you have a nice holiday @gaahrdner ? That's all good. I plan on swapping gcsfuse for rclone.. |
Okay, there are two new features in Cloud Run! It both supports:
With these two features, it seems like finally it's possible to have Atlantis run in Cloud Run 🎉 |
We have actually achieved this before, @IchordeDionysos. However, we cannot regard it as persistent storage since the memory file system will be erased if Cloud Run disposes the container, which can happen unexpectedly. The only alternative that remains untested is to utilize rclone with Cloud Run and Cloud Storage. Although we did try the in-memory file system approach, it proved to be problematic when dealing with numerous open PRs and container restarts for various reasons, resulting in a cluttered and disorganized system. |
@bschaatsbergen did you try to use Filestore as it is described https://cloud.google.com/run/docs/tutorials/network-filesystems-filestore ? |
@artusiep yep, this works - but you would need a SSD filesystem.. which is a good 800 dollars a month. Which I don't consider to be a solid solution. |
See my comment on runatlantis/atlantis#879 (comment)
Is this still the case?
The text was updated successfully, but these errors were encountered: