You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -34,7 +36,7 @@ If you chose "private_key" or "json_key" as [auth_method](#Authentication), you
34
36
### run
35
37
36
38
```
37
-
embulk run /path/to/config.yml
39
+
java -jar embulk-X.Y.Z.jar run /path/to/config.yml
38
40
```
39
41
40
42
## Configuration
@@ -50,7 +52,8 @@ embulk run /path/to/config.yml
50
52
-**json_keyfile** fullpath of json_key (string, required when auth_method is json_key)
51
53
-**application_name** application name anything you like (string, optional)
52
54
53
-
## Example
55
+
Example
56
+
--------
54
57
55
58
```yaml
56
59
in:
@@ -107,7 +110,8 @@ in:
107
110
#path_match_pattern: .csv$|.csv.gz$ # match files whose suffix is .csv or .csv.gz
108
111
```
109
112
110
-
## Authentication
113
+
Authentication
114
+
---------------
111
115
112
116
There are three methods supported to fetch access token for the service account.
113
117
@@ -168,20 +172,24 @@ in:
168
172
auth_method: compute_engine
169
173
```
170
174
171
-
## Eventually Consistency
175
+
Eventually Consistency
176
+
-----------------------
172
177
173
178
An operation listing objects is eventually consistent although getting objects is strongly consistent, see https://cloud.google.com/storage/docs/consistency.
174
179
175
180
`path_prefix` uses the objects list API, therefore it would miss some of objects.
176
181
If you want to avoid such situations, you should use `paths` option which directly specifies object paths without the objects list API.
177
182
178
-
## Build
183
+
For Maintainers
184
+
----------------
185
+
186
+
### Build
179
187
180
188
```
181
-
./gradlew gem
189
+
./gradlew jar
182
190
```
183
191
184
-
## Test
192
+
### Test
185
193
186
194
To run unit tests, we need to configure the following environment variables.
187
195
@@ -230,3 +238,42 @@ $ launchctl getenv GCP_EMAIL //try to get value.
230
238
231
239
Then start your applications.
232
240
```
241
+
242
+
### Release
243
+
244
+
Modify `version` in `build.gradle` at a detached commit, and then tag the commit with an annotation.
245
+
246
+
```
247
+
git checkout --detach master
248
+
249
+
(Edit: Remove "-SNAPSHOT" in "version" in build.gradle.)
250
+
251
+
git add build.gradle
252
+
253
+
git commit -m "Release vX.Y.Z"
254
+
255
+
git tag -a vX.Y.Z
256
+
257
+
(Edit: Write a tag annotation in the changelog format.)
258
+
```
259
+
260
+
See [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) for the changelog format. We adopt a part of it for Git's tag annotation like below.
261
+
262
+
```
263
+
## [X.Y.Z] - YYYY-MM-DD
264
+
265
+
### Added
266
+
- Added a feature.
267
+
268
+
### Changed
269
+
- Changed something.
270
+
271
+
### Fixed
272
+
- Fixed a bug.
273
+
```
274
+
275
+
Push the annotated tag, then. It triggers a release operation on GitHub Actions after approval.
0 commit comments