Commit Graph

692 Commits

Author SHA1 Message Date
Binaek Sarkar
7040ffbfdf Fix issue where running service had to be stopped to install in a new install-dir. Closes #1216 2021-12-13 09:30:29 +00:00
dependabot[bot]
842dea5fe4 Bump google-github-actions/setup-gcloud from 0.2.1 to 0.3 (#1225)
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 0.2.1 to 0.3.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases)
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v0.2.1...v0.3)

---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:19:51 +00:00
kai
42112d5b06 Update version to v0.11.0-dev.0 v0.11.0-dev.0 2021-12-10 15:00:39 +00:00
kaidaguerre
10982c05b4 Fix nil reference exception during refresh connections when using dynamic plugins. Closes #1223 2021-12-10 14:59:30 +00:00
Puskar Basu
4aa72557f4 Improve plugin uninstall output when connections remain. Closes #1158 2021-12-10 14:36:28 +00:00
Binaek Sarkar
28d12e70eb Update Postgres driver to github.com/jackc/pgx. Closes #1179 2021-12-09 17:15:59 +00:00
Binaek Sarkar
dad700b26c Add context awareness in services and commands. Closes #1206. Closes #1214. Closes #1215 2021-12-09 14:02:19 +00:00
dependabot[bot]
eaaa40e31d Bump google-github-actions/setup-gcloud from 0.2.0 to 0.2.1 (#1205)
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases)
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 14:00:28 +00:00
kaidaguerre
1fdfc02c34 Startup optimizations. Closes #1186. Closes #1183. Closes #1182
- Update connection management to use file modified time instead of filehash to detect connection changes
- Avoid retrieving schema from database for check and non-interactive query execution
- When retrieving plugin schema, identify the minimum set of schemas we need to fetch - to allow for multiple connections with the same schema
- Update plugin manager to instantiate plugins in parallel
2021-12-07 15:34:14 +00:00
François de Metz
e18665f6e1 Update the readme with go version, latest steampipe version and fix a typo 2021-12-07 14:55:22 +00:00
Binaek Sarkar
b92ff8a074 Enables the tablefunc extension for the steampipe database. Closes #1154 2021-12-07 12:57:19 +00:00
kaidaguerre
d253e68f27 Update workspace-database argument to handle connection strings starting with both postgres and postgresql. Closes #1199 2021-12-06 09:59:06 +00:00
Gábor Lipták
62be05da96 Add github-actions to dependabot (#1192)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-12-06 09:58:41 +00:00
kai
65f59786a6 Update plugin manager makefile and GRPCServer to support protoc-gen-go-grpc 1.1.0_2. Add plugin_manager_grpc.pb.go. 2021-11-30 23:24:54 +00:00
Gábor Lipták
d58d972a3e Bump Go to 1.17
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-11-30 12:41:14 +00:00
Binaek Sarkar
73d568c531 Fixes issue where local plugins are not evaluated as local as given in docs. Closes #1176 2021-11-30 12:37:53 +00:00
Puskar Basu
d5555d16f3 Show query timing at the end of the query results. Closes #1177 2021-11-30 12:32:47 +00:00
Puskar Basu
7be8229153 Re-enable dynamic schema tests. Closes #1076 2021-11-30 12:31:54 +00:00
kai
be732c568c Uodate CHANGELOG for v0.10.0. #1130 2021-11-24 22:48:12 +00:00
kai
4afc11a833 Uodate CHANGELOG for v0.10.0. #1130 2021-11-24 22:42:10 +00:00
kai
3ee316f30a Update FDW version to v0.3.0 v0.10.0 2021-11-24 21:54:49 +00:00
kai
1ed6eae515 v0.10.0. Closes #1130 2021-11-24 16:48:27 +00:00
kaidaguerre
ad3e6447c0 Add support for connecting to a remote database, andf for connecting to Stweampipe #1175 2021-11-24 16:44:26 +00:00
Binaek Sarkar
f2580be172 Fixes issue where a check cancel was not waiting for query cancellation to finish, resulting in the service not stopping. Closes #1171 2021-11-24 16:21:10 +00:00
Binaek Sarkar
d55903d44b Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109 2021-11-24 13:52:01 +00:00
kai
27892a0f1d Draft CHANGELOG.md for v0.10.0-beta #1130 2021-11-23 21:54:23 +00:00
kai
7c3b57fd5a Update version to 0.10.0-beta.5 #1130 v0.10.0-beta.5 2021-11-23 21:37:07 +00:00
kai
94c196c106 Update FdwVersion to 0.3.0-rc.4
- Fix `.cache clear` metacommand causing FDW to panic
- Fix intermittent crash when using boolean quals on jsonb columns
2021-11-23 21:37:07 +00:00
Puskar Basu
866d438406 Update goreleaser to build steampipe binary for Mac M1. Closes #1160 v0.10.0-beta.4 2021-11-23 16:09:50 +00:00
kai
95ecc5ce0b Update version to 0.10.0-beta.4 #1130 2021-11-23 16:08:39 +00:00
kaidaguerre
9e8677d6de Avoid conflict between plugin manager connection watcher and steampipe concurrently refreshing connections by ignoring initial file watcher event. Closes #1168 2021-11-23 16:07:05 +00:00
kaidaguerre
34b0963d09 Fix reflection error when loading a workspace from a hidden folder. Closes #1157 2021-11-23 11:57:20 +00:00
kaidaguerre
2591bcd411 Update plugin and database installation code to expect AMD64 plugin and db binaries. Closes #1166 2021-11-23 11:56:17 +00:00
Eng Zer Jun
335a3ee686 refactor: move from io/ioutil to io and os packages (#1153)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-23 11:54:38 +00:00
kai
b15249c690 Update version to 0.10.0-beta.3. #1130 v0.10.0-beta.3 2021-11-23 11:06:16 +00:00
kaidaguerre
c3ddd658af Update plugin manager config watcher tro update plugin manager config before refreshing connections before updating plugin manager with the modified config. Closes #1163 2021-11-23 10:37:15 +00:00
kai
1145edc5fa Update version to 0.10.0-beta.2. #1130 v0.10.0-beta.2 2021-11-22 21:09:08 +00:00
Binaek Sarkar
1c02e4afa5 Update plugin_manager service management to be more reslient. Closes #1155 2021-11-22 21:05:46 +00:00
kai
c232da12e9 update version to v0.10.0-beta.1 v0.10.0-beta.1 2021-11-21 11:01:34 +00:00
kaidaguerre
3bb4bf97d3 Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152. Close #1085 2021-11-21 10:53:33 +00:00
Binaek Sarkar
aea6b017f2 Ensure plugin manager and db service state are managed as a unit - they should always be started and stopped together. Closes #1149 2021-11-19 16:07:20 +00:00
Binaek Sarkar
55bad37d65 Fix issue where check progress reports negative values when errors occur. Closes #1131 2021-11-19 15:58:55 +00:00
kai
d35da7e86b Update FDW to v0.3.0-rc.2 - do not call cache set if plugin supports caching. Only create FDW query cache if needed. 2021-11-19 15:09:01 +00:00
Puskar Basu
b0aa9b62aa When running as root steampipe should error out with a non-zero exit-code . Closes #1114 2021-11-19 10:27:29 +00:00
kaidaguerre
8d7d2b6b04 Remove daemon process. Closes #1146 2021-11-18 17:57:06 +00:00
kaidaguerre
c760000652 Do not create plugin manager until db is started - fixes connection watcher causing plugin manager to crash when it fails to get a db client. Daemon command uses steampipe path from currently running running process. Closes #1137 2021-11-17 17:34:52 +00:00
kai
49c35f16f8 Update version to v0.10.0-beta.0. #1130 v0.10.0-beta.0 2021-11-16 22:51:22 +00:00
kaidaguerre
b07013c4dd Tie the connection watcher lifecycle to the plugin manager. Closes #1129 2021-11-16 22:48:10 +00:00
Binaek Sarkar
a09ed88304 Optimize parallel control execution. Provider more responsive feedback for control runs. Update postgres log config to optimise performance. Closes #1101 2021-11-16 21:57:38 +00:00
Puskar Basu
78d456ed6b Support Linux package managers(apt-get, yum, snap). Closes #595 2021-11-16 11:19:39 +00:00