Commit 74d28c7e authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'setup' into 'main'

Initial import

See merge request to-be-continuous/gitlab-butler!1
parents 1984021b 50df4ced
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
.idea

.gitlab-ci.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line
include:
  - project: "to-be-continuous/tools/gitlab-ci"
    ref: "master"
    file: "/templates/extract.yml"
  - project: "to-be-continuous/tools/gitlab-ci"
    ref: "master"
    file: "/templates/validation.yml"
  - project: "to-be-continuous/kicker"
    ref: "master"
    file: "/templates/validation.yml"
  - component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3.5
    inputs:
      shellcheck-files: "*.sh"
  - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.11

variables:
  GITLAB_CI_FILES: "templates/gitlab-ci-butler.yml"

semantic-release:
  rules:
    # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
    - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'

.releaserc.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line
plugins: [
  "@semantic-release/commit-analyzer",
  "@semantic-release/release-notes-generator",
  "@semantic-release/gitlab",
  "@semantic-release/changelog",    
  [
    "@semantic-release/exec",
    {
      "prepareCmd": "./bumpversion.sh \"${lastRelease.version}\" \"${nextRelease.version}\" \"${nextRelease.type}\"",
      "successCmd": "./post-release.sh \"${nextRelease.version}\""
    }
  ],
  [
    "@semantic-release/git",
    {
      "assets": ["*.md", "templates/*.yml"]
    }
  ]
]
branches:
  - "master"
tagFormat: "${version}"
 No newline at end of file

Butler.r2.yml

0 → 100644
+12 −0
Original line number Diff line number Diff line
files:
    template: ./templates/gitlab-ci-butler.yml
    documentation: ./README.md
    changelog: ./CHANGELOG.md
data:
    description: "Automate cleaning your projects with GitLab Butler"
    public: true
    labels:
    - to be continuous
    - Butler
    license: LGPL v3
    deprecated: false

CHANGELOG.md

0 → 100644
+0 −0

Empty file added.

Loading