Commit Graph

49 Commits

Author SHA1 Message Date
jjudd
506b626210 Add linux-arm64 support 2024-08-23 12:37:32 -06:00
Sveta Smirnova
a5bcc86040 Added hook for help output for new option in src/go/Makefile: build 2023-12-22 23:11:31 +03:00
Sami Ahlroos
5e1dfaf218 build Go tools from top Makefile 2023-11-28 14:29:58 +02:00
Sveta Smirnova
f9c43e9bae ARM64 support for macOS
- Added option darwin-arm64 into Go tools Makefile
- Changed --delimiter option to its short version that works on all
  platforms
- Changed "Mongo tools" comments to "Go tools", because now Go tools are
  not only for Mongo
2023-11-13 17:40:58 +03:00
Viktor Szépe
2bd40d8c39 Remove trailing spaces (#665)
* Remove trailing spaces

* PR-665 -  Remove trailing spaces

- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory

* PR-665 -  Remove trailing spaces

- Fixed typos

* PR-665 -  Remove trailing spaces

- Fixed typos

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-09-06 01:15:12 +03:00
Sveta Smirnova
501e4cd568 PT-2169 - pt-k8s-debug-collector integration of pg_gather requires croping first line of the output file (#615)
* PT-2169 - pt-k8s-debug-collector integration of pg_gather requires croping first line of the output file

Modified pt-k8s-debug-collector so it redirects only STDOUT to summary.txt
STDERR is stored in the logs and recorded in summary.txt only if summary fails with the error
Modified Makefile, so it does not include closing bracket into the version string
Created test case for the fix

* PT-2169 - pt-k8s-debug-collector integration of pg_gather requires croping first line of the output

Removed else as requested by Ege
2023-04-20 03:12:52 +03:00
Sveta Smirnova
46a466efcc PT-2165 actual version, go version, and build for go tools (#603)
* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Removed outdated numbers from main.go, because we update these numbers in the Makefile.

* PT-2165 - Actual Version, GoVersion, and Build for Go tools

Added template version into Makefile for the latest tag.
2023-02-27 01:19:26 +03:00
Sveta Smirnova
03ab27228f PT 2105 collect individual logs (#558)
* PT-2105 - Collect individual log files for PXC

Combined log files are hard to read by humans. Since pt-k8-debug-collector is the tool that
accesses data from the running pods, it can copy raw log files, necessary for troubleshooting PXC issues.
So, in addition to collecting logs.txt, this adds method getIndividualFiles for the Dumper that
reads individual files from PXC pods and stores them in the resulting archive.

Additionally, this commit fixes invalid timestamps in the resulting archive.

* PT-2105 - added support for non-default namespaces

* PT-2105 Let pt-k8-debug-collector to collect individual logs in PXC pods

Added test case for this new collection.

* Update go.mod

Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>

Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
2022-11-17 19:32:19 +03:00
Carlos Salguero
896fdcede8 Release 3.4.0 (#539)
* PT-1979 Improved mdb summary information

Added the MongoDB instance command line options to the output.
Also fixed the spacing in the replicaset section.

* Added new template file

* PT-1978 Implemented duplicated indexes detection

* WIP

* PT-1978 WIP

* PT-1978 New tool pt-mongodb-check-index

* Upgraded version and dependencies

* Updated Go sources

* Removed unused file

* Added version command

* Added changelog

* Updated required params

* Added system.profile to the ingored dbs

* Updated Changelog

* Updated version in all programs

* Updated changelog

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* Update Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>

* PT-7 fix 3.4.0 build

* Updated Makefile

* Updated changelog

* Updated Changelog

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
Co-authored-by: Evgeniy Patlan <evgeniy.patlan@percona.com>
2022-07-11 10:29:37 -03:00
Jelle van der Waa
b19654fa48 Make build reproducible (#499)
By setting SOURCE_DATE_EPOCH builds the build binaries can become
reproducible as a rebuild will take the old build date as input.

Motivation: https://reproducible-builds.org
2021-09-20 10:26:27 -03:00
Carlos Salguero
dd2b144004 PMM-8575 migrate toolkit to modules (#512)
* PMM-8575 Fixed test

Fixed sandbox used by go programs, updated all tests.

* PMM-8575 Fixed test

Fixed sandbox used by go programs, updated all tests.

* Removed Gopkg

* Switched to go 1.16

* Updated go.mod

* Upgraded deps

* Updated deps
2021-09-10 16:08:58 -03:00
PaulJacobs-percona
df16170eda Release 3.3.0 (#480)
* Updated Percona::Toolkit version

* Updated version in POD headers

* RM-880-RN-3.3.0

* Update makefile to use go dep

* Update year

* Theme is downloaded by Makefile

* Correct path to icon

* Updated pt-osc --reverse-triggers help

* Update reverse-triggers option

* PT-1905 Reverse triggers wording

Co-authored-by: Carlos Salguero <carlos.salguero@percona.com>
2021-01-14 15:22:19 -03:00
Carlos Salguero
ff6b05b381 PT-1891 Fixed mongodb-summary connection with ssl (#469)
* PT-1891 Fixed mongodb-summary connection with ssl

- Added SSL connection options
- Fixed old tests
- Replaced gofmt by gofumpt in Makefile
- There are no ssl test for mongodb-summary because the current sandbox
doesnt support it

* PT-1891 Ran gofumports

* PMM-1891 Fixes for CR

* PT-1891 Decreased minimum TLS reqs for compatibility
2020-11-02 17:13:29 -03:00
Carlos Salguero
1da2cc944b PT-1822 fixed test 2020-06-01 14:57:36 -03:00
Carlos Salguero
3caa8c4a25 PMM-2605 Removed go 1.9.x from .travis.yml
Also updated Makefile to run all the tests
2019-11-11 10:46:57 -03:00
Carlos Salguero
9d3f6cd254 Updated makefile to set version from git tag 2019-09-10 09:30:39 -03:00
Carlos Salguero
737c5de9af Updated makefile to include git commit 2019-09-07 16:16:44 -03:00
Carlos Salguero
c388bbc01c PT-1741 Migrated Go pt-mongo-tools to new driver 2019-08-02 11:53:39 -03:00
Evgeniy Patlan
5159bd333f Build percona-toolkit-3.0.13 2018-12-28 08:55:28 +00:00
EvgeniyPatlan
2cb3533611 Build repcona-toolkit-3.0.12 2018-09-11 11:22:26 +00:00
Evgeniy Patlan
f0981642e5 Build percona-toolkit-3.0.11 2018-07-03 12:57:01 +00:00
Evgeniy Patlan
a4db86e026 Build percona-toolkit-3.0.10 2018-05-21 17:38:57 +00:00
Carlos Salguero
1f3a0eaa77 Merge branch 'pt-secure-data' into release-3.0.9 2018-04-18 12:54:20 -03:00
Carlos Salguero
d4104558b5 PT-1501 New tool pt-secure-collect
New tool to collect and sanitize pt-tools outputs
2018-04-18 12:36:29 -03:00
Evgeniy Patlan
2dc21af50e Build percona-toolkit-3.0.9 2018-04-17 10:27:56 +00:00
Evgeniy Patlan
0ef9ed8c5e Bild percona-toolkit-3.0.8 2018-03-13 14:03:28 +00:00
Evgeniy Patlan
c982a88c92 Build percona-toolkit-3.0.7 2018-03-01 12:13:29 +00:00
Evgeniy Patlan
42a5e91cb7 Update version 2017-12-20 14:05:12 +00:00
Carlos Salguero
3d4c62da88 PT-214 WIP 2017-12-13 16:35:59 -03:00
Evgeniy Patlan
37e59dbc2d Build percona-toolkit-3.0.5 2017-11-17 08:08:54 +00:00
Mykola Marzhan
70265ad22f RM-269 bump version 2017-08-01 14:48:09 +03:00
Carlos Salguero
0263a34af8 Updated dependencies 2017-04-11 11:17:41 -03:00
Evgeniy Patlan
5fe708ebb0 Update version 2017-03-23 14:19:11 +02:00
Carlos Salguero
57029b4e01 PT-77 Updated glide call in the Makefile 2017-02-21 14:55:34 -03:00
Evgeniy Patlan
3f220f43c7 Version should be the same for all tools 2017-02-17 12:20:47 +02:00
Carlos Salguero
28a1870de9 Updated Makefile to update dependencies instead of trying to ge them from GOPATH 2017-02-15 17:31:51 -03:00
Carlos Salguero
fc4a002e03 Updated makefile for go tools 2017-02-15 15:01:33 -03:00
Carlos Salguero
b28799f8d2 Removed vendor dirs 2017-02-14 19:11:10 -03:00
Carlos Salguero
92b1109804 Fixed PT-69 2017-02-13 13:08:54 -03:00
Carlos Salguero
06e74eba1c Updated makefile for linux-386 2017-02-01 17:11:31 -03:00
Carlos Salguero
794229673a Updated makefile to use govendor 2017-02-01 13:38:36 -03:00
Carlos Salguero
91ac30a51d WIP Updated makefile to use govendor 2017-02-01 13:28:34 -03:00
Carlos Salguero
f462ae8e76 Removed govendor 2017-02-01 12:06:01 -03:00
Carlos Salguero
e5dea1e0e3 New make file 2017-01-30 21:30:53 -03:00
Carlos Salguero
c2419ba10a Implemented version check
Updated readme
2017-01-11 15:01:33 -03:00
Carlos Salguero
3fd93b4f32 Fixed sharded/unsharded coll stats 2017-01-05 23:52:03 -03:00
Carlos Salguero
56b8587715 PT-50 Fixed Makefie 2016-12-21 15:13:29 -03:00
Carlos Salguero
aa068ea4fe PT-50 Fixed oplog counters 2016-12-21 14:33:04 -03:00
Carlos Salguero
47c0db3650 moving mongodb code into toolkit repo 2016-12-11 23:18:56 -03:00