Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 9341174

Browse files
author
Noah Hanjun Lee
authored
Add the document for sql-mode of MySQL (#147)
* Add the doc for sql-mode of MySQL * Fix the index doc
1 parent e4c11b3 commit 9341174

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## What is Gitploy?
99

10-
Gitploy builds the advanced deployment pipelines around [Github Deployments API](https://docs.github.com/en/rest/reference/repos#deployments) in minutes. And also Gitploy provides advanced features, such rollback, approval, and locks.
10+
Gitploy builds the system around GitHub [deployment API](https://docs.github.com/en/rest/reference/repos#deployments) in minutes. It enables teams or organization to deploy the application with lower risk and faster.
1111

1212
## Docs and Support
1313

docs/concepts/chatops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ChatOps is a term that’s been coined recently to refer to using chat services, such as Slack or Microsoft Teams, to deploy or run some operations. Gitploy also supports Chatops as a helper tool.
44

5-
![Slack deploy](../images//slack-deploy.png)
5+
![Slack deploy](../images/slack-deploy.png)
66

77
## Integration
88

docs/images/gitploy.png

19 KB
Loading

docs/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Gitploy
22

3-
![Gitploy](./images/gitploy.png)
3+
Gitploy builds the system around GitHub [deployment API](https://docs.github.com/en/rest/reference/repos#deployments) in minutes. It enables teams or organization to deploy the application with lower risk and faster. You can check this [document](./concepts/how-it-work.md) for the detail.
44

55
---
66

7-
Gitploy helps **you can build the advanced deployment pipeline in minutes**. It enables teams to deploy the application with lower risk and faster when to trigger a deployment. And the pipeline is configured with a simple, easy‑to‑read file that you commit to your git repository.
7+
![Gitploy](./images/gitploy.png)
8+

docs/tasks/database.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,21 @@ GITPLOY_STORE_DRIVER=mysql
1111
GITPLOY_STORE_SOURCE=root:password@tcp(1.2.3.4:3306)/gitploy?parseTime=true
1212
```
1313

14+
### *⚠️ WARNING*
15+
16+
You have to setting the SQL mode by removing `NO_ZERO_DATE` from the default setting to enable the zero value for the `timestamp` type.
17+
18+
```
19+
sql-mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
20+
```
21+
22+
To set the SQL mode, you can check the official [document](https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html).
23+
1424
## Postgres
1525

1626
Gitploy supports postgres on the following 4 versions: `10`, `11`, `12` and `13`. The below example demonstrates postgres database configuration. See the official driver [documentation](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING) for more connection string details.
1727

1828
```
1929
GITPLOY_STORE_DRIVER=postgres
20-
GITPLOY_STORE_SOURCE=postgres://root:password@1.2.3.4:5432/gitploy?sslmode=disable
30+
GITPLOY_STORE_SOURCE=root:password@1.2.3.4:5432/gitploy?sslmode=disable
2131
```

0 commit comments

Comments
 (0)