Re: [virttools-planet PATCH 2/4] Introduce use of GitLab CI for publishing to GitLab Pages

2020-04-07 Thread Andrea Bolognani
On Tue, 2020-04-07 at 18:18 +0100, Daniel P. Berrangé wrote: > On Tue, Apr 07, 2020 at 04:04:16PM +0200, Andrea Bolognani wrote: > > On Tue, 2020-03-31 at 11:08 +0100, Daniel P. Berrangé wrote: > > > + script: > > > +- python2 planet.py virt-tools/config.ini > > > > Python 2, EW! > >

Re: [virttools-planet PATCH 2/4] Introduce use of GitLab CI for publishing to GitLab Pages

2020-04-07 Thread Daniel P . Berrangé
On Tue, Apr 07, 2020 at 04:04:16PM +0200, Andrea Bolognani wrote: > On Tue, 2020-03-31 at 11:08 +0100, Daniel P. Berrangé wrote: > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > > new file mode 100644 > > index 000..cfc6bf6 > > --- /dev/null > > +++ b/.gitlab-ci.yml > > @@ -0,0 +1,14 @@ > >

Re: [virttools-planet PATCH 2/4] Introduce use of GitLab CI for publishing to GitLab Pages

2020-04-07 Thread Andrea Bolognani
On Tue, 2020-03-31 at 11:08 +0100, Daniel P. Berrangé wrote: > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > new file mode 100644 > index 000..cfc6bf6 > --- /dev/null > +++ b/.gitlab-ci.yml > @@ -0,0 +1,14 @@ > + > +image: centos:7 CentOS 7, ewww. > +pages: > + stage: build > + cache: > +

[virttools-planet PATCH 2/4] Introduce use of GitLab CI for publishing to GitLab Pages

2020-03-31 Thread Daniel P . Berrangé
To publish to GitLab pages, all that is required is to provide a CI job that creates files in a directory called "public" and list that as an artifact. When the CI job completes, the website is immediately available at the URL https://username.gitlab.io/reponame. This makes it much easier to