Naveen Naidu
a34e0a23e1
cli: use go install instead of go get
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10748
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
GitOrigin-RevId: d099fd6982c0ef6e7b2cbcf6507431edc4a10053
2024-03-25 09:01:45 +00:00
Samir Talwar
2aa53a1c42
CLI: Speed up the build.
...
This speeds up `make build` for the CLI in two ways:
1. The `-rebuild` argument to `gox` is removed, as it seems unnecessary most of the time.
2. The cli-ext binaries are only copied when they're changed, rather than copying them every time.
I also had to fix `clean-cli-ext` so it deletes files in the correct directory.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8710
GitOrigin-RevId: db0c1880577ff1819f961cbf23d34d4f8d67a30a
2023-05-10 13:49:32 +00:00
Divi
b7c414a875
ci: add action to release cli-ext binaries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4342
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 2b7686bda333d977aa20a1ff10f7b3179509eac3
2022-06-07 22:25:41 +00:00
Vishnu Bharathi
0016d3cad5
cli: avoid exporting hasura-specific schemas during hasura init
...
fixes https://github.com/hasura/graphql-engine/issues/8352
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4178
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: eff7067c34932435207eff794f9435356b55b666
2022-04-25 13:06:52 +00:00
Vishnu Bharathi
fac5e0b2c3
ci: produce ubuntu and centos flavoured graphql-engine images
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3597
GitOrigin-RevId: f1fded72524f28f41433eea6819276932ee0b5cb
2022-03-22 12:03:25 +00:00
Kali Vara Purushotham Santhati
4edc723d64
cli: codesign the cli binaries
...
closes https://github.com/hasura/graphql-engine/issues/7147
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2100
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1816493b6cdf1b00b267ee8852c7b8a7c5fc3ee9
2021-12-02 10:21:30 +00:00
Kali Vara Purushotham Santhati
b21a86937a
ci: increase golang linter timeout
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3020
GitOrigin-RevId: 500e6e0c427ce6274ddeb2a9bd89b6ee175f2f9f
2021-12-01 10:01:11 +00:00
Kali Vara Purushotham Santhati
b312ca1596
ci: check lint errors before building oss-cli and pro-cli
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2665
GitOrigin-RevId: dac1c8f7137ff4826a3155fb78c99fc1341a8583
2021-11-15 11:04:25 +00:00
Kali Vara Purushotham Santhati
94a3be3e6e
cli: fix lint errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1749
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 4515f7f2c58b7f28645b2c5a5d9842aa7a844eae
2021-10-13 14:39:15 +00:00
Vishnu Bharathi
2165736497
ci: complete the CLI pipeline in buildkite
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2437
GitOrigin-RevId: 0b3cd970be1e814df7d679979af6aa09d95c21cd
2021-09-27 13:35:04 +00:00
Vishnu Bharathi
2329c16ce9
cli: embed cli-ext as exe in case of windows
...
https://github.com/hasura/graphql-engine-mono/pull/2295
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 16a03d33d5bf4d45a71ba79b3b775fba3176a1e8
2021-09-07 06:01:00 +00:00
Kali Vara Purushotham Santhati
ca567bf8cb
cli: enhance e2e tests
...
- actions use-codegen
- Assert if starter kit files are created
- metadata apply
- Assert server metadata after apply
- assert that --dry-run flag will not modify metadata on server
- metadata clear
- Assert with server metadata that operation was successful.
- metadata inconsistency drop
- Assert with server metadata that operation was successful.
- metadata inconsistency status
- Assert for all possible states
- metadata reload
- Assert effect of operation with server
- migrate and seed subcommands
- Add tests for MSSQL sources
- Structure tests in such a way that it’s easy to add tests for new sources
https://github.com/hasura/graphql-engine-mono/pull/1693
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: fcdbb806d105978a07487a40f7fa6e16b3ab8816
2021-07-28 06:45:03 +00:00
Vishnu Bharathi
8a6f3f7e9d
cli: support ARM architecture
...
https://github.com/hasura/graphql-engine-mono/pull/1534
GitOrigin-RevId: 67723bb64e2505c665b04b5b0d691e5599843f87
2021-07-14 08:54:43 +00:00
hasura-bot
621029b4ed
cli: make cli-ext to be usable in the cli library
...
GITHUB_PR_NUMBER: 7099
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7099
https://github.com/hasura/graphql-engine-mono/pull/1632
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 610215142cadfab76fd8368c28a125f46da5e759
2021-06-27 13:50:20 +00:00
hasura-bot
e640000a09
cli: skip compression for macos x64 binary
...
GITHUB_PR_NUMBER: 7096
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7096
https://github.com/hasura/graphql-engine-mono/pull/1628
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 7234dc7d6bb4f4f62437a77824ce7904d3029f24
2021-06-22 08:05:16 +00:00
Vishnu Bharathi
ee2c9cd4ad
cli: avoid race condition in cli-ext
...
https://github.com/hasura/graphql-engine-mono/pull/1610
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 87972a8a9c94252aa17a1f2304c048f66f6bdf2d
2021-06-18 16:14:27 +00:00
Aravind K P
3136ffad1b
cli: update go.mod
...
>
### Description
Update `go.mod` to allow other packages to import [v2.0.0 versions](https://blog.golang.org/v2-go-modules ).
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [x] CLI
https://github.com/hasura/graphql-engine-mono/pull/1584
GitOrigin-RevId: a5d17ad20289d1cd7217763f56ef3ba6552d69c4
2021-06-16 11:45:07 +00:00
Kali Vara Purushotham Santhati
7ab5dd4265
cli: use go:embed to embed console static assets
...
GitOrigin-RevId: 3bb86dec853ebfdacd049b9424dd58c51c930cb7
2021-06-04 07:28:22 +00:00
Aravind K P
d8198a8bad
cli,ci: testsuite enhancements
...
- remove `HASURA_TEST_CLI_HGE_DOCKER_TAG` & `HASURA_TEST_CLI_HGE_DOCKER_REPO` env variables
- add `HASURA_TEST_CLI_HGE_DOCKER_IMAGE` environment variable to configure hge image used in tests
- add template test project directories
- add helper functions to manipulate the template projects in individual tests
- add config v2 tests
Co-authored-by: Kali Vara Purushotham Santhati <72007599+purush7@users.noreply.github.com>
GitOrigin-RevId: 009a74c042861ff0a8dec2b06002e55de3a8a629
2021-06-03 13:27:24 +00:00
Vishnu Bharathi
ebc01c2378
cli, ci: enables docker based tests
...
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d7a53e512d296bdd4b2119bb1d0b89e30da7d476
2021-05-17 00:30:08 +00:00
Aravind K P
eeafc06288
cli: update console assets buckets selection
...
GitOrigin-RevId: 524b4612cf059315fc3a6466857994b8909d5d67
2021-05-04 12:00:12 +00:00
Aravind K P
2d88c4554c
cli: on m1 macs use darwin/amd64
builds in installation script
...
GitOrigin-RevId: 51078adaab957296c4efa9973f19daa9dec570b2
2021-05-03 08:00:44 +00:00
hasura-bot
2099208e4b
cli: merges cli-ext with cli
...
GITHUB_PR_NUMBER: 6640
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6640
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 362d82d8ee18afd7efa63e9c8912f6c5444f82dd
2021-03-17 15:10:03 +00:00
Aravind K P
a0995d1b30
cli: add client package, statestore implementations, deprecate config v1
...
GitOrigin-RevId: 5a1d9cb772ac62603f2543bfe6c01a95c0a035c6
2021-02-17 04:21:11 +00:00
hasura-bot
a398d3b190
cli: support datasources
...
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00
Aravind
edbd9c4f48
cli: load assets from server if cdn is disabled ( close #3382 ) ( #3851 )
2020-06-03 09:36:23 +05:30
Aravind Shankar
5081a2969f
cli: update makefile to set plugins branch ref ( #4421 )
2020-04-16 06:54:50 +05:30
Aravind Shankar
995e198d0a
cli: show env vars for the flags in command help ( close #4263 ) ( #4326 )
2020-04-08 17:25:42 +05:30
Aravind Shankar
d0870a85f8
cli: update makefile to include pkger ( #4320 )
2020-04-07 18:35:00 +05:30
Aravind
de41438e8a
cli: refactor console command ( #4150 )
2020-04-07 14:53:20 +05:30
Aravind Shankar
bb63d7e60e
cli: allow managing actions ( #3859 )
...
Co-authored-by: Rishichandra Wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind <aravindkp@outlook.in>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-24 21:44:46 +05:30
Aravind
204f02fc62
cli: update go-binddata, fix realize ( close #3588 ) ( #3687 )
...
* use a maintained version of go-binddata, fix error in `realize
start`
* run go mod tidy
2020-01-13 15:24:41 +05:30
Ashish Rao
3d3e987c2a
cli(build): migrate to go modules ( close #3476 ) ( #3493 )
2019-12-12 11:07:26 +05:30
Aravind Shankar
20be2e5ab1
add update-cli command to cli ( close #1239 ) ( #1251 )
2019-02-04 16:21:29 +05:30
Shahidh K Muhammed
eb926f572a
remove docs from cli folder ( #918 )
2018-10-30 10:38:38 +05:30
Shahidh K Muhammed
dec39a10ba
create statically linked binaries for cli ( close #175 ) ( #179 )
...
[skip ci]
2018-07-20 16:30:25 +05:30
Aravind Shankar
5985bf8e9e
deploy script enhancements ( #124 )
2018-07-17 22:30:26 +05:30
Shahidh K Muhammed
50165fc1ed
circleci integration ( #74 )
2018-07-10 10:01:02 +00:00
Shahidh K Muhammed
06fd236068
cli: close #38 handle server, cli and console versions ( #43 )
2018-07-04 18:13:52 +05:30
Shahidh K Muhammed
98c827449b
build: integrate circleci
...
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Shahidh K Muhammed
e0a4ee88fe
cli: updates to support console versioning etc ( #30 )
...
* cli: fix version command and makefile
* cli: update console asset versioning format
* cli: change .realize from dir to file
* cli: update dependencies
2018-07-03 14:54:46 +05:30
Shahidh K Muhammed
6170d6b094
cli: add circleci config for cli ( #26 )
2018-06-29 13:09:21 +00:00
Shahidh K Muhammed
776c550654
[cli] add docs and build tools ( #3 )
...
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30