Commit Graph

436 Commits

Author SHA1 Message Date
Jaroslav Lobačevski
bf98cb992f
ci: Update ok-to-test.yml to run only on pull request comments (#16566)
The expression was treated as a string and always evaluated as true.
2022-09-06 22:05:21 +05:30
Ashok Kumar M
0fc7f4c7f6
fix: removing "Exit if Server hasn't started" coz its not needed. (#16589) 2022-09-06 19:03:32 +05:30
Ashok Kumar M
d4eee444f2
fix: Updating the server and client artifacts path. (#16585) 2022-09-06 17:14:13 +05:30
Ashok Kumar M
3594b81a9b
fix: fixing perf test workflow during merge. (#16574) 2022-09-06 15:02:34 +05:30
Ashok Kumar M
cefd0b6469
fix: adding perf test runs to workflows post merge to release. (#16559) 2022-09-06 13:09:14 +05:30
Ashok Kumar M
4c90f3ecd4
fix: adding git token for perf infra. (#16546)
* fix: adding git token for perf infra.

* changing name PERF_GITHUB_PAT
2022-09-05 18:27:13 +05:30
Ashok Kumar M
d0491f7a75
chore: replacing supabase secrets with performance db secrets. (#16423)
task: replacing supabase secrets with performance db secrets.
2022-09-01 15:02:46 +05:30
Arpit Mohan
3e00356e71 Increasing the memory for self-hosted runners for server build in CI 2022-08-27 16:45:47 +05:30
Arpit Mohan
0420161861
ci: Moving server builds to Buildjet to confirm if it's faster and more reliable (#16346)
Moving server builds to Buildjet to confirm if it's faster and more reliable

Also, cleaning up some CI workflows to remove references to release-frozen branch.
2022-08-27 16:15:59 +05:30
Arpit Mohan
037efacbf3
fix: Display community edition along with version (#16341)
## Description

This PR adds the string `Community` along with the Appsmith version. This will help users identify the type of instance that they are running.

## Type of change

- New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Manually

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
2022-08-27 15:10:03 +05:30
Tanvi Bhakta
17fd4f1512
fix: a typo (conatiner -> container) (#16200) 2022-08-23 10:44:54 +05:30
arslanhaiderbuttar
62b97c8203
fix: changed the download paths for s3 in CI workflows (#16194) 2022-08-22 22:50:31 +05:30
Arpit Mohan
943cfa9cd3
ci: Removing unused CI workflow files (#16142) 2022-08-19 05:28:39 +02:00
arslanhaiderbuttar
e9bc7063b6
Fix TED run command updated (#16089) 2022-08-18 10:09:12 +05:30
Satish Gandham
92a00e590e
ci: Remove directory listing command from perf tests (#16117)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

* Update the token

* - Remove directory listing command

* Move perf checkout command to the back

* resolve conflicts

* Add directory listing code

* Fix an issue with directory listing

* - Remove directory listing code

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-18 09:31:54 +05:30
Satish Gandham
5c7d2d0568
ci: Change directory listing code (#16109)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

* Update the token

* - Remove directory listing command

* Move perf checkout command to the back

* resolve conflicts

* Add directory listing code

* Fix an issue with directory listing

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-17 17:42:32 +05:30
Satish Gandham
47e5040c86
ci: Move performance-infra checkout to the back in ci script (#16107)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

* Update the token

* - Remove directory listing command

* Move perf checkout command to the back

* resolve conflicts

* Add directory listing code

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-17 16:27:38 +05:30
Satish Gandham
d232823edb
ci: Remove directory listing command from perf tests (#16084)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

* Update the token

* - Remove directory listing command

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-17 12:30:48 +05:30
Satish Gandham
50014eef78
ci: Update the access token in ci script (#16058)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

* Update the token

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-16 16:44:44 +05:30
Satish Gandham
3990162ca6
ci: Update the access token in ci script. (#16032)
* Clean up the perf folder and update integration commnds to use the new repo

* Use a different token for github auth

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-16 14:33:55 +05:30
Satish Gandham
a76fd48ddc
chore: Update integration script to use performance testing code from private repo (#15991)
Clean up the perf folder and update integration commnds to use the new repo

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-08-16 11:54:13 +05:30
arslanhaiderbuttar
058d90cea0
test: Update workflows for upgrade scenarios (#15841)
Update workflows for upgrade scenarios
2022-08-15 14:08:30 +00:00
Arpit Mohan
ec29bbfac4
ci: Running the "Test plan approved" check only on pull requests to release branch (#15850) 2022-08-08 22:24:00 +05:30
Satish Gandham
e2db190ed2
ci: Stabilise the host before running perf tests (#15130)
* Run perf tests only on buildjet machine

* - Set chrome process priority to maximum to stabilise the run data

* Update index.js

* Update perf.js

* Update index.js

* - Move around args

* - Add --no-sandbox option to initial setup

* -We don't need sudo on the main script, we can use sudo in node scripts to set process priority

* - Some tweaks to the perf scripts.

* - Remove no-sandbox option in puppeteer launch

* - Remove sudo at unnecessary places

* - Add code to force grabage collection in chrome

* Update logins and some cleanup

* Remove unsed import

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-07-11 21:22:25 +05:30
albinAppsmith
28b2561d32
ci: Design system label name fix (#14996)
Design system label name fix
2022-07-07 22:00:06 +05:30
albinAppsmith
8c1a4af4b9
ci: Added workflow for adding reviewers to PR if ads folder changed (#14880)
Added workflow for adding reviwers to PR if ads folder chnaged
2022-07-01 01:48:16 +05:30
yatinappsmith
703b0efda6
Add matrix for fat container tests (#14850) 2022-06-30 11:32:40 +05:30
Arpit Mohan
1d76fe3ceb
ci: Revert "ci: Use buildjet runners for Cypress tests, and fewer of them"
Reverts #14636

Reverting this change for now because there is an issue when re-running the failed specs. The action is unable to find the correct directory.
2022-06-22 09:57:40 +05:30
Hetu Nandu
09bd4e35bd
ci: Update Test plan checker (#14633) 2022-06-20 15:10:36 +05:30
Shrikant Sharat Kandula
054b6942b8
Use buildjet runners for Cypress tests, and fewer of them (#14636) 2022-06-20 11:52:17 +05:30
Satish Gandham
4f62ad799b
Remove sudo from perf tests command (#14649)
We don't need sudo on the main script, we can use sudo in node scripts to set process priority
2022-06-17 18:10:04 +05:30
Arpit Mohan
abffbaae1e
Adding the configuration parameter to ensure that the target branch is master for all releases are created (#14615) 2022-06-17 11:31:08 +05:30
Satish Gandham
88a2fc228e
Run UI performance tests as root (#14536)
We want to run chrome at higher priority on OS level, to set the process priority we need to run the script as root.
2022-06-14 19:10:10 +05:30
Satish Gandham
5e3475bcce
Merge pull request #14303 from appsmithorg/chore/dont-run-perf-tests-on-ubuntu
chore: Run perf tests only on buildjet machine
2022-06-09 10:12:46 +05:30
Arpit Mohan
71d8cae360
chore: Deleting the sync community workflow from this repo as it is not required 2022-06-02 10:04:10 +05:30
Arpit Mohan
48738091e5
chore: Removing jest test coverage because of node version mismatch (#14230) 2022-06-01 17:43:03 +05:30
Arsalan Yaldram
8d55d6f51d
chore: update node version to 16.14.0 (#14127) 2022-05-26 23:39:59 +05:30
Arsalan Yaldram
b28eb3fed8
chore: Update node version to 16.15.0 LTS (#14094) 2022-05-26 16:05:02 +05:30
Hetu Nandu
18fab2368c
Don't check for "Test Plan Approved" Label for performance PR (#13781) 2022-05-12 14:28:46 +05:30
Hetu Nandu
97c5aeeb11
Check for "Test Plan Approved" Label in PRs (#13718) 2022-05-11 15:44:34 +05:30
yatinappsmith
86260f27e4
test: Fix fat container rerun (#13260)
* rerunning all tests in fat container
2022-05-09 12:32:34 +05:30
Shrikant Sharat Kandula
2d07561e6c
Fix chart version variable in helm workflow 2022-05-06 13:48:31 +05:30
Shrikant Sharat Kandula
8dd8e18704
Fix getting chart version in Helm workflow 2022-05-06 12:35:51 +05:30
Shrikant Sharat Kandula
f6c753b5e0
Add github action workflow to release new helm version (#13279) 2022-05-06 11:39:17 +05:30
Hetu Nandu
892c76257e
Fix integration test action (#13409) 2022-04-28 14:26:03 +05:30
yatinappsmith
234fd33229
Changed custom actions cache version to 3.0.2 (#13388)
We use github actions cache to store jobstate for the previous runs. The default cache is invalidated incase the job fails. To support rerunning only failed tests, we use custom cache martijnhols/actions-cache@v3. Recently new changes into custome cache broke our workflow https://github.com/MartijnHols/actions-cache.

Co-authored-by: Yatin <yatin.chaubal@gmail.com>
2022-04-28 10:23:40 +05:30
Hetu Nandu
7be912e857
ci: Add debugging for ui test result step (#13016) 2022-04-22 13:03:57 +05:30
Ankita Kinger
29bafc4592
updated OAuth env variables in cypress workflows (#13157) 2022-04-20 22:04:54 +05:30
Ankita Kinger
5b92e36e37
Add OAuth env variables to Cypress test runs in workflows (#13138) 2022-04-20 18:02:57 +05:30
Arpit Mohan
610799f7a7
chore: Migrating Github release workflow to use Buildjet for client build (#12847) 2022-04-12 15:46:27 +05:30
Satish Gandham
e59cd586e5
chore: Use the correct setup script (#12733)
Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-04-08 22:40:15 +05:30
Satish Gandham
97256f7ef6
chore: Run UI perf tests on two different machines (#12694)
Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-04-08 15:49:17 +05:30
yatinappsmith
20547edb47
test: Add license key with docker run (#12685)
* Added license key to docker run
2022-04-07 23:53:18 +00:00
yatinappsmith
a9f82597b0
test: commented license addition and removed fat-container-test as a prequisite for package on master (#12680) 2022-04-07 17:37:55 +05:30
yatinappsmith
4f3c123acf
commented load docker license (#12573) 2022-04-05 05:25:56 +00:00
yatinappsmith
0f1273aa57
change load docker condition (#12548) 2022-04-04 16:37:58 +05:30
yatinappsmith
31df89fb22
Update test-build-docker-image.yml (#12451) 2022-03-31 19:48:24 +05:30
yatinappsmith
cf318fc542
test: Test make fat tests blocking change (#12429)
* changed pr workflow for fat container

* Added fat conteiner change for Push workflow
2022-03-31 16:18:04 +05:30
Hetu Nandu
64ef6bb0c1
fix: Use the Appsmith repo for custom github actions (#12366) 2022-03-31 11:46:58 +05:30
Arpit Mohan
6dcc00a9f4
ci: Moving the runs-on parameter in some Github workflows to use Buildjet (#12399) 2022-03-30 20:39:34 +05:30
Hetu Nandu
42bdb6c2ab
ci: Copy the labels from a connected issue to the PR (#12219) 2022-03-28 11:47:37 +05:30
Arpit Mohan
f34dcbf9bd
chore: Fixing minor typo in the test-build-docker.yml Github workflow (#12217) 2022-03-24 11:24:14 +01:00
Abhinav Jha
91ead4f864
fix: Use existing yarn.lock as-is in CI (#11497)
* Update github workflows to use the lockfile in the codebase and not update it

* Fix jobs array formatting
2022-03-21 11:43:42 +05:30
yatinappsmith
bc5e0cb707
test: changed for rerun (#11991)
* changed for rerun

* fixed checkout
2022-03-21 09:41:11 +05:30
yatinappsmith
a805a8f6c9
fixed build artifacts download (#11988) 2022-03-20 19:54:59 +05:30
yatinappsmith
00cd587cef
Added if for fat container (#11971) 2022-03-20 12:14:42 +05:30
yatinappsmith
7dad28f8d1
test: Test fix build rts dependency (#11951)
* Added chmod dockerenv to push workflow

* Added chmod docker.env to pr workflow
2022-03-18 11:17:03 +05:30
yatinappsmith
00570de1bc
Revert "test: Test add support for fat container in ci (#11836)" (#11942)
This reverts commit f1fcf93322.
2022-03-17 17:23:42 +05:30
yatinappsmith
f1fcf93322
test: Test add support for fat container in ci (#11836)
* Added support for fat container in Push workflow

* Added support for fat container in pull request

* Added license support

* Add support for license
2022-03-17 15:40:25 +05:30
yatinappsmith
ef6be16f74
test: Cypress env for fat container (#11792)
* added cypress_fat.json as config

* Create cypress_fat.json
2022-03-14 10:00:13 +05:30
Shrikant Sharat Kandula
0024d3e102
Remove docker pushing in server workflow 2022-03-11 13:25:24 +05:30
yatinappsmith
2e4614e45c
test: added github token to re-run (#11771)
Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com>
2022-03-10 18:28:56 +05:30
Shrikant Sharat Kandula
1f66a6b870
chore: Remove Google Analytics (#11765) 2022-03-10 17:09:22 +05:30
yatinappsmith
8c816dc6c5
test: Test support fat container in ci (#11725)
* Added fat container tests

* add support for fat container
2022-03-10 14:48:58 +05:30
yatinappsmith
9fd635145c
test: Add Github token to test build docker (#11729) 2022-03-09 20:30:15 +05:30
yatinappsmith
b677affdee
test: Test fix grep spec case insesitive (#11523)
* added grep -i spec


Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com>
2022-03-03 07:44:00 +05:30
Satish Gandham
0eac594c41
Move supabase key to the right step in CI (#11226) 2022-02-17 14:34:42 +05:30
Satish Gandham
4bff451735
chore: persist performance test results (#11208)
* Persist performance run data to supabase

* Remove stray comment

Co-authored-by: Satish Gandham <satish@appsmith.com>
2022-02-16 19:55:33 +05:30
yatinappsmith
4d6e389631
test: replace full path with github workspace (#11047) 2022-02-09 18:00:56 +05:30
yatinappsmith
145c871088
test: Reuse performance actions (#10913) 2022-02-07 10:51:21 +05:30
yatinappsmith
324b077ffa
test: Fix reusing the result of Github actions in case the previous run fails (#10888) 2022-02-04 16:27:14 +05:30
yatinappsmith
fb6a97e654
test: Support reuse of github actions (#10874)
* Modified workflow for push and pr

* Changed matrix array to single line

* changed matrix array to single line
2022-02-04 14:10:03 +05:30
yatinappsmith
a074701347
chore: Test reuse actions (#10861) 2022-02-03 15:41:35 +05:30
Abhijeet
ec2ee35571
chore: Add env variable for git filesystem in CI (#10249) 2022-01-07 18:03:39 +05:30
Aishwarya-U-R
0de97cde81
chore: Updates for TS file inclusions (#10188) 2022-01-06 01:25:50 +05:30
Nikhil Nandagopal
4163cbf92a
chore: Remove Project Labeler (#10135) 2022-01-03 22:57:45 +05:30
Satish Gandham
eb487fb8ae
chore - Fix typo in integration-tests-command workflow (#10034)
Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-12-28 18:26:44 +05:30
Satish Gandham
c5abd3dd6f
feat: UI Performance Infra setup v1 (#9835)
Co-authored-by: Satish Gandham <satish@appsmith.com>
2021-12-28 16:09:15 +05:30
Parthvi12
b82ea06aa3
test: Adding visual tests for layout validation (#9857)
* Adding visual tests for layout validation

* updating screenshot to match CI's screenshot resolution

* updating screenshot as per CI

* setting failure threshold for the image comparision

Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local>
2021-12-24 17:47:22 +05:30
Rishabh Saxena
89d3acdb89
Add env vars for cypress tests related to gitsync tests (#9974) 2021-12-24 11:09:55 +05:30
Shrikant Sharat Kandula
99d813971d Disable fat image testing to push all archs
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 16:04:54 +05:30
Shrikant Sharat Kandula
34ab4f8659 Revert buildx Docker image testing to unblock
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 14:51:53 +05:30
Shrikant Sharat Kandula
e06b6d7517 Fix fat image building fails pushing slim images
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 13:34:24 +05:30
Shrikant Sharat Kandula
c58e60ee2c Fix pushing arm Docker fat images
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 12:30:55 +05:30
Shrikant Sharat Kandula
9202c0bf67 Fix Docker buildx images
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 10:27:56 +05:30
Shrikant Sharat Kandula
2fac770530 Don't pull image before testing the image
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-17 08:34:59 +05:30
Shrikant Sharat Kandula
334e1dce1d
ci: Run a small test on fat image before pushing to DockerHub (#8619) 2021-12-12 14:34:17 +05:30
yatinappsmith
ec803c8a8e
test: Change number of jobs to 24 (#9275)
* Update test-build-docker-image.yml

change jobs to 24

* Update integration-tests-command.yml
2021-11-22 18:28:49 +05:30
Arpit Mohan
79290e5fb1
ci: Upload server logs if Cypress tests fail (#9247) 2021-11-19 09:41:00 +05:30
Shrikant Sharat Kandula
4e1e531a24 Fix sha in comment with workflow run link
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-11-12 06:51:32 +05:30