Skip to content
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

Add Wyam as a supported plug-in for Gitlab Pages #271

Open
Kkloss opened this issue Apr 10, 2016 · 8 comments
Open

Add Wyam as a supported plug-in for Gitlab Pages #271

Kkloss opened this issue Apr 10, 2016 · 8 comments
Labels
Discussion/Question Discussions or questions about the code

Comments

@Kkloss
Copy link

Kkloss commented Apr 10, 2016

Gitlab recently released their version of Github Pages (http://pages.gitlab.io/) and it includes built-in support for a bunch of static site generators. I am not sure how to add Wyam as a supported but maybe @JobV or @dosire can give some pointers.

@dosire
Copy link

dosire commented Apr 10, 2016

If someone wants to add an example to https://gitlab.com/groups/pages please let me know

@daveaglick daveaglick added the Discussion/Question Discussions or questions about the code label Apr 14, 2016
@daveaglick
Copy link
Member

@dosire Thanks! I'm in the middle of a pretty big push to get the next version out, which sets up some foundational functionality for the next wave of features. Once that's done, I'll be looking at more CI automation and scaffolding so I'll almost certainly follow up with you then.

@dosire
Copy link

dosire commented Apr 14, 2016

@daveaglick OK, thanks

@gijswijs
Copy link

I'm figuring this out myself, but I'm a bit stuck.

Gitlab.com has integrated CI, based on Docker.

AppVeyor (apparently) has 7zip and git preinstalled, but I can't seem to find a docker image (or services) that fits this purpose.
I got this image running in a GitLab CI shared runner, but that's as far as I got:
https://hub.docker.com/r/microsoft/dotnet/

Any pointers would be appreciated.

@daveaglick
Copy link
Member

@gijswijs Hey, cool! I'm actually about to head out for the night, but I'll take a closer look at this tomorrow. It's possible we can rig something up using Cake now that there's a Cake addin for Wyam. All that would require is PowerShell (I.e., no 7zip needed).

We might still need git, but that depends on how GitLab handles uploading. The CI example on the Wyam site is assuming GitHub Pages which only allows uploading files by pushing to a special branch of the git repository. If GitLab has alternate upload mechanisms like FTP, then Cake has some other addins that might help there too...

@gijswijs
Copy link

On second thought, I think this would be the correct image to use. (It has to be an image that's available on hub.docker.com) https://hub.docker.com/r/microsoft/dotnet35/

But it still lot's of guessing. I'm finding my way around with the Gitlab CI, and I don't yet understand it completely.

@gijswijs
Copy link

@daveaglick Digged a little deeper. I think we have to stick to an ubuntu image of sorts to get this to work. The windowsservercore Base Os Image only seems to work on a W2016 host and I'm pretty sure Gitlab doesn't run on W2016.
That leaves us with Ubuntu, but I don't think Wyam would build if you use Cake on Ubuntu, right? (Wyam doesn't build on Mono afaik)
So we are probably better of waiting for .Net Core? #300

Again, I don't understand all of it, but this is what I gathered.

@daveaglick
Copy link
Member

@gijswijs That makes a lot of sense - I've heard the Windows container story (both as a host/server and as an actual container) isn't great right now. Hopefully between advances in Windows containers in general and the forthcoming port to .NET Core we'll be able to tackle this soon. The tinkering you've done should come in very handy once all the pieces are in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion/Question Discussions or questions about the code
Development

No branches or pull requests

4 participants