qemu-e2k/.gitlab-ci.d
Daniel P. Berrangé eafadbbbac gitlab: only let pages be published from default branch
GitLab will happily publish pages generated by the latest CI pipeline
from any branch:

https://docs.gitlab.com/ee/user/project/pages/introduction.html

  "Remember that GitLab Pages are by default branch/tag agnostic
   and their deployment relies solely on what you specify in
   .gitlab-ci.yml. You can limit the pages job with the only
   parameter, whenever a new commit is pushed to a branch used
   specifically for your pages."

The current "pages" job is not limited, so it is happily publishing
docs content from any branch/tag in qemu.git that gets pushed to.
This means we're potentially publishing from the "staging" branch
or worse from outdated "stable-NNN" branches

This change restricts it to only publish from the default branch
in the main repository. For contributor forks, however, we allow
it to publish from any branch, since users will have arbitrarily
named topic branches in flight at any time.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210723113051.2792799-1-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-07-23 16:02:56 +02:00
..
cirrus gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run 2021-07-14 14:33:36 +01:00
edk2 gitlab-ci.yml: Add jobs to build EDK2 firmware binaries 2020-01-21 14:15:48 +01:00
opensbi gitlab-ci.yml: Add jobs to build OpenSBI firmware binaries 2020-03-16 17:03:50 -07:00
buildtest-template.yml gitlab: Run Avocado tests manually (except mainstream CI) 2021-05-27 16:39:23 +02:00
buildtest.yml gitlab: only let pages be published from default branch 2021-07-23 16:02:56 +02:00
check-dco.py gitlab: add a CI job to validate the DCO sign off 2020-10-13 12:48:17 +02:00
check-patch.py .gitlab-ci.d/check-patch: tweak output for CI logs 2020-11-16 11:08:40 +00:00
cirrus.yml gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run 2021-07-14 14:33:36 +01:00
container-core.yml gitlab: Extract core container jobs to container-core.yml 2021-05-27 16:39:23 +02:00
container-cross.yml gitlab: Extract cross-container jobs to container-cross.yml 2021-05-27 16:39:23 +02:00
container-template.yml gitlab: Extract container job template to container-template.yml 2021-05-27 16:39:23 +02:00
containers.yml * Update the references to some doc files (use *.rst instead of *.txt) 2021-06-02 17:08:11 +01:00
crossbuild-template.yml ci: build & store windows installer 2021-07-19 09:33:39 +02:00
crossbuilds.yml ci: build & store windows installer 2021-07-19 09:33:39 +02:00
custom-runners.yml Jobs based on custom runners: add job definitions for QEMU's machines 2021-07-14 14:31:48 +01:00
edk2.yml gitlab-ci: Extract EDK2 job rules to reusable section 2021-07-14 22:28:17 +02:00
opensbi.yml docker: OpenSBI build job depends on OpenSBI container 2021-03-09 06:03:53 +01:00
qemu-project.yml gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run 2021-07-14 14:33:36 +01:00
stages.yml gitlab: Extract build stages to stages.yml 2021-05-27 16:39:23 +02:00
static_checks.yml python: Configure tox to skip missing interpreters 2021-07-13 15:44:16 -04:00