Skip to main content

GitlabBot

Flux-local

Bot User

Setup your bot account and generate a PAT token. Then, add the bot to your project with the reporter permission. Finally , store the pat token in the GITLAB_BOT_PAT CI/CD variable.

CI

You can use the following content to setup GitLab CI to post the diff comment.

---
.flux-local-diff:
  stage: flux-local
  image:
    name: ghcr.io/alexsaphir/gitlabbot:v0.3.6
  parallel:
    matrix:
      - FLUX_RESOURCE:
          - hr
          - ks
  variables:
    GIT_DEPTH: "0"  # Tells git to fetch all the branches of the project, required by the analysis task
    CONFIG_FILE: '.gitlabbot.yaml'
  script:
    - |
      DIFF="dyff between --omit-header --ignore-order-changes -o gitlab" \
      flux-local diff $FLUX_RESOURCE -A \
      --path $CLUSTER_PATH \
      --branch-orig main \
      --strip-attrs "helm.sh/chart,checksum/config,app.kubernetes.io/version,chart" \
      --output-file out.diff
    - |
      gitlab-comment --diff_file out.diff \
        --flux_resource $FLUX_RESOURCE \
        --diff_mode dyff \
        --comment_mode $COMMENT_MODE
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

flux-local-diff:
  extends: .flux-local-diff
  variables:
    CLUSTER_PATH: cluster
    COMMENT_MODE: recreate

Metadata

Release files for gitlabbot 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitlabbot 0.3.6
File Size Uploaded
gitlabbot-0.3.6.tar.gz 83.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gitlabbot 0.3.6
File Interpreter ABI Platform
gitlabbot-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 92.9 kB

Release files / gitlabbot-0.3.6.tar.gz

Download URL gitlabbot-0.3.6.tar.gz
Size 83.0 kB
Tags Source
SHA-256 checksum
How to use checksums
039aa208636e84f821f506deab255873fbb3aec2e5251bba80bf99334658397e
BLAKE2b-256 checksum
How to use checksums
b7edbfdefe2f3b74592c9b4bc15d4e1c7fe9c363698253670d614159ac6de3e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2025.

Transparency log

Release files / gitlabbot-0.3.6-py3-none-any.whl

Download URL gitlabbot-0.3.6-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
457a41d07071b6c2eaa43834cd4b8544ee81868073e1405fee5b2e1cfd12abac
BLAKE2b-256 checksum
How to use checksums
71d4020e3b6e3724d032892227482d622c0ea65a97a5c42e4bb853ca14c32550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page