While that may seem paradoxical, it is useful when dealing with files. For a list of available backends, see git-annex version. git-annex allows managing files with git, without checking the file contents into git. A single repository can use different backends for different files. Most backends are different kinds of hashes. DESCRIPTION The 'backend' in git-annex controls how a key is generated from a file's content and/or filesystem metadata. Run.sh - Run this whole example up, creating the Bucket, backend, and AWS VPCĪws_s3_bucket/main.tf - Terraform code to set up a bucketĪws_s3_bucket/run. git-annex-backends - key/value backends for git-annex. Sets up an AWS VPC, storing state in that backend This example sets up a S3 backend with a minimal example of a state stored in it.Ĭreates an S3 bucket with a random name (‘te-xxxxxxxxxxxxx’) sh log "Setting up Terraform code in aws_vpc." log "Set up vpc, storing state in backend." terraform init terraform plan terraform apply - auto - approve The backend in git-annex specifies how a key is generated from a files content and/or filesystem metadata. you can edit pages in the browser itself (as with any wiki) or. sh log "Destroying any pre-existing runs.". Gitit is a wiki that runs with git as a back-end, i.e. cd "$" || exit 1 # shellcheck disable=SC1091 source. Google_compute_network/main_template - Template file for Terraform code for GCP VPC destroy.sh #!/bin/bash set - o errexit set - o pipefail set - o nounset # Move to the folder this script is in. git-annex-add.html git-annex-addunused.html git-annex-addurl.html git-annex-adjust.html git-annex-assistant.html git-annex-backends.html git-annex-calckey. (This used to be named annex.backends, and that will still be used if set. git commit -am initial repo On branch master Initial commit nothing to commit touch test.txt test.txt has a line. gitattributes files, and by the -backend option. This is overridden by annex annex.backend configuration in the. ![]() ![]() Google_storage_bucket/destroy.sh - Script to destroy just the bucket See git-annex-backends(1) for information about available backends. Google_storage_bucket/run.sh - Script to create just the bucket Google_storage_bucket/main.tf - Terraform code to set up a bucket ERIS key backend for git-annex eris git-annex You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. Run.sh - Run this whole example up, creating the bucket, backend, and GCP VPC Sets up an GCP VPC, storing state in that backendĭestroy.sh - Shell script to clean up any previous run of run.sh This example sets up a GCS backend with a minimal example of a state stored in it.Ĭreates an GCS bucket with a random name (‘changeme-xxxxxxxxxxxxx’)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |