Skip to main content

azure-devops-repository-archiver

Project description

Azure DevOps Git Repository Archiver

npm version PyPI version Release

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-devops-repository-archiver-0.0.8.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file azure-devops-repository-archiver-0.0.8.tar.gz.

File metadata

File hashes

Hashes for azure-devops-repository-archiver-0.0.8.tar.gz
Algorithm Hash digest
SHA256 9da686d7cf9ade3f9945f70c8682941b4f666c0423415e58c9e84f3a5b79c3e5
MD5 43c11b39e3faddca75cf6fd31997c79c
BLAKE2b-256 7c22016445ed1991bcded90cee405e6a40fe094c5a31b98e3e532d307b5daed0

See more details on using hashes here.

File details

Details for the file azure_devops_repository_archiver-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_devops_repository_archiver-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e1bc7c707c13aebb8416f321087a6b228e352a92595b0e4042ce4c1cee79395c
MD5 9bdd6883326d28293b3a433689343eb1
BLAKE2b-256 27ae036c001694dffffd5697bb6b5a06d50ad6afb48a1f2dc0a3a57a618fce4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page