We're having a repository on GitLab (cloud hosted), using CI runners, and want to add 'Pages' to see the CI test results. The repo is a Django project running tests using py.test. Now we want to see the reports of these tests and coverage. The idea is to place the html outputs of the tests run by GitLab CI runners in the 'public' folder and add this as gitlab pages, so these static html pages are served by GitLab and easily browseable. I've followed the documentation to set this up, but cannot get it to work.
Things I tried: - I added a pages job to the CI config file, this runs correctly, and artifacts (being the 'public' folder) are added after the build: In the build trace the artifact upload is mentioned, and I can see and download a zip file with the folder content at the build page. In the project settings, under 'Pages', it then says 'congratulations, ... your pages are served [url] ...'. However when going to this url, I get a 404 from nginx. The folder 'public' contains an index.html file. When explicitely adding e.g. '/index.html' to the url reported on the project settings page, this does not work either. - Add the 'public' folder to my repo and commit this. The files there do not show up either, while explicitly present. The documentation on artifacts (http://doc.gitlab.com/ce/ci/build_artifacts/README.html) mentions at the bottom, these archives are only unpacked when requested to download, and otherwise aren't automatically extracted, maybe that's an issue causing this problem? -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/fe1294b4-65d9-41f6-b0ed-ac3f839ef8a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.