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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb641c1fa47dbcef676abe1d87b1c5dc4b7058e01f2c83cc10f85b9a9ad507cc |
|
MD5 | a6a661816953cb9f54a1d7f589afc754 |
|
BLAKE2b-256 | 3e07221af448552dfa9c954bc9df5dd7c8f7decddbd8461dbb333e8f4554c4eb |
Close
Hashes for azure_devops_repository_archiver-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74abe72640bf65771bbf8a2a0da1c245a51a389c59946051a9f309021ab0fecd |
|
MD5 | bfd675b0ee5f67e02d52bf83e7b1ab0c |
|
BLAKE2b-256 | e85b8604093a138f4a9f7030b8de3bab25c50aa751ee30f4856ce97a9f49e397 |