matthid / csharptofsharp

MIT License
0 stars 0 forks source link

Build / Deployment / Domain #13

Open matthid opened 5 years ago

matthid commented 5 years ago

I guess we need to add CI builds, automatic deployment and a domain ready to be used.

I can provide subdomains on fake.build, matthid.de and yaaf.de for free :)

If we don't find another solution I guess I can somehow host this (or rewrite the backend in Azure Functions and use the free quota), but I'd probably be more comfortable with accepting @jindraivanek's offer. We don't need to move to gitlab for that?

https://jindraivanek.gitlab.io/blog/2018-10-22-FAKE-continuous-deployment/

Other ideas?

jindraivanek commented 5 years ago

AFAIK Gitlab CI can be used from Github repo. See https://dev.to/anoff/gitlab-cicd-for-githubhow-and-why-4bik.

Any other CI solution that build docker image and push it to repository should work.

mvsmal commented 5 years ago

According to this https://about.gitlab.com/solutions/github/, GitLab CI is free for open-source projects on GitHub.

matthid commented 5 years ago

Yes I use it on the fake repository but it only works when you enable mirroring and it's not the best integration... Anyways, is anyone volunteering to work with @jindraivanek to get this sorted out?

We can change the domain and stuff later

johlrich commented 5 years ago

I can help get it going via Azure DevOps as I'm familiar with it already. I should be able to work on it either later tonight or sometime tomorrow and let you know how it goes

Only complication for me this week is US holiday travels and the short week. If I run into any issues I may not be able to take a look again until Sunday or Monday

matthid commented 5 years ago

@johlrich thanks a lot, sounds awesome. Let me know if you run into any issues. I realized that most CI/CD systems are only free when open-source so I have no problem clicking the button if needed. It's more about announcing and getting a good first impression than it being "private" or secured anyway.

johlrich commented 5 years ago

17 has this work - the steps currently will work for both windows / linux agents

Things missing that I can start looking at when back in town later this weekend:

For the docker container, what kind of publish frequency should that have? How do you think we'll want to publish it: every build to master, when tagged, or with a manual kick off when ready?

matthid commented 5 years ago

For the docker container, what kind of publish frequency should that have?

Personally I like the setup I have in fake: Staging and Release deployments and Staging is deployed automatically. Though you could argue that would be overkill for now :)