Commit 61ea08ec authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

ci: disable semantic-release in cloned repositories

parent a627688d
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
include:
  # $TBC_NAMESPACE is a group variable; can be globally overridden
  # Docker template
  - component: "$CI_SERVER_FQDN/$TBC_NAMESPACE/docker/gitlab-ci-docker@5"
  - component: "$CI_SERVER_FQDN/$TBC_NAMESPACE/docker/gitlab-ci-docker@7"
    inputs:
      healthcheck-disabled: true
      build-args: "--cache-ttl=6h"
      prod-publish-strategy: "auto"
      release-extra-tags: "latest \\g<major>.\\g<minor>\\g<build> \\g<major>\\g<build>"
  # Python template
  - component: "$CI_SERVER_FQDN/$TBC_NAMESPACE/python/gitlab-ci-python@7"
  - component: "$CI_SERVER_FQDN/$TBC_NAMESPACE/python/gitlab-ci-python@8"
    inputs:
      image: "docker.io/library/python:3.12-slim"
      ruff-enabled: true
      package-enabled: true
      release-enabled: true
      publish-enabled: true
  # semantic-release template
  - component: "$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4.0"
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@4
    inputs:
      # disable semrel for all synch'd repositories
      release-disabled: true
      auto-release-enabled: true

# disable py-release
py-release:
  rules:
    - when: never

dry-run-test:
  image:
    name: "$DOCKER_SNAPSHOT_IMAGE"