File tree 2 files changed +20
-7
lines changed
2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ add_headers =
6
6
bucket_location = us-east-1
7
7
ca_certs_file =
8
8
cache_file =
9
- check_ssl_certificate = True
9
+ check_ssl_certificate = False
10
10
check_ssl_hostname = True
11
11
cloudfront_host = cloudfront.amazonaws.com
12
12
default_mime_type = binary/octet-stream
@@ -67,9 +67,9 @@ stop_on_error = False
67
67
storage_class =
68
68
urlencoding_mode = normal
69
69
use_http_expect = False
70
- use_https = False
70
+ use_https = True
71
71
use_mime_magic = True
72
72
verbosity = WARNING
73
- website_endpoint = http ://%(bucket)s.s3-website-%(location)s.amazonaws.com/
73
+ website_endpoint = https ://%(bucket)s.s3-website-%(location)s.amazonaws.com/
74
74
website_error =
75
75
website_index = index.html
Original file line number Diff line number Diff line change @@ -28,19 +28,32 @@ jobs:
28
28
with :
29
29
path : ~/cache
30
30
key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-revision }}
31
- - name : Download minio on cache miss
32
- if : steps.cache-minio.outputs.cache-hit != 'true'
31
+ - name : Cache certgen
32
+ id : cache-certgen
33
+ uses : actions/cache@v2
34
+ env :
35
+ cache-name : cache-certgen
36
+ with :
37
+ path : ~/cache
38
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-revision }}
39
+ - name : Download minio and certgen on cache miss
40
+ if : steps.cache-minio.outputs.cache-hit != 'true' || steps.cache-certgen.outputs.cache-hit != 'true'
33
41
run : |
34
42
mkdir -p ~/cache
35
43
test ! -e ~/cache/minio && wget -O ~/cache/minio https://dl.minio.io/server/minio/release/linux-amd64/minio || echo "Minio already in cache"
44
+ test ! -e ~/cache/certgen && wget -O ~/cache/certgen https://github.com/minio/certgen/releases/download/v0.0.2/certgen-linux-amd64 || echo "Certgen already in cache"
36
45
- name : Start a local instance of minio
37
46
run : |
38
47
export AWS_ACCESS_KEY_ID=Q3AM3UQ867SPQQA43P2F
39
48
export AWS_SECRET_ACCESS_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
40
- export MINIO_ACCESS_KEY =Q3AM3UQ867SPQQA43P2F
41
- export MINIO_SECRET_KEY =zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
49
+ export MINIO_ROOT_USER =Q3AM3UQ867SPQQA43P2F
50
+ export MINIO_ROOT_PASSWORD =zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
42
51
chmod +x ~/cache/minio
52
+ chmod +x ~/cache/certgen
43
53
mkdir -p ~/minio_tmp
54
+ mkdir -p ~/.minio/certs
55
+ cd ~/.minio/certs
56
+ ~/cache/certgen -ca -host "localhost,127.0.0.1,172.17.0.1"
44
57
~/cache/minio server ~/minio_tmp &
45
58
sleep 4 # give minio some time to start
46
59
- name : Run tests
You can’t perform that action at this time.
0 commit comments