mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
ci: white unlil db started
This commit is contained in:
parent
a5055ff0be
commit
f3c17a34c8
14
.github/workflows/dev.yml
vendored
14
.github/workflows/dev.yml
vendored
@ -57,12 +57,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: semaphore
|
name: semaphore
|
||||||
|
|
||||||
- run: "cat > config.json <<EOF\n{\n\t\"postgres\": {\n\t\t\"host\": \"127.0.0.1:5432\"\
|
- run: sleep 5
|
||||||
,\n\t\t\"options\":{\"sslmode\":\"disable\"}\
|
|
||||||
,\n\t\t\"user\": \"root\",\n\t\t\"pass\": \"pwd\",\n\t\t\"name\": \"circle_test\"\
|
|
||||||
\n\t},\n\t\"dialect\": \"postgres\",\n\t\"email_alert\": false\n}\nEOF\n"
|
|
||||||
|
|
||||||
- run: chmod +x ./semaphore && ./semaphore migrate --config config.json
|
|
||||||
|
|
||||||
- run: "cat > config.json <<EOF\n{\n\t\"mysql\": {\n\t\t\"host\": \"127.0.0.1:3306\"\
|
- run: "cat > config.json <<EOF\n{\n\t\"mysql\": {\n\t\t\"host\": \"127.0.0.1:3306\"\
|
||||||
,\n\t\t\"user\": \"root\",\n\t\t\"pass\": \"\",\n\t\t\"name\": \"circle_test\"\
|
,\n\t\t\"user\": \"root\",\n\t\t\"pass\": \"\",\n\t\t\"name\": \"circle_test\"\
|
||||||
@ -70,6 +65,13 @@ jobs:
|
|||||||
|
|
||||||
- run: chmod +x ./semaphore && ./semaphore migrate --config config.json
|
- run: chmod +x ./semaphore && ./semaphore migrate --config config.json
|
||||||
|
|
||||||
|
- run: "cat > config.json <<EOF\n{\n\t\"postgres\": {\n\t\t\"host\": \"127.0.0.1:5432\"\
|
||||||
|
,\n\t\t\"options\":{\"sslmode\":\"disable\"}\
|
||||||
|
,\n\t\t\"user\": \"root\",\n\t\t\"pass\": \"pwd\",\n\t\t\"name\": \"circle_test\"\
|
||||||
|
\n\t},\n\t\"dialect\": \"postgres\",\n\t\"email_alert\": false\n}\nEOF\n"
|
||||||
|
|
||||||
|
- run: chmod +x ./semaphore && ./semaphore migrate --config config.json
|
||||||
|
|
||||||
- run: "cat > config.json <<EOF\n{\n\t\"bolt\": {\n\t\t\"host\": \"/tmp/database.bolt\"\
|
- run: "cat > config.json <<EOF\n{\n\t\"bolt\": {\n\t\t\"host\": \"/tmp/database.bolt\"\
|
||||||
\n\t},\n\t\"dialect\": \"bolt\",\n\t\"email_alert\": false\n}\nEOF\n"
|
\n\t},\n\t\"dialect\": \"bolt\",\n\t\"email_alert\": false\n}\nEOF\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user