mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? <!-- Describe what has changed in this PR --> Github workflow to run tests. I couldn't add tests on `windows-latest` nor `macos-latest` at this moment. In Windows, there are issues with filepaths in the archiver (eg: `file:///home/` vs `file:///c:\\`, note that in Windows, it needs a forward slash before the actual path `c:\\`, but it messes up with the actual path) In MacOS, it doesn't have Docker installed by default. Also, in both Windows and MacOS, some TLS related unit tests are failing. ## Why? <!-- Tell your future self why have you made these changes --> Replace buildkite. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> Ran in my fork: https://github.com/rodrigozhou/temporal/actions/runs/7401242980 ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> No. ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> No.
44 lines
860 B
YAML
44 lines
860 B
YAML
version: "3.5"
|
|
|
|
services:
|
|
cassandra:
|
|
image: cassandra:3.11
|
|
ports:
|
|
- "9042:9042"
|
|
environment:
|
|
CASSANDRA_LISTEN_ADDRESS: 127.0.0.1
|
|
|
|
mysql:
|
|
image: mysql:8.0.29-oracle
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
volumes:
|
|
- ./mysql-init:/docker-entrypoint-initdb.d
|
|
|
|
postgresql:
|
|
image: postgres:13.5
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
POSTGRES_USER: temporal
|
|
POSTGRES_PASSWORD: temporal
|
|
volumes:
|
|
- ./postgresql-init:/docker-entrypoint-initdb.d
|
|
|
|
elasticsearch:
|
|
image: elasticsearch:7.10.1
|
|
ports:
|
|
- "9200:9200"
|
|
environment:
|
|
- discovery.type=single-node
|
|
|
|
elasticsearch8:
|
|
image: elasticsearch:8.0.0
|
|
ports:
|
|
- "9200:9200"
|
|
environment:
|
|
- discovery.type=single-node
|
|
- xpack.security.enabled=false
|