Commit Graph

78 Commits

Author SHA1 Message Date
dm-2 2d3e8d998e Only build RPM and deb packages for amd64 2022-07-20 14:47:51 +01:00
jecepeda df6443bb61 Add binaries for arm64 architectures 2022-03-11 14:10:58 +01:00
dm-2 522fbb849c fix: update build script to explicitly build RPMs for linux 2022-02-25 14:10:42 +00:00
dm-2 09c35bd393 Update build script to generate releases 2022-01-18 16:15:36 +00:00
dm-2 83413c339e Security: fix vulnerability where `-database` parameter accepts arbitrary DSN strings 2022-01-18 11:23:49 +00:00
Tim Vaillancourt 47d49c6b92
Add go mod (#935)
* Add a go.mod file

* run go mod vendor again

* Move to a well-supported ini file reader

* Remove GO111MODULE=off

* Use go 1.16

* Rename github.com/outbrain/golib -> github.com/openark/golib

* Remove *.go-e files

* Fix for `strconv.ParseInt: parsing "": invalid syntax` error

* Add test for '[osc]' section

Co-authored-by: Nate Wernimont <nate.wernimont@workiva.com>
2021-06-24 20:19:37 +02:00
Tim Vaillancourt 8f42dedef8
Add GO111MODULE=off to build.sh, use Golang 1.16 (#966)
* Add GO111MODULE=off to build.sh

* Use golang 1.16

* Update go version in README.md

* Add missing GO111MODULE=off

* Add missing GO111MODULE=off again

* Use go1.16.3 explicitly

* Use 1.16 for CI test

* Update min go version

* Use go 1.16.4
2021-05-25 13:22:28 +02:00
Yakir Gibraltar c480ff1337 Remove build_id files from rpm 2021-04-06 18:15:05 +03:00
Shlomi Noach 8eb300bdc8 expect 1.14 and above in build scripts; update to readme.md 2020-06-29 09:52:47 +03:00
Shlomi Noach 1a8c372947 Using golang 1.14 2020-06-28 08:39:16 +03:00
Shlomi Noach 40953fe82f Adding script/dock: simplifying testing/packaging 2020-02-09 16:11:34 +02:00
Shlomi Noach 143abf05b0 fail when go is < 1.12 2019-08-12 08:03:17 +03:00
Shlomi Noach 17e4fe8017 TravisCI updated to go1.12 ; but we are likely to remove TravisCI anyhow 2019-08-11 15:26:29 +03:00
Shlomi Noach b82fc45221 Adding maintainer email in DEB package 2019-02-12 08:01:47 +02:00
Shlomi Noach 609890aec1 only create builddir for linux 2018-05-27 21:03:44 +03:00
Shlomi Noach 0454c5ecb0 do not delete during build 2018-05-27 21:02:00 +03:00
Shlomi Noach 7da0cbc270 /tmp/gh-ost-release 2018-05-27 20:59:58 +03:00
Shlomi Noach 33e5974549 working directory 2018-05-27 20:53:18 +03:00
Shlomi Noach 460b15d827 rpm and deb 2018-05-27 20:49:08 +03:00
Shlomi Noach d20903e260 Package builds 2018-05-27 20:29:09 +03:00
Shlomi Noach b23f0a6874 build.sh: supporting go1.9 and above 2018-05-07 12:34:42 +03:00
Shlomi Noach bc8c7caa0a Moving to go1.9 2017-11-23 12:13:25 +02:00
Shlomi Noach 18d12e382d externalized -RELEASE_VERSION 2016-10-27 13:53:51 +02:00
Shlomi Noach bf92eec214 validating table structure on applier and migrator
- reading column list on applier
- comparing original table on applier and migrator, expecting exact column list
- or else bailing out
2016-10-20 11:29:30 +02:00
Shlomi Noach 6c7ab1a3e5 updated version 2016-10-13 13:14:59 +02:00
Shlomi Noach b38af6c29e updated version 2016-10-12 08:33:49 +02:00
Shlomi Noach 5d312a2bfb documenting --discard-foreign-keys flag 2016-10-07 10:23:52 +02:00
Shlomi Noach 7517d48776 updated version 2016-09-13 05:35:43 -07:00
Shlomi Noach 1c6f828091 refactored server command into server.go
- added support for cut-over=<tablename>
- refactored more code into context
2016-09-12 12:38:14 +02:00
Shlomi Noach 791d963ea0 Character set recognition and manipulation
- Identifying textual characters sets; converting into specific type when applying dml events
- Refactored `ColumnsList`: introducing `Column` type
- Refactored `unsigned` handling, as part of `Column`
- `Column` type supports `convertArg()`: converting value of argument according to column data type
- DB URI attempts `utf8mb4,utf8,latin1` charsets in that order (first one to be recognized wins)
- Local tests filter by pattern
- Local tests append table schema on failure
- Local tests do not have postpone flag file
- Added character set local tests: `utf8`, `utf8mb4`, `latin1`
2016-09-07 14:24:11 +02:00
Shlomi Noach a58e80387e More environment variables in hooks 2016-09-02 10:48:29 +02:00
Shlomi Noach 43a3ce8a58 updated version 2016-09-01 10:51:56 +02:00
Shlomi Noach 89a3a261a8 updated version 2016-08-26 08:39:32 +02:00
Shlomi Noach bfcedef8cf updated version 2016-08-25 12:20:33 +02:00
Shlomi Noach 9dc378feaa updated version 2016-08-22 16:20:11 +02:00
Shlomi Noach cf5fdb971b updated version 2016-08-22 11:55:33 +02:00
Shlomi Noach 6d80340e4f setting time_zone on DML apply 2016-08-19 09:06:00 +02:00
Shlomi Noach 3a0ee9b4a5 clarified commented transactional apply 2016-08-17 10:50:41 +02:00
Shlomi Noach 98f6ddf00c merged dveeden-build_failfast 2016-08-12 13:04:17 +02:00
Shlomi Noach 95b4f9e440 testing for trigger existence 2016-08-11 14:10:35 +02:00
Daniël van Eeden d837c6b8e2 Set executable bits on build.sh 2016-08-04 07:13:46 +02:00
Shlomi Noach 8e17880608 upped version 2016-08-01 10:36:17 +02:00
Shlomi Noach bae4af8c76 updated version 2016-07-31 09:18:50 +02:00
Shlomi Noach b53ee24a1f dynamic replication-lag-query 2016-07-26 14:14:25 +02:00
Shlomi Noach 6dbf5c31a2 resolved conflict 2016-07-26 11:57:01 +02:00
Shlomi Noach 4774b67ffd config file supports environment variables 2016-07-25 15:46:37 +02:00
Shlomi Noach 74804559c8 supporting --initially-drop-socket-file
- by default gh-ost will not delete an existing socket file
  and thus, will fail running if socket file exists. This is the desired behavior.
- The flag --initially-drop-socket-file indicates we take responsibility and wish gh-ost to delete this file on startup
2016-07-22 17:34:18 +02:00
Shlomi Noach ef59a866d8 Removed legacy 'safe cut-over'
Now that we have the atomic cut-over, the former is redundant
2016-07-16 08:12:19 -06:00
Shlomi Noach 8e46b4ceea max-lag-millis is dynamicly controllable 2016-07-13 09:44:00 +02:00
Shlomi Noach 8217536898 supporting --cut-over-lock-timeout-seconds 2016-07-08 10:14:58 +02:00