Commit Graph

86 Commits

Author SHA1 Message Date
yatinappsmith
39df47112d
ci: Fix fat rerun (#17277) 2022-10-03 18:47:42 +05:30
yatinappsmith
5d4287e666
ci: Fix ci download dup (#17254) 2022-10-03 09:52:07 +05:30
yatinappsmith
37713ddfae
ci: Add retry for fat container (#16973) 2022-10-03 09:28:17 +05:30
Aman Agarwal
7ecb5e1c19
fix: workflow for shared modules testing (#16778)
* fix: workflow for shared modules testing
2022-09-30 18:36:25 +05:30
Arpit Mohan
773728354a
ci: Remove the permissions from fat-container-test during ok-to-test workflow 2022-09-28 14:45:55 +05:30
yatinappsmith
22e3cab4d8
ci: Fix ui-test cache (#16806)
## Description

 Fix ui-test cache

Fixes # (issue)




## Type of change



- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?

Code review

## Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
2022-09-15 21:13:12 +05:30
yatinappsmith
052986f138
ci: Fix ui-test cache (#16781)
## Description

 Fix ui-test cache

Fixes # (issue)




## Type of change



- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?

Code review

## Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
2022-09-15 12:36:38 +05:30
yatinappsmith
d543bbf648
ci: Fix rts dist (#16774)
Update integration-tests-command.yml
2022-09-15 10:28:56 +05:30
yatinappsmith
05d9db6e81
ci: Fix rts dist (#16773) 2022-09-15 09:10:39 +05:30
yatinappsmith
311df42a4e
ci: Fix tar download for rts (#16772)
Update integration-tests-command.yml
2022-09-15 08:12:01 +05:30
Arpit Mohan
7580eb9990
ci: Fixing the RTS build workflow (#16748)
## Description

The problem with the RTS workflow after the induction of AST parsing was that while copying the `node_modules`, Ubuntu doesn't follow the symlink and copy the content. It simply copies the symlink as is. This causes issues for RTS service to start.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

- Personal repository

## 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-09-14 14:24:20 +05:30
Arpit Mohan
eed9339d3a ci: Inheriting secrets to reusable workflows
This does not happen by default when workflows are re-used. Quite a surprising revelation
2022-09-12 20:09:55 +05:30
Arpit Mohan
978e68820e
ci: Fixing the notification & Depot Docker build step (#16671)
Fixing the notification & Depot Docker build step for integration test & test-build-docker workflows
2022-09-09 18:48:16 +05:30
Arpit Mohan
5642274694 ci: Removing depot docker build from fat-container-test in integration-tests.yml 2022-09-09 15:36:33 +05:30
Arpit Mohan
655a5a668d ci: Fixing the condition check for server running in ui-test and perf-test steps 2022-09-09 14:59:32 +05:30
Arpit Mohan
121b1eb8e4
ci: Swap docker for depot (#16658)
Refer to #16020 for details. This PR has been opened since we could not modify the previous PR since it's a contribution by an external contributor.

Co-authored-by: kylegalbraith <kyle.galbraith459@gmail.com>
2022-09-09 01:43:03 +05:30
Arpit Mohan
697bdecaa5
ci: Modularizing the Github actions workflow for maintainability (#16505) 2022-09-09 01:08:55 +05:30
Arpit Mohan
7664f65e43 ci: Fixing the chrome stable version format 2022-09-07 18:50:54 +05:30
Arpit Mohan
52dfdd8eb4 ci: Moving to stable chrome version for Cypress 2022-09-07 17:49:21 +05:30
Arpit Mohan
05c109d220 ci: Fixing the yaml syntax for browser version 2022-09-07 15:47:53 +05:30
Aishwarya-U-R
9499f3188d
test: Running CI on latest Chrome browser (#16613)
## Description

- This PR makes changes to run CI on latest stable Chrome always

## Type of change

- Browser update

## Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
2022-09-07 15:44:14 +05:30
Arpit Mohan
577ac298da Moving the client build & package steps to Buildjet 2022-09-07 14:00:15 +05:30
Aishwarya-U-R
8a7ec8560e
test: Moving from Chrome to Electron browser for CI runs (#16598)
## Description

- This PR makes changes for moving from Chrome to Electron browser for CI runs & fixes the git hub runners failure issue incases of Chrome version updates

## Type of change

- Browser name update

## Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
2022-09-07 10:54:55 +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
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
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
yatinappsmith
703b0efda6
Add matrix for fat container tests (#14850) 2022-06-30 11:32:40 +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
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
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
yatinappsmith
86260f27e4
test: Fix fat container rerun (#13260)
* rerunning all tests in fat container
2022-05-09 12:32:34 +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