Skip to content

Script that validates if the organization's repositories have the integration file with Backstage.

License

Notifications You must be signed in to change notification settings

padupe/script-validate-bs-integration

Repository files navigation

script-validate-bs-integration

Flux

Index


Description

Script that validates if the organization's repositories have the integration file with Backstage.


Requirements

General

Secrets

What? Data Type Description
GITHUB_TOKEN String Token with read permissions to organization repositories for interaction via GitHub API.
ORG_GITHUB String Organization name on GitHub.
BRANCH_DEFAULT_NAME String Primary (or default) branch name.
INTEGRATION_FILE String Integration file name (usually catalog-info.yaml)

How to use?

1 - Clone the project.

SSH

git clone git@github.com:padupe/script-validate-bs-integration.git

HTTPS

git clone https://github.com/padupe/script-validate-bs-integration.git

2 - Access the project directory.

3 - Create the .env file according to the example.env template and enter the required values.

4 - Install the dependencies.

yarn install

5 - Run the command:

node src/index.js

Contribute

Check our CONTRIBUTING guidelines.

About

Script that validates if the organization's repositories have the integration file with Backstage.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published