mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Fix CI and bump actions dependencies to deal with GHA deprecations. (#83)
This commit is contained in:
parent
b0fa9bb140
commit
40c6a5599b
3 changed files with 10 additions and 8 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -14,9 +14,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: "actions/setup-python@v2"
|
- uses: "actions/setup-python@v4"
|
||||||
with:
|
with:
|
||||||
python-version: "3.6"
|
python-version: "3.6"
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: "actions/setup-python@v2"
|
- uses: "actions/setup-python@v4"
|
||||||
with:
|
with:
|
||||||
python-version: "${{ matrix.python-version }}"
|
python-version: "${{ matrix.python-version }}"
|
||||||
|
|
||||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -7,9 +7,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v2"
|
- uses: "actions/checkout@v3"
|
||||||
|
|
||||||
- uses: "actions/setup-python@v2"
|
- uses: "actions/setup-python@v4"
|
||||||
with:
|
with:
|
||||||
python-version: "3.6"
|
python-version: "3.6"
|
||||||
|
|
||||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -10,8 +10,8 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: Run synapse
|
- name: Run synapse
|
||||||
|
@ -34,12 +34,14 @@ jobs:
|
||||||
secret_access_key: my_secret_access_key
|
secret_access_key: my_secret_access_key
|
||||||
- name: Setup minio
|
- name: Setup minio
|
||||||
run: |
|
run: |
|
||||||
|
# The version of minio is RELEASE.2022-04-01T03-41-39Z.fips
|
||||||
docker run -d -p 9000:9000 --name minio \
|
docker run -d -p 9000:9000 --name minio \
|
||||||
-e "MINIO_ACCESS_KEY=my_access_key_id" \
|
-e "MINIO_ACCESS_KEY=my_access_key_id" \
|
||||||
-e "MINIO_SECRET_KEY=my_secret_access_key" \
|
-e "MINIO_SECRET_KEY=my_secret_access_key" \
|
||||||
-v /tmp/data:/data \
|
-v /tmp/data:/data \
|
||||||
-v /tmp/config:/root/.minio \
|
-v /tmp/config:/root/.minio \
|
||||||
minio/minio server /data
|
minio/minio@sha256:b615ce0f18c2adf111c31b751cb79b69551b62a620e85930f6b5b28e7265b0c1 \
|
||||||
|
server /data
|
||||||
export AWS_ACCESS_KEY_ID=my_access_key_id
|
export AWS_ACCESS_KEY_ID=my_access_key_id
|
||||||
export AWS_SECRET_ACCESS_KEY=my_secret_access_key
|
export AWS_SECRET_ACCESS_KEY=my_secret_access_key
|
||||||
export AWS_EC2_METADATA_DISABLED=true
|
export AWS_EC2_METADATA_DISABLED=true
|
||||||
|
|
Loading…
Reference in a new issue