xref: /JGit/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties (revision 81810aff298ffb3e871b4dbab76be2c8b9a46ea8)
1*81810affSAndrei Pozolotin#
2*81810affSAndrei Pozolotin# See WalkEncryptionTest.java
3*81810affSAndrei Pozolotin#
4*81810affSAndrei Pozolotin# This file is a template for test configuration file used by WalkEncryptionTest.
5*81810affSAndrei Pozolotin# To be active, this file must have the following hard coded name: jgit-s3-config.properties
6*81810affSAndrei Pozolotin# To be active, this file must be discovered by WalkEncryptionTest from one of these locations:
7*81810affSAndrei Pozolotin# * ${user.home}/jgit-s3-config.properties
8*81810affSAndrei Pozolotin# * ${user.dir}/jgit-s3-config.properties
9*81810affSAndrei Pozolotin# * ${user.dir}/tst-rsrc/jgit-s3-config.properties
10*81810affSAndrei Pozolotin# When this file is missing, tests in WalkEncryptionTest will not run, only report a warning.
11*81810affSAndrei Pozolotin#
12*81810affSAndrei Pozolotin
13*81810affSAndrei Pozolotin#
14*81810affSAndrei Pozolotin# WalkEncryptionTest requires amazon s3 test bucket setup.
15*81810affSAndrei Pozolotin#
16*81810affSAndrei Pozolotin# Test bucket setup instructions:
17*81810affSAndrei Pozolotin#
18*81810affSAndrei Pozolotin# Create IAM user:
19*81810affSAndrei Pozolotin# http://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html
20*81810affSAndrei Pozolotin# * user name: jgit.eclipse.org
21*81810affSAndrei Pozolotin#
22*81810affSAndrei Pozolotin# Configure IAM user S3 bucket access
23*81810affSAndrei Pozolotin# http://docs.aws.amazon.com/AmazonS3/latest/dev/example-policies-s3.html
24*81810affSAndrei Pozolotin# * attach S3 user policy to user account: jgit-s3-config.policy.user.json
25*81810affSAndrei Pozolotin#
26*81810affSAndrei Pozolotin# Create S3 bucket:
27*81810affSAndrei Pozolotin# http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html
28*81810affSAndrei Pozolotin# * bucket name: jgit.eclipse.org
29*81810affSAndrei Pozolotin#
30*81810affSAndrei Pozolotin# Configure S3 bucket source address/mask access:
31*81810affSAndrei Pozolotin# http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html
32*81810affSAndrei Pozolotin# * attach bucket policy to the test bucket: jgit-s3-config.policy.bucket.json
33*81810affSAndrei Pozolotin# * verify that any required source address/mask is included in the bucket policy:
34*81810affSAndrei Pozolotin# * see https://wiki.eclipse.org/Hudson
35*81810affSAndrei Pozolotin# * see http://www.tcpiputils.com/browse/ip-address/198.41.30.200
36*81810affSAndrei Pozolotin# * proxy.eclipse.org	198.41.30.0/24
37*81810affSAndrei Pozolotin# * Andrei Pozolotin	67.175.188.187/32
38*81810affSAndrei Pozolotin#
39*81810affSAndrei Pozolotin# Configure bucket 1 day expiration in object life cycle management:
40*81810affSAndrei Pozolotin# * https://docs.aws.amazon.com/AmazonS3/latest/dev/manage-lifecycle-using-console.html
41*81810affSAndrei Pozolotin#
42*81810affSAndrei Pozolotin
43*81810affSAndrei Pozolotin# Test bucket name
44*81810affSAndrei Pozolotintest.bucket=jgit.eclipse.org
45*81810affSAndrei Pozolotin
46*81810affSAndrei Pozolotin# IAM credentials for user jgit.eclipse.org
47*81810affSAndrei Pozolotinaccesskey=AKIAIYWXB4ETREBRMZDQ
48*81810affSAndrei Pozolotinsecretkey=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
49