⚠️ This project is not functional yet. It is just a skeleton of something we plan to create in the future.
This repository contains the configuration and scripts necessary to build VyOS packages and update an APT repository automatically using Jenkins and Docker. It also includes steps to upload the repository to Cloudflare R2.
Jenkinsfile
: Jenkins pipeline configuration.Dockerfile
: Docker image configuration for building packages.scripts/build_packages.sh
: Script to build VyOS packages.scripts/update_repo.sh
: Script to update the APT repository.scripts/upload_repo.sh
: Script to upload the repository to Cloudflare R2.conf/distributions
: APT repository configuration..env.example
: Example environment configuration file.
-
Set Up a Jenkins Server: Install Jenkins on your server. Follow the Jenkins installation guide for detailed instructions.
-
Create a New Pipeline Job in Jenkins:
- In Jenkins, create a new pipeline job and point it to this repository.
- Configure the job to use the
Jenkinsfile
provided in this repository.
-
Configure Cloudflare R2:
- Set up a Cloudflare R2 bucket.
- Configure your AWS CLI with a profile for Cloudflare R2.
-
Create a
.env
File:- Create a
.env
file in the root of this repository based on the.env.example
file. - Fill in the necessary details such as
BUCKET_NAME
,AWS_PROFILE
,REPO_URL
, andPACKAGE_LIST
.
- Create a
-
Run the Pipeline:
- The pipeline will automatically build the VyOS packages daily, update the APT repository, and upload the repository to Cloudflare R2.
- Jenkins
- Docker
- reprepro
- debuild
- AWS CLI
Feel free to contribute improvements and new packages!