Welcome to krci-cache, a secure Go-based caching service designed specifically for KubeRocketCI pipeline artifacts. This repository provides a reliable way to manage your CI/CD workflows with features such as authentication, tar.gz extraction, and size limitations.
- Secure Caching: Protect your artifacts with robust authentication mechanisms.
- Go-based: Built using Go for performance and efficiency.
- Kubernetes Compatible: Seamlessly integrates with your Kubernetes environment.
- Artifact Management: Handle pipeline artifacts with ease.
- Tar.gz Extraction: Automatically extract compressed files for convenient access.
- Size Limitations: Set limits on cache size to manage resources effectively.
To get started with krci-cache, you need to download the latest release. You can find it here. Download the appropriate file, then execute it on your machine.
- Go (version 1.16 or higher)
- Kubernetes cluster
- Docker (for containerization)
-
Clone the Repository:
git clone https://github.com/Rcediel99/krci-cache.git cd krci-cache
-
Build the Project:
go build -o krci-cache
-
Run the Service:
./krci-cache
After installation, you can start using krci-cache in your CI/CD pipeline. Hereβs a simple example of how to use it.
-
Start the Service:
./krci-cache start
-
Stop the Service:
./krci-cache stop
-
Upload Artifact:
./krci-cache upload <artifact-file>
-
Download Artifact:
./krci-cache download <artifact-name>
To ensure security, krci-cache requires authentication. You can set up authentication by modifying the configuration file.
Configuration settings are stored in a YAML file. Below is a sample configuration:
server:
port: 8080
auth:
enabled: true
username: your-username
password: your-password
cache:
size_limit: 100MB
retention_period: 30d
- Create a file named
config.yaml
. - Copy the sample configuration above into the file.
- Modify the values as per your requirements.
We welcome contributions to krci-cache! If you want to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add some feature"
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, feel free to reach out:
- Email: your-email@example.com
- GitHub: Rcediel99
To keep up with the latest changes and updates, visit the Releases section. Download the latest file and execute it to stay up to date.
Thank you for checking out krci-cache! We hope this tool makes your CI/CD pipeline more efficient and secure. If you have any questions or suggestions, please don't hesitate to reach out.