-
Notifications
You must be signed in to change notification settings - Fork 63
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
Latest Version Of Morph(1.8) Breaks CI #228
Comments
morph 1.8 hasn't hit nixpkgs-unstable or nixpkgs-stable yet, how did you install morph? what does |
I found it was using this version from the logs of the actions runner
I'm not sure why it's pulling down that specific package but based on the logs it is. Also from previous runs, this seems to be the only thing that has changed in terms of dependencies. This is a simplified version of the log I can provide the full log if needed. |
My understanding is that morph is contained in the I run morph via the nix-shell-action. However, I may be wrong with how the shell action works it may be installing that package itself when it is set up(By calling the latest github ref?). I'm doing some tests now to remove that action abstraction. |
@cafkafk InstallationI'm "installing morph with nix shell Github actions yaml
LogsFull Logs:
Could it possible that the 1.8 version has hit the |
I went ahead and found a fix for my specific issue. Looks like it revolved around the For whatever reason, default shell is the latest version of morph: I went ahead and pined a specific nixpkgs version to 24.05 Going forward with version 1.8, do we know what is cause the original error? Seems to me like |
Okay I see, I'll go ahead and debug the As I said earlier, I found my workflows to help me a lot in my CI/CD efforts when using github actions and Morph. Is there a place for me to add this documentation to the Morph repo? I don't mind adding a readme to help others do the same. |
There currently isn't to my knowledge, but I'll make sure to ask the team if this is something we can add, I'll get back to you! |
Hi there. Sorry you're running into trouble. :( Maybe my brain is just fried from all this NixCon'ing, but to me it looks like your workflow is fairly standard from what Morph is expected to be able to do. What is it I'm missing? :) Thank you for looking into what might be causing your problem! |
Yes it is standard usage of Nix and may not be very relevant to Morph itself. I guess as a noob trying to get this to work it was not clear to me how to use Morph to even try it out. I understand that Nix has a large learning curve and my knowledge was lacking there. I was thinking of a quick start section with how to use Morph within a nix shell environment would be useful to others wanting to see how they could quickly try it out? Its a great tool and helped me a ton with my own CD workflows. Just from my own experience, others could be turned away by not having a quick way to get started. |
I set up a GitHub actions that deploys to my virtual machines running in digital ocean, this has been running fine over the past couple of months until a few days ago when the 1.8 Version of Morph was released.
I'm getting the error when running the
morph deploy network.nix switch
command. This is being run in a Nix Shell on ubuntu:My understanding is that some
nixpkgs.hostPlatform
ornixpkgs.system
needs to be set but is this option available in anix-shell
? Maybe there is a flag I can set on mynix-shell
to emulate this.Here is my deployment yaml for github actions
I understand that this is not a common use case of this package but I would like to resolve it. I would gladly contribute my workflows for others that want to do similar things in their pipelines. It has really helped me set up CI/CD in my nix server workflows.
The text was updated successfully, but these errors were encountered: