Skip to content

Decode base64-encoded CI files under .kontrolerci into readable YAML #191

Description

@GreedyKomodoDragon

Problem

Several CI helper files under .kontrolerci/ are stored as Base64 payloads. This makes them hard to read, review, and edit directly in the repository (for example from the GitHub web UI). Example files:

  • .kontrolerci/pipeline.yaml
  • .kontrolerci/stages/*.yaml

Maintainers and contributors expect CI configuration to be plaintext YAML so it can be inspected and edited without an extra decode step.

Suggested change

Decode the Base64 content and replace the files with the decoded YAML. Make sure the decoded files retain the same filenames and permissions.

As an example, replace .kontrolerci/pipeline.yaml (currently Base64) with the decoded YAML. Apply this patch:

*** Begin Patch
*** Update File: .kontrolerci/pipeline.yaml
@@
-c3RhZ2VzOgotIGxpbnQKLSB0ZXN0Ci0gYnVpbGQ=
+stages:
+  - lint
+  - test
+  - build
*** End Patch

And for every file in .kontrolerci/stages decode the Base64 and commit readable YAML. Example (pseudo):

# decode all stage files in place (example)
for f in .kontrolerci/stages/*.yaml; do
  base64 --decode "$f" > "$f.decoded"
  mv "$f.decoded" "$f"
done

Why

  • Improves discoverability and reviewability of CI files.
  • Reduces friction for contributors who want to update pipeline configuration.

Files to check/convert

  • .kontrolerci/pipeline.yaml
  • .kontrolerci/stages/build.yaml
  • .kontrolerci/stages/lint.yaml
  • .kontrolerci/stages/test.yaml

If the Base64 encoding is intentional for some automation, add a short README explaining why and how to regenerate the encoded versions.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions