vitess-gh/config
Dirkjan Bussink a56442af5c
Cleanup usage of go.rice in favor of go:embed (#10956)
* Cleanup usage of go.rice in favor of go:embed

The usage of go.rice predates the availability of go:embed, but we
should switch to using go:embed instead to ship specific assets like
config files that we need.

go.rice is also incompatible with Go 1.19 and while it might see a fix
in the future, it seems better to go with the recommended Go approach
that is available these days.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

* Move vtctld to also use `go embed` instead of go.rice

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

* Remove last rice-box related comments

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

* Remove config moving

This right now breaks building the actual tests since the tests might
also end up loading the regular code which has a `go embed` and refers
to the package with the config embeds.

This doesn't mean that the config isn't properly included in the
binaries. Also with using `go embed` we have a build time dependency on
the files and we always know the latest is included, so we don't have
the issue of potentially outdated files either.

All in all, it seems simplest to remove this logic and trust that Go
itself works as advertised.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
2022-08-09 14:15:19 +05:30
..
mycnf Deprecate enable-semi-sync in favour of RPC parameter (#10695) 2022-07-22 21:35:15 +05:30
orchestrator orc: operator support 2020-09-15 13:51:44 -07:00
tablet inclusive naming: fix a few more master references that were missed earlier 2021-08-20 14:22:39 -07:00
zkcfg Changes for make tools (#10117) 2022-04-22 15:03:42 -07:00
embed.go Cleanup usage of go.rice in favor of go:embed (#10956) 2022-08-09 14:15:19 +05:30
gomysql.pc.tmpl standardize on a single way to use mysql 2012-09-13 11:12:27 -07:00
init_db.sql VReplication: use db_filtered user for vstreams (#10080) 2022-04-20 09:57:49 -04:00
zk-client-dev.json add necessary config files 2012-07-24 01:06:19 -07:00