Skip to content

Releases: SkylineCommunications/Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml

Release v1.0.1

12 Nov 12:31
Compare
Choose a tag to compare

This tool facilitates CI/CD workflows by automating the generation and updating of a catalog.yml file based on GitHub repository metadata. Here’s what’s new in this release:

Key Features

  • Automatic Metadata Extraction: Pulls essential metadata (description, tags, source code URL) from a GitHub repository to populate and update catalog.yml seamlessly.
  • Artifact Type Inference: Determines the artifact type based on repository naming conventions or GitHub topics, supporting multiple artifact types for streamlined catalog integration.
  • Catalog YAML Auto-Generation: Creates an auto-generated-catalog.yml to track unique IDs and ensure consistent catalog records without duplication across workflow runs.

Enhancements

  • Workflow Automation Support: Integrates into GitHub Actions workflows for smooth automation. See example workflows in our documentation to quickly set up.
  • Improved Error Handling: Enhanced error messages and logging for debugging, especially in cases of type inference failures, ensuring faster troubleshooting.

Installation & Usage

To install:

dotnet tool install -g Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml

Run the tool with:

github-to-catalog-yaml --workspace "/path/to/workspace" --github-token "your_token" --github-repository "owner/repo"

For more detailed documentation, visit our GitHub repository and see the usage examples included.

pre-release v1.0.1-beta10

24 Oct 15:28
Compare
Choose a tag to compare
Pre-release

Support for name changes in catalog types, github types and github abbreviations to select types.

pre-release v1.0.1-beta9

16 Oct 14:12
Compare
Choose a tag to compare
Pre-release

Removes the type from the tags sent to catalog API.

pre-release v1.0.1-beta8

15 Oct 08:25
Compare
Choose a tag to compare
Pre-release

Adding source code url to the generated catalog.yml

pre-release v1.0.1-beta7

14 Oct 14:06
Compare
Choose a tag to compare
Pre-release

Continued issues with access rights on github workflows.

prerelease v1.0.1-beta6

14 Oct 13:45
Compare
Choose a tag to compare
Pre-release

GitHub issues with Access Rights on editing a cloned file.
Instead of editing. We now first remove the existing file.

pre-release v1.0.1-beta5

14 Oct 12:50
Compare
Choose a tag to compare
Pre-release

Access Rights in GitHub workflows are restricting writes to the files directly under the root.
Known 'issue' in GitHub. Code added to allow such writes.

pre-release v1.0.1-beta4

14 Oct 08:17
Compare
Choose a tag to compare
Pre-release

Added the ability to create the .GitHubToCatalogYaml directory if it does not exist.

pre-release 1.0.1-beta3

11 Oct 14:11
Compare
Choose a tag to compare
Pre-release

Access to Actions and Variables has been completely removed. A new file has been created: .GitHubToCatalogYaml/auto-generated-catalog.yml.

The purpose of this file is to commit and push it, allowing the pipeline to auto-generate a new catalog GUID if none is provided. This enables users to simply create a solution and push it without needing to manually handle catalog GUIDs.

pre-release v1.0.1-beta2

11 Oct 09:06
Compare
Choose a tag to compare
Pre-release

The GITHUB_TOKEN has insufficient permissions in workflows to access certain parts of the GitHub UI, specifically Actions and Variables. To address this, I’ve added an optional argument that allows the catalog identifier to be provided directly. This enables the workflow to retrieve it through alternative methods.