ockam icon indicating copy to clipboard operation
ockam copied to clipboard

ci: Instead of `Docker` use `Nix` to build release

Open PsychoPunkSage opened this issue 1 year ago • 3 comments

Current behavior

Currently, we build ockam release assets (Nif build) using our Docker builder image,

Proposed changes

deprecate usage of docker and use Nix instead Closes #5943

PsychoPunkSage avatar Aug 09 '24 04:08 PsychoPunkSage

Hi @metaclips i have done the desired changes Please have a look

I need help in few things:

How to test the workflow (I'm making)? I'm not aware of any to do it.... Can you tell how to do it on my system

I'm following nix pills to get basics of nix. Is it right resource? Additionally can you share some more resources related to nix which I can follow to better understand it?

PsychoPunkSage avatar Aug 15 '24 11:08 PsychoPunkSage

Hi @metaclips i have done the desired changes Please have a look

I need help in few things:

How to test the workflow (I'm making)? I'm not aware of any to do it.... Can you tell how to do it on my system

I'm following nix pills to get basics of nix. Is it right resource? Additionally can you share some more resources related to nix which I can follow to better understand it?

How to test the workflow (I'm making)? I'm not aware of any to do it.... Can you tell how to do it on my system

You can test on your repository, should be straightforward as you made changes only to the workflow that builds binaries, on your repository, this is the workflow that creates the draft binaries https://github.com/PsychoPunkSage/ockam/actions/workflows/release-draft-binaries.yml

I use this website to learn more about Nix https://nix-community.github.io/awesome-nix/

metaclips avatar Aug 19 '24 14:08 metaclips

You can test on your repository, should be straightforward as you made changes only to the workflow that builds binaries, on your repository, this is the workflow that creates the draft binaries https://github.com/PsychoPunkSage/ockam/actions/workflows/release-draft-binaries.yml

I use this website to learn more about Nix https://nix-community.github.io/awesome-nix/

Thank you for help :)

Are there any changes required (in this PR)?

PsychoPunkSage avatar Aug 19 '24 17:08 PsychoPunkSage