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

    • 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>\"}"

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.6.tar.gz (35.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.6.tar.gz.

File metadata

File hashes

Hashes for azure-devops-repository-archiver-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6f4af4cace01a9f1a4495fcaf2130b6a7da5e6813cea7cc092ceb58e171c23fb
MD5 702e9606beeb9a718e684d18f2435dba
BLAKE2b-256 c6f6a6faca649644aedc28d5a12ac501054072d6224fd7a59ee4818e7a65c16c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_devops_repository_archiver-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 be00273b77d1b5fdbae5e965acefe7fcfccd964a81420aa1fbb62234e0c29f25
MD5 928e1179f11cce984790e24b2a7a3575
BLAKE2b-256 e5887163b4826d66e52d614fd3c2fe03d6fd09bd84b425001c5744e1c76afaa4

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