azure-devops-repository-archiver
Project description
Azure DevOps Git Repository Archiver
Allows to backup regularly git repositories hosted in Azure DevOps to an S3 Bucket.
Features
The S3 bucket is configured as below
-
enabled versioning of objects
-
enabled encryption using an S3 managed Key
-
disallowing publich access
-
A lifecycle configuration for the archived repositories. They transistion through different storage classes
- Infrequent Access after 30 days
- Glacier after 90 days
- Deep Archive 180 days
- Expiry after 365 days
The CodeBuild projects are configured as below
-
Logging to CloudWatch
- Configurable retention period. Default is one month.
- Encryption using customer-managed KMS key
Planned Features
- Notifications to SNS about uploaded objects
- Tagging of created AWS resources
Prerequisites
The connection to the Azure DevOps organization requires a personal access token. The PAT needs to have "Code read" permission and stored in a SecretsManager secret
aws secretsmanager create-secret --name rwest_archiver_rwest_platform --description "RWEST Archiver for RWEST-Platform organization" --secret-string "{\"pat\":\"<your_pat>\"}"
Example
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for azure-devops-repository-archiver-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64069bcf6ad0006ddeb2d3aca58d42ad434b6fa5f0b744d57c652e3ba7d0820 |
|
MD5 | 5c57774057e2076269ca5668a3badd78 |
|
BLAKE2b-256 | 4979523ed40f49db7512a50513a8836353ec4a3299a5daf02d84db96e483a422 |
Close
Hashes for azure_devops_repository_archiver-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239fc2faa11543625b6c1f2e83ee5158a505a38c0aae0dbac2f74678d4622206 |
|
MD5 | 5c6291aa053663c6ffa74084dfebf83c |
|
BLAKE2b-256 | afeb5ac20e5126606271b9073227772cd8cdf810bfb7415416573ca2ed31d00f |