[Mesa-dev] [PATCH 01/16] Added ci yaml file for Gitlab.

Eric Engestrom eric.engestrom at intel.com
Fri May 25 11:15:05 UTC 2018


On Thursday, 2018-05-24 17:27:04 -0700, Laura Ekstrand wrote:
> For now, all this does is copy our current webpage into a public folder.
> Daniel Stone has the server configured to check this public folder and
> host the index.html as mesa-test.freedesktop.org. When this patch series
> is approved, Daniel will change it to point at mesa-3d.org.
> ---
>  .gitlab-ci.yml | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 .gitlab-ci.yml
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> new file mode 100644
> index 0000000000..29b30541b5
> --- /dev/null
> +++ b/.gitlab-ci.yml
> @@ -0,0 +1,9 @@
> +pages:
> +   stage: deploy
> +   script:
> +   - mkdir .public
> +   - cp -r docs/* .public
> +   - mv .public public

I don't think the two-steps thing is needed here; you can drop .public
and have everything in public directly.

If I'm misunderstanding gitlab-ci and this is running one the same
filesystem as the website, then you'll need to `rm -r public` before the
move, otherwise `mv .public public` will not do what you want :)

> +   artifacts:
> +     paths:
> +     - public
> -- 
> 2.14.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list