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.7.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.7.tar.gz.

File metadata

File hashes

Hashes for azure-devops-repository-archiver-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a3133697a4e2e159c581c66b4def00e1f5d96ce022a16dd7a5a2c7991c93920e
MD5 f8b487b6307f4671ad84d54902ac065d
BLAKE2b-256 1ac21c5dd5c486b2736870527b19a9d753f9eacd31610c6ebe4b18b23bf01df6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_devops_repository_archiver-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3a083c44bc11c1227e58f6ce96744047e034a9eafaaafcaa69bd81382739d6d6
MD5 a93ad1da7645ad94da5eaa720394e305
BLAKE2b-256 e01821dd3bb328220143bedafad35e2ea995c9299bf726b10184a1721b518590

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