cf-redis-broker

module
v0.0.0-...-ff29edb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: Apache-2.0

README

cf-redis-broker

Integration Tests

AWS Keys

The backup integration tests send data to AWS S3, and need the following evironment variables set to be able to work:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

These are defined in (this is wrong?) integration/backup/assets/working-backup.yml.template.

It also expect a bucket called redis-backup-test, and the user whose key is provided, above, should have the following access to the bucket for testing purposes:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "RestrictiveBackups",
            "Effect": "Allow",
            "Action": [
                "s3:CreateBucket",
                "s3:PutObject",
                "s3:DeleteObject",
                "s3:ListObject",
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::redis-backup-test",
                "arn:aws:s3:::redis-backup-test/*"
            ]
        },
    ]
}

Directories

Path Synopsis
cmd
client/fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
fakes
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL