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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951b00f2172cfeabbed18b417ea99a6b30a2b99f0757669e858e3e3dea50bda5 |
|
MD5 | 649661761a243f25d22428562b6d63cb |
|
BLAKE2b-256 | 9ef7218a88813d6ea4ccf47b3d6842b17c8697005c4be29fbbd272a11800167f |
Close
Hashes for azure_devops_repository_archiver-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a332bb55a5951c40aaea3a159d2db86f43d89158b1cad55d0f1e79d574fa3dac |
|
MD5 | 0698fab0d35087e5f367428d670a0b23 |
|
BLAKE2b-256 | b237de5f703f528e273e7bd6ba58ee836ca41deace8cc580e729c59a76dfe15b |