A unified repository containing all automation tools, scripts, configurations, and bots that keep OpenLake’s operations running smoothly.
Repository Links ↥ Back to top
- Main Repository: OpenLake
- This Project Repository: openlake-infra
About the Project ↥ Back to top
The OpenLake Infrastructure repository is the backbone of OpenLake’s internal systems.
It consolidates all the tools, scripts, bots, and configurations that streamline operations across OpenLake’s projects and servers.
- Automate repetitive DevOps and community management tasks.
- Manage and monitor OpenLake’s servers, bots, and GitHub automations.
- Provide a transparent and organized place for infrastructure-related contributions.
- OpenLake developers who maintain our servers, repositories, and bots.
- Contributors looking to add automation or improve operational efficiency.
This project supports other OpenLake projects by maintaining their infrastructure — ensuring smooth CI/CD pipelines, community automation, and reliable server uptime.
Getting Started ↥ Back to top
Install dependencies based on the module you want to run.
# For Node.js scripts
npm install
# For Python scripts
pip install -r requirements.txt- Clone the repository:
<<<<<<< HEAD
git clone https://github.com/openlake-org/openlake-helper-bot.git
cd openlake-helper-bot- Install dependencies:
npm install- Create a
.envfile in the root directory and add the following environment variables:
DISCORD_TOKEN=your_discord_bot_token
GITHUB_TOKEN=your_github_personal_access_token
GITHUB_ORG=openlake-org
- Configure the bot settings in
config.jsonor relevant config files (if applicable).
npm startOnce the bot is online and invited to your Discord server:
- It will automatically fetch and update issue and PR counts for configured repositories.
- Notifications will be sent to designated channels on specific GitHub events.
- Use bot commands (if any) to get on-demand reports or updates. (Example commands can be added based on implementation)
- The bot uses the GitHub REST API to fetch data about issues and pull requests from Openlake repositories.
- It listens for events or periodically polls the API to keep data updated.
- Using the Discord.js library, it posts messages, updates, and notifications to specified channels.
- The bot can be extended to add more functionality as Openlake’s needs grow.
Contributions from the community and organization members are welcome! Please follow the standard GitHub workflow for issues and pull requests.
For questions or support, please reach out to the Openlake maintainers or open an issue in this repository.
=======
git clone https://github.com/OpenLake/openlake-infra.git
cd openlake-infra-
Copy and configure environment variables:
cp .env.example .env
-
Refer to the
/docsfolder for detailed setup instructions for each module (bots, servers, actions, etc.).
Usage ↥ Back to top
Each component is modular and self-contained.
cd bots/discord
npm startact -j cleanup-old-branchesbash server/vps-configs/deploy.shMore examples and configurations are available in their respective folders.
Contributing ↥ Back to top
We welcome contributions from OpenLake members and the community! If you’ve created a bot, automation, or useful script that enhances OpenLake operations — feel free to open a PR.
See CONTRIBUTING.md for detailed contribution guidelines.
Maintainers ↥ Back to top
Current Maintainers: @OpenLake-Core See MAINTAINERS.md for the full list.
License ↥ Back to top
Distributed under the MIT License. See LICENSE for more details.
80fe8654bfe71cf4c1edc6fd51c3183587bc4b01