nblockchain / fsx

FSX is the ideal tool for people that use F# for their scripting needs.
MIT License
17 stars 5 forks source link

Create gitlab-ci pipeline that generates snap package #1

Closed knocte closed 5 years ago

knocte commented 5 years ago

Deliverables:

  1. An MR/PR that adds a pipeline to gitlab-ci.yml file that creates a snap package.
  2. Snap package must be exposed as an artifact.

Requirements:

  1. Snap package must be compatible with Ubuntu 18.04 and 19.04.
  2. (Optional-bonus-points) snap package can work even if mono and fsharp deb packages are not installed? (this might be much harder to achieve, I'll give a big tip if done)
msonawane commented 5 years ago

Do you want to create snap package when you release ? or should it be created for every push ( unlikely ) how do you handle releases now ? manually or release api ?

will need following

push access to gitlab repo to create a release using release api https://docs.gitlab.com/ee/api/releases/index.html

knocte commented 5 years ago

Do you want to create snap package when you release ? or should it be created for every push ( unlikely )

For every push is fine. We have the gitlab pipeline running in the gitlab mirror here: https://gitlab.com/knocte/fsx .

push access to gitlab repo to create a release using release api

No need, you can fork the repo in gitlab, and every change you make in your fork will spawn a new CI job. After you're done, you can create MergeRequest with your work.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1.065 ETH (179.71 USD @ $168.74/ETH) attached to it.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 14 hours from now. Please review their action plans below:

1) msonawane has started work.

Will be forking gitlab repo and start working

Learn more on the Gitcoin Issue Details page.

knocte commented 5 years ago

Snap package must be compatible with Ubuntu 18.04 and 19.04.

BTW just to clarify this point: the gitlabCI pipeline can run only in 18.04 and still has very high chances of producing a snap package that is compatible with both 18.04 & 19.04 (don't bother running the gitlabCI pipeline with 19.04, as that might be much more work).

iamonuwa commented 5 years ago

@knocte can I extend the existing .gitlab-ci.yml file to achieve this?

knocte commented 5 years ago

That's what actually needs to be done, I'm not sure how you could create a new .gitlab-ci.yml file.

iamonuwa commented 5 years ago

Noted!

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 1.065 ETH (182.43 USD @ $171.3/ETH) has been submitted by:

  1. @msonawane

@knocte please take a look at the submitted work:


knocte commented 5 years ago

(Link Not Provided) by @msonawane

can you provide link to MR/PR?

msonawane commented 5 years ago

contact me on skype please. I need to get some answers before PR

Regards, Manoj Sonawane

Email: sonawane.manoj@gmail.com Skype: msonawane LinkedIn: http://www.linkedin.com/in/msonawane

On Fri, Apr 12, 2019 at 3:24 PM Andres G. Aragoneses < notifications@github.com> wrote:

(Link Not Provided) by @msonawane https://github.com/msonawane

can you provide link to MR/PR?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/knocte/fsx/issues/1#issuecomment-482468115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrMfILSKx18sM5DZm4Mytlq4QgM-SNuks5vgDS-gaJpZM4cj5Gk .

msonawane commented 5 years ago

https://gitlab.com/knocte/fsx/merge_requests/5

Regards, Manoj Sonawane

Email: sonawane.manoj@gmail.com Skype: msonawane LinkedIn: http://www.linkedin.com/in/msonawane

On Fri, Apr 12, 2019 at 3:30 PM Manoj Sonawane sonawane.manoj@gmail.com wrote:

contact me on skype please. I need to get some answers before PR

Regards, Manoj Sonawane

Email: sonawane.manoj@gmail.com Skype: msonawane LinkedIn: http://www.linkedin.com/in/msonawane

On Fri, Apr 12, 2019 at 3:24 PM Andres G. Aragoneses < notifications@github.com> wrote:

(Link Not Provided) by @msonawane https://github.com/msonawane

can you provide link to MR/PR?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/knocte/fsx/issues/1#issuecomment-482468115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrMfILSKx18sM5DZm4Mytlq4QgM-SNuks5vgDS-gaJpZM4cj5Gk .

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 1.065 ETH (184.26 USD @ $173.01/ETH) attached to this issue has been approved & issued to @msonawane.

knocte commented 5 years ago

Fixed in 5bbb351d647207d018e31745eb0e52d98ea98de9, thanks!