Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malvads/organization-to-repo
delivery and deploy tool for redborder systems
https://github.com/malvads/organization-to-repo
redborder-ng
Last synced: 18 days ago
JSON representation
delivery and deploy tool for redborder systems
- Host: GitHub
- URL: https://github.com/malvads/organization-to-repo
- Owner: malvads
- License: agpl-3.0
- Created: 2024-04-22T14:19:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-25T19:58:09.000Z (7 months ago)
- Last Synced: 2024-10-18T13:20:06.659Z (2 months ago)
- Topics: redborder-ng
- Language: Python
- Homepage: https://repo.redborder.com
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
## organization-to-repo
organization-to-repo is a tool designed to retrieve all released software from a specified organization and distribute them to respective repositories for RHEL9 systems. This tool is used in production at redborder for the delivery process.
### Installation
1. Install the required dependencies using pip:
```bash
pip3 install -r requirements.txt
```### Configuration
2. Open the .env file for configuration:
```bash
vim .env
```
### Example .env file:```plaintext
DOWNLOAD_DIR=/tmp # Where to download the RPMs temporarily
SRC_RPMS_DIR=./src_rpms # Where to store source RPMs
x86_64_RPMS_DIR=./x86_rpms # Where to store RPMs
GITHUB_OAUTH_TOKEN=abcabcabc # Your GitHub token
DISALLOW_REPO_LIST=my-cool-repo # List of repositories to exclude (use commas to exclude more repos)
TOPIC=delivery # Topic of the repository to trigger the download
```### Usage
3 -. You can set-up this to run on your jenkins host like we do in redborder or you can just trigger
```bash
python3 __main__.py your_organization_here
```And it will download the rpms and put in your repo
### License
AGLP-3.0### Author
Miguel Álvarez