Skip to content

Commit

Permalink
Update integration.yml (#77)
Browse files Browse the repository at this point in the history
* Update integration.yml

* Update integration.yml
  • Loading branch information
mosuka authored Jan 20, 2022
1 parent f344de6 commit 8130ddb
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- cron: 0 0 * * SUN
push:
branches: [ main ]
pull_request_target:
types: [opened, synchronize]
pull_request:
types: [opened, synchronize]

Expand All @@ -32,17 +30,17 @@ jobs:
minio:
image: mosuka/minio:latest
env:
MINIO_ROOT_USER: ${{ secrets.MINIO_ROOT_USER }}
MINIO_ROOT_PASSWORD: ${{ secrets.MINIO_ROOT_PASSWORD }}
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: miniosecret
ports:
- 9000:9000
localstack:
image: localstack/localstack:latest
env:
SERVICES: s3,dynamodb
DEFAULT_REGION: ap-northeast-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: dummy
AWS_SECRET_ACCESS_KEY: dummy
ports:
- 4566:4566

Expand All @@ -61,17 +59,17 @@ jobs:
- name: Create .env file
run: |
touch .env
echo "MINIO_ROOT_USER=${{ secrets.MINIO_ROOT_USER }}" >> .env
echo "MINIO_ROOT_PASSWORD=${{ secrets.MINIO_ROOT_PASSWORD }}" >> .env
echo "MINIO_ROOT_USER=minio" >> .env
echo "MINIO_ROOT_PASSWORD=miniosecret" >> .env
echo "MINIO_VOLUMES=/data" >> .env
echo "MINIO_OPTS=--console-address :9001" >> .env
echo "MINIO_REGION_NAME=us-east-1" >> .env
echo "MINIO_ACCESS_KEY=${{ secrets.MINIO_ACCESS_KEY }}" >> .env
echo "MINIO_SECRET_KEY=${{ secrets.MINIO_SECRET_KEY }}" >> .env
echo "MINIO_ACCESS_KEY=minio" >> .env
echo "MINIO_SECRET_KEY=miniosecret" >> .env
echo "MINIO_ENDPOINT=127.0.0.1:9000" >> .env
echo "MINIO_SECURE=false" >> .env
echo "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}" >> .env
echo "AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> .env
echo "AWS_ACCESS_KEY_ID=dummy" >> .env
echo "AWS_SECRET_ACCESS_KEY=dummy" >> .env
echo "AWS_DEFAULT_REGION=ap-northeast-1" >> .env
echo "AWS_ENDPOINT_URL=http://localhost:4566" >> .env
echo "AWS_USE_PATH_STYLE=true" >> .env
Expand Down

0 comments on commit 8130ddb

Please sign in to comment.