Commit Graph

280 Commits

Author SHA1 Message Date
yatinappsmith
5edd9d0fdb
Wait for server to start before Cypress tests (#5846) 2021-07-14 16:40:48 +05:30
yatinappsmith
63ffd2fca4
Adding support for cypress tests for server changes (#5598)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2021-07-12 15:03:24 +05:30
Anagh Hegde
5ee4ed3308
1. Added the Cloud Service release end point to env variable (#5717) 2021-07-08 18:09:46 +05:30
Hetu Nandu
0c0e165ee0
Improve Codemirror mount performance (#5497) 2021-07-08 12:34:47 +05:30
Anagh Hegde
0154017836
Refactor Get mock-data set API (#5620)
* Call cloud services to fetch mock datasets

* Call cloud services to fetch mock datasets

* Change the MockData Config,

* Remove unused import statements and fix small indentation issues

* 1. Moved the mock data creation and fetching to a separate class
2. Added plugin type to mockdata class
3. Used pluginName to identify the db type
4. Removed the block call mock data creating method
5. Added unit tests for the mockdata

* 1. Removed unused field from contract and
2. Updated the url to cloud service

* 1. renamed the field of mockdata contract
2. Updated the test cases

* using new mock datasources apis

* 1. Added the Cloud Service release end point to env variable

Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-07-08 11:29:11 +05:30
Nidhi
3894dbcacf
Run tests for all approved PRs (#5275) 2021-06-21 12:20:57 +05:30
Nidhi
3201ceca20
Release frozen related changes (#5023)
* Release frozen related changes

* Switched image used to PR head instead of target

* Update .github/workflows/client-test.yml

Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>

* PRs into release should use release server code
2021-06-10 14:57:59 +05:30
Shrikant Sharat Kandula
cfdf9c7223 Disable ui-test checking for master branch 2021-06-09 16:57:43 +05:30
Rishabh Saxena
d9758f7755
Onboarding form (#4910) 2021-06-04 13:18:17 +05:30
Nidhi
43d24c1312
Added output for matrix run result (#4675) 2021-05-26 14:03:44 +05:30
Nidhi
ea451ef061
Add default configs for prod and tests (#4464)
* Added default cs config for prod and tests

* Env variable for new installations

* K8s defaults
2021-05-13 13:30:23 +05:30
Nidhi
39ca940dfc
Added space in if condition (#4459) 2021-05-12 19:06:39 +05:30
Nidhi
53c2d815f6
Fixes refresh token flow (#4450)
* Fixes refresh token flow

* Review comments

* Reverting mistake with CI cs url
2021-05-12 17:07:59 +05:30
Nidhi
b514759ad2
Added example value for cs domain on client (#4443) 2021-05-12 14:48:13 +05:30
Nidhi
f4fd217102
Refer to previous job for result (#4434)
* Always run ui test result

* Refer to previous job for status

* Revert CI cloud url
2021-05-11 22:21:42 +05:30
Nidhi
1e57260471
Always run ui test result (#4432) 2021-05-11 21:25:00 +05:30
Nidhi
756bdcc573 Resetting cypress in CI 2021-05-05 11:43:47 +05:30
Nidhi
bba2591aba
No tests (#4284) 2021-05-04 15:49:47 +05:30
Shrikant Sharat Kandula
c480be45bf Enable pushing RTS images to DockerHub 2021-04-30 16:59:15 +05:30
Shrikant Sharat Kandula
dcf425af7e
Fix RTS build and push workflow (#4246)
* Update build.sh

* Fix invalid build-arg argument to docker build
2021-04-30 16:37:33 +05:30
Shrikant Sharat Kandula
e22eb7a404 Add RTS build workflow 2021-04-30 15:43:46 +05:30
Hetu Nandu
74a292ffda
Add better code coverage comments (#4140) 2021-04-26 16:21:52 +05:30
Shrikant Sharat Kandula
14ceab809a
Set explicit Java version for CI (#4091)
* Set explicit Java version for CI

* Trigger

Co-authored-by: Nidhi <nidhi.nair93@gmail.com>
2021-04-21 19:15:02 +05:30
Hetu Nandu
d1a13a28bc
Remove coverage drop failure checks (#4048) 2021-04-19 14:51:04 +05:30
Nidhi
c387645fe8
Relying on previous job for status (#3985) 2021-04-13 15:51:25 +05:30
Rishabh Saxena
31290b500b
Add REACT_APP_GOOGLE_ANALYTICS_ID as build time env var (#3903) 2021-04-12 14:36:40 +05:30
Nidhi
5a49feda07
Always run update status steps (#3941) 2021-04-09 12:14:30 +05:30
Nidhi
1b91f0ec96
Switched resultant job for ui matrices (#3909)
* Switched resultant job for ui matrices

* Marking run details page

* Always run update status steps
2021-04-09 10:03:53 +05:30
Nidhi
a63ea5102c
Marking all other jobs as complete (#3789) 2021-03-30 21:59:36 +05:30
Nidhi
fe47d3e8ce
Marking all other jobs as complete (#3788) 2021-03-30 21:36:39 +05:30
Nidhi
014b847624
Name for created check run (#3783) 2021-03-30 20:28:33 +05:30
Nidhi
c74fcf0fc3
Name for created check run (#3782) 2021-03-30 20:05:17 +05:30
Nidhi
482cd943bf
Name for created check run (#3781) 2021-03-30 19:43:11 +05:30
Nidhi
ef8b2f5287
Creating a check merge every time there is a test (#3780) 2021-03-30 19:29:18 +05:30
Nidhi
99a65f19b1
Editing logs for check run (#3775) 2021-03-30 18:44:46 +05:30
Nidhi
118480be6d
Logging workflow changes (#3769) 2021-03-30 16:26:30 +05:30
Nidhi
fccf43d7f0
Enable ok to test for contributors (#3737) 2021-03-30 15:04:08 +05:30
Arpit Mohan
60400da94a
Fixing signed URL request for AWS S3 in Rest API plugin (#3734)
* added empty byte array for request body to fix aws signed url signature match problem as detailed here - https://github.com/aws/aws-sdk-java/issues/2205

Co-authored-by: Bernard Worthy <>
2021-03-29 12:58:57 +05:30
Arpit Mohan
a0182818f1 Adding the path limitations to run the client test only when client code changes 2021-03-25 13:10:47 +05:30
Hetu Nandu
e975104866
Run cypress tests on push to release and master (#3697)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2021-03-25 13:08:45 +05:30
Hetu Nandu
9a4c317f20
Store value improvements (#3663) 2021-03-24 10:39:47 +05:30
Nidhi
992da806bf
Added dummy instances to UI matrix (#3683) 2021-03-24 08:18:19 +05:30
Hetu Nandu
2dd1791810
Refactor and add unit tests to API interceptors (#3647) 2021-03-22 14:52:24 +05:30
hetunandu
6b5c46e117 Only do jest coverage when it is a pull request 2021-03-21 11:34:08 +05:30
Nidhi
4b3e0e8056
One time run for artifacts (#3653)
* Switched to 20 minutes since job was timing out

* One time sweep for all tags
2021-03-20 22:29:34 +05:30
Nidhi
57bec09b79
Switched to 20 minutes since job was timing out (#3652) 2021-03-20 20:27:15 +05:30
Hetu Nandu
f1cb2a35b7
Add jest coverage diff reporting action (#3651) 2021-03-20 19:28:10 +05:30
Nidhi
b760582d14
Workflow to delete artifacts older than a day (#3646)
* delete after 2 weeks

* Added cron for nightly deletion

* Skipping tagged artifacts

* Reset
2021-03-20 15:09:07 +05:30
Hetu Nandu
52c7f5331a
Trigger client integration only on approved PRs (#3632)
Co-authored-by: Nidhi <nidhi@appsmith.com>
Co-authored-by: Nidhi <nidhi.nair93@gmail.com>
2021-03-19 14:21:14 +05:30
Nidhi
5f419e76dd
Pushing tagged release separately in workflow (#3510)
* Fixed
2021-03-12 11:31:22 +05:30
Arpit Mohan
f11cd45886
Correcting the github condition to start the API server (#3506) 2021-03-12 11:06:54 +05:30
Arpit Mohan
4c12e643f2
Moving from pull_request_target back to pull_request for now (#3493) 2021-03-11 18:12:17 +05:30
Hetu Nandu
ffeb297a1a
Fix dynamic path duplicate issue (#3223) 2021-02-25 20:42:29 +05:30
hetunandu
b504dd7567 Update client.yml file to pick nested spec files by cypress 2021-02-19 16:01:08 +05:30
Arpit Mohan
075e4c77f3 Correcting the docker push command in client.yml build 2021-02-12 01:10:52 +05:30
Shrikant Sharat Kandula
215f1ed841
Push explicitly specified tags to Docker (#2988)
* Push explicitly specified tags to Docker

* Remove now stale comments
2021-02-11 17:07:19 +05:30
Shrikant Sharat Kandula
5c3cd76e90 Update node version in Release workflow 2021-02-10 15:08:11 +05:30
hetunandu
f109c9bb9c Update one more node js version in the client workflow 2021-02-09 17:56:31 +05:30
hetunandu
b83bdd9b30 update workflow node version 2021-02-09 17:52:34 +05:30
Shrikant Sharat Kandula
17d61fda0d
Include time information in release time (#2850) 2021-02-04 09:15:56 +05:30
Shrikant Sharat Kandula
b1564c9452
Add Sentry token to enable Sentry integration (#2674) 2021-01-22 15:10:42 +05:30
Shrikant Sharat Kandula
af73090edc
Fix application version on self-hosted instances (#2650) 2021-01-20 20:52:59 +05:30
Shrikant Sharat Kandula
816df69675
Fix docker image not being pushed on workflow_dispatch (#2630) 2021-01-19 18:47:33 +05:30
Shrikant Sharat Kandula
3d20b03760
Fix manual triggering of client workflow (#2625) 2021-01-19 17:46:55 +05:30
Shrikant Sharat Kandula
999caf0ccf
Fix manual triggering of client workflow (#2624) 2021-01-19 15:53:37 +05:30
Shrikant Sharat Kandula
6750ca1981
Fix incorrect version showing up in client (#2623) 2021-01-19 15:46:42 +05:30
Shrikant Sharat Kandula
c018f76982
Add manual triggering for sync workflow (#2614) 2021-01-18 19:22:21 +05:30
Shrikant Sharat Kandula
41a32f6a79
Fix tags missing for new version calculation in workflow (#2612) 2021-01-18 17:57:16 +05:30
Shrikant Sharat Kandula
f760d5acf5
Fix snapshot release number on server workflow (#2610)
* Fix snapshot release number on server workflow

* Fix snapshot version in client
2021-01-18 17:22:07 +05:30
Arpit Mohan
7d06fa801a Adding the cloud services env variable during the test run 2021-01-13 12:07:40 +05:30
Shrikant Sharat Kandula
c6c128270c
Include version information when building Docker images for server and client (#2200)
* Include version information in backend builds

* Enable manual trigger of server workflow

* Add a dummy input field for manual trigger

* Fix secret checking in github actions

* Disable cron scheduling of sync job

* Build docker image on pushing a version tag

* Fix duplicated id and invalid id in release workflow

* Don't try to login to Docker

* Avoid download progress outputs from Maven

* Add version information for building client

* Calculate version number only once

* Enable push to DockerHub after building images

* Use Docker username from GitHub secrets

* Fix Docker username in tags when building image

* Use different secret for org name

* Minor refactoring in server workflow

* Update client build workflow to use version

* Enable manual triggering of client workflow

* Set snapshot version for server builds

* Push to docker for all branches (temp)

* Undo temp change to push all branches to DockerHub

* Use Docker org from secrets in client.yml

* Fix missing version reference in client.yml

* Remove debug command in dockerfile

* Save release notes in a resource file in Docker image

* Fix query serialization to get release notes

* Get releases of current repo instead of hard-coded repo

* Fix variable quoting for repo variables

* Exclude draft and prerelease nodes from image

* Fix call to any in release notes processor

* Fix syntax error in release notes script

* Implement API to get new release count and info

* Add missing ReleaseNotes component

* Have the release workflow run after a release is created

* Build server after generating release notes

* Change release trigger to "released"

* Change release trigger to "published"

* Change release trigger to released, edited and deleted

* Use JS script to get release notes, take 1

* Filter drafts and prereleases in script

* Fix syntax error in ES6

* Write release notes to file

* Create parent directory before writing release notes

* Log cwd in release notes script

* Log pwd along with release-notes content

* Handle case where working directory is incorrect

* Remove shell based release notes generator

* Don't show error when Sentry config is missing

* Check for sentry auth token to enable Sentry

* Carry build's exit code over to CI

* Mark out build result and add a note about it

* Add a small test to verify new versions computation

* Remove incorrect test assertion

* Remove generation of release notes file

* Connect to cloud services to fetch release notes data

* Fix missing runner for test class

* Handle missing cloud_services base URL

* Fix test failures due to missing mocks

* Enable sync-ee cron job

* Revert build.sh as there's no real change

* Add API to update release notes viewed version for users

* Fix prettier line-length errors

* Create UserData model for info unrelated to auth

* Fix field name calls

* Ensure we have a userId before setting userData

* Add tests for setting version number in UserData

* Include instanceId when fetching release notes
2021-01-12 18:15:15 +05:30
Nikhil Nandagopal
74c4971a7c
Update and rename label-commands.yml to main.yml 2021-01-04 14:05:09 +05:30
Nikhil Nandagopal
40026cf441
Update label-commands.yml 2020-12-29 16:55:24 +05:30
Nikhil Nandagopal
c9c1f4d9c8
Update label-commands.yml 2020-12-29 16:46:05 +05:30
Nikhil Nandagopal
d77ad4bead
Update label-commands.yml 2020-12-29 16:41:54 +05:30
Nikhil Nandagopal
0a23fb9643
Delete main.yml 2020-12-29 15:55:19 +05:30
Nikhil Nandagopal
b0d1350d50
Update main.yml 2020-12-29 15:52:53 +05:30
Nikhil Nandagopal
338eb5c692
Update label-commands.yml 2020-12-29 15:47:51 +05:30
Nikhil Nandagopal
57ec3d62b5
Create label-commands.yml 2020-12-29 15:34:09 +05:30
Nikhil Nandagopal
e1230604d6
Update main.yml 2020-12-29 14:53:26 +05:30
Nikhil Nandagopal
a149295ef5
Update main.yml 2020-12-29 14:29:07 +05:30
Nikhil Nandagopal
0930be6051
Update main.yml 2020-12-29 14:20:31 +05:30
Nikhil Nandagopal
9de7dd6804
Update main.yml 2020-12-29 14:17:36 +05:30
Nikhil Nandagopal
e56e7db9c7
Update main.yml 2020-12-29 13:59:03 +05:30
Nikhil Nandagopal
49c1724e95
Update main.yml 2020-12-29 13:57:37 +05:30
Nikhil Nandagopal
ee1cce900b
Update main.yml 2020-12-29 13:56:35 +05:30
Nikhil Nandagopal
fd1ae6b725
Update main.yml 2020-12-29 13:51:56 +05:30
Nikhil Nandagopal
f0f1577d15
Update main.yml 2020-12-29 13:11:08 +05:30
Nikhil Nandagopal
4929608e7d
Update main.yml 2020-12-29 13:08:34 +05:30
Nikhil Nandagopal
f9f6bcdad5
Rename super-labeler.yml to main.yml 2020-12-29 13:07:48 +05:30
Nikhil Nandagopal
f0d4a234ce
Create super-labeler.yml 2020-12-29 12:59:40 +05:30
Nikhil Nandagopal
15af387967
Update project-labeler.yml 2020-12-29 12:30:57 +05:30
Nikhil Nandagopal
651b5c4028
Update project-labeler.yml 2020-12-29 12:25:01 +05:30
Nikhil Nandagopal
04fbf3c8a6
Update project-labeler.yml 2020-12-29 12:22:01 +05:30
Nikhil Nandagopal
de5c1124e0
Update project-labeler.yml 2020-12-29 12:13:49 +05:30
Nikhil Nandagopal
9bbf8db17e
Create project-labeler.yml 2020-12-29 11:53:33 +05:30
Arpit Mohan
7ae4959c29 Correcting the if clause for environment variable 2020-12-12 22:03:03 +05:30
Arpit Mohan
372774e728 Checking if the new run command works in Github Action 2020-12-12 20:48:21 +05:30
Arpit Mohan
75b3f18a92 Correcting github actions yaml.
Really need a validator for this
2020-12-11 17:41:39 +05:30
Arpit Mohan
7fbd14228d Correcting the node_modules cache for Cypress tests 2020-12-11 17:39:10 +05:30