Script that validates if the organization's repositories have the integration file with Backstage.
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 ) |
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
Check our CONTRIBUTING guidelines.