Commit Graph

290 Commits

Author SHA1 Message Date
Shahidh K Muhammed
694ba2cb6d update manifests to v1.0.0-beta.3 2019-07-12 11:00:10 +05:30
Shahidh K Muhammed
f20b12664c Revert "update manifests to v1.0.0-beta.3"
This reverts commit ec58269b7f.
2019-07-12 10:18:45 +05:30
Shahidh K Muhammed
ec58269b7f update manifests to v1.0.0-beta.3 2019-07-11 15:33:10 +05:30
tpaktop
8282e92408 add ability to override server timeout for cli migrations image (#2034) 2019-05-31 16:07:59 +05:30
Shahidh K Muhammed
e7e4f480d5 update manifests to v1.0.0-beta.2 2019-05-21 11:11:21 +05:30
Shahidh K Muhammed
97246f95fc update manifests to v1.0.0-beta.1 2019-05-16 17:01:50 +05:30
Shahidh K Muhammed
49535e447a update manifests to v1.0.0-beta.01 2019-05-16 14:45:15 +05:30
Shahidh K Muhammed
76ceb707f4
bundle console assets into server (close #516, close #521, close #2130) (#2192)
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.

The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.

The assets are moved to a new bucket with a new naming scheme:

```
graphql-engine-cdn.hasura.io/console/assets/
   /common/{}
   /versioned/<version/{}
   /channel/<channel>/<version>/{}
```

Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
Shahidh K Muhammed
564bcb0239 update manifests to v1.0.0-alpha45 2019-05-06 16:58:57 +05:30
Shahidh K Muhammed
cb87fb45b5
update brand assets (#2062) 2019-04-26 10:05:52 +05:30
Shahidh K Muhammed
d38729b15f update manifests to v1.0.0-alpha44 2019-04-18 18:13:17 +05:30
Shahidh K Muhammed
4f289813af update manifests to v1.0.0-alpha43 2019-04-17 22:52:38 +05:30
Aravind Shankar
22656cefbd support metadata.json in cli-migrations image (close #1947) (#1968)
/scripts/cli-migrations/docker-entrypoint.sh only checks for metadata.yaml, however, https://docs.hasura.io/1.0/graphql/manual/migrations/manage-metadata.html#exporting-hasura-metadata talks about a metadata.json
2019-04-11 09:11:44 +05:30
Shahidh K Muhammed
8187f400a6 edit-pg-dump: fix a missing semi-colon 2019-04-09 09:24:59 +05:30
Shahidh K Muhammed
883646334a
update regex to delete event triggers in edit-pg-dump (close #1959) (#1960) 2019-04-08 15:59:11 +05:30
Shahidh K Muhammed
8c005795f6 update manifests to v1.0.0-alpha42 2019-04-08 13:35:01 +05:30
Shahidh K Muhammed
42a25f044e
add script and now.sh function to edit pg_dump output (close #1861) (#1884)
<!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->

### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspective -->
This PR adds a bash script and a serverless function to clean up the output of `pg_dump` so that it can be used as a migration file for Hasura. This can be later integrated with the CLI so that the cleanup is handled by CLI.

### Affected components 
<!-- Remove non-affected components from the list -->

- Scripts

### Related Issues
<!-- Please make sure you have an issue associated with this Pull Request -->
<!-- And then add `(close #<issue-no>)` to the pull request title -->
<!-- Add the issue number below (e.g. #234) -->
#1861 
### Solution and Design
<!-- How is this issue solved/fixed? What is the design? -->
<!-- It's better if we elaborate -->
- A serverless function written in Go gets the SQL content though HTTP POST.
- A set of pre-defined lines are removed from this SQL string.
- SQL comments are removed using regex matching.
- Postgres triggers created by Hasura for use with event triggers are removed with regex matching.
- Empty newlines are removed by regex matching.
- Resulting string is returned in the HTTP response.
### Steps to test and verify
<!-- If this is a feature, what are the steps to try them out? -->
<!-- If this is a bug-fix, how do we verify the fix? -->
```bash
curl --data-binary @filename.sql https://hasura-edit-pg-dump.now.sh > newfile.sql
```

### Limitations, known bugs & workarounds
<!-- Limitations of the PR, known bugs and suggested workarounds -->
NA
<!-- Feel free to delete these comment lines -->
2019-03-27 21:36:58 +05:30
Shahidh K Muhammed
058fc61a05 update manifests to v1.0.0-alpha41 2019-03-26 10:33:01 +05:30
Shahidh K Muhammed
50b02e950b update manifests to v1.0.0-alpha40 2019-03-12 12:05:46 +05:30
Shahidh K Muhammed
6ecc187e4c update manifests to v1.0.0-alpha39 2019-03-04 13:21:19 +05:30
Shahidh K Muhammed
12ecea16d0 update manifests to v1.0.0-alpha38 2019-02-14 15:10:02 +05:30
Shahidh K Muhammed
31050af32c update manifests to v1.0.0-alpha37 2019-01-29 15:45:32 +05:30
Shahidh K Muhammed
9b36dca243 update manifests to v1.0.0-alpha36 2019-01-29 10:56:25 +05:30
Shahidh K Muhammed
d454dd8fed update manifests to v1.0.0-alpha35 2019-01-18 19:53:52 +05:30
Shahidh K Muhammed
feaeccba71
apply metadata also in cli migrations image (close #1316) (#1319) 2019-01-08 14:35:03 +05:30
Shahidh K Muhammed
8ec69b68e6 update manifests to v1.0.0-alpha34 2019-01-04 17:08:24 +05:30
Shahidh K Muhammed
633631e0b1 update manifests to v1.0.0-alpha33 2018-12-19 18:43:43 +05:30
Shahidh K Muhammed
87edce1b12 update manifests to v1.0.0-alpha32 2018-12-18 15:51:56 +05:30
Shahidh K Muhammed
71d48682f1 update manifests to v1.0.0-alpha31 2018-11-28 16:01:40 +05:30
Shahidh K Muhammed
6cdffa8269 update manifests to v1.0.0-alpha30 2018-11-23 19:09:02 +05:30
Shahidh K Muhammed
45be696e45 fix tag script to handle multiple directories (#1100) 2018-11-23 18:59:22 +05:30
Vamshi Surabhi
571c00831a update manifests to v1.0.0-alpha29 2018-11-16 18:21:51 +05:30
Shahidh K Muhammed
546c8a3786 update manifests to v1.0.0-alpha28 2018-11-02 20:45:54 +05:30
Shahidh K Muhammed
fbcae53efa
build cli-migrations image on tagged deploys (close #534) (#953) 2018-11-02 19:38:25 +05:30
edawine
963d86464f update brand assets and the generator script (fix #670) (#712) 2018-10-13 14:01:31 +05:30
Shahidh K Muhammed
4e2ab8ad79
add brand assets (#543) 2018-09-27 16:44:50 +05:30
Shahidh K Muhammed
5929ec5be3
add installation manifests (#432) 2018-09-13 15:03:13 +05:30
Shahidh K Muhammed
183cbb169b only deploy dev|release branches (#76)
* remove special characters from version string
2018-07-10 11:52:13 +00:00
Shahidh K Muhammed
98c827449b
build: integrate circleci
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Shahidh K Muhammed
6170d6b094 cli: add circleci config for cli (#26) 2018-06-29 13:09:21 +00:00