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.5.tar.gz (35.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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