Commit Graph

880 Commits

Author SHA1 Message Date
Aishwarya-U-R
dffbf3d97c
ci: Adding Identified Flaky tests app link into Git comments section in a PR (#21966)
## Description

- This PR adds the Flaky list application link into the git comments
section on completion of the run, so the PR owners have easy access to
it.


## Type of change

- Yml file update

## Checklist:

### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-31 16:55:51 +05:30
Saroj
a5aabe7bbc
ci: Upload an empty failed-spec-ci file if all the specs are passed (#21914)
## Description
-  Upload an empty failed-spec-ci file if all the specs are  passed

## Type of change
- YML file changes

## How Has This Been Tested?
- github actions

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-30 20:14:22 +05:30
Saroj
ee3bccdae2
ci: Resetting the failed_spec_ci in case of success in ci-test.yml (#21853)
## Description
- Resetting the failed_spec_ci in case of success in ci-test.yml

## Type of change
- yml file changes

## How Has This Been Tested?
- Workflow run

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-29 13:30:30 +05:30
Aishwarya-U-R
eaede7960e
ci: Starting Arango DB container for running Arango test scripts in CI runs (#21841)
## Description

- This PR includes Arango as separate docker container inside CI that
can be used for running Arango datasource test cases in CI

## Type of change

- Yml file update


## Checklist:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-29 00:01:53 +05:30
Saroj
f3211dd2f5
ci: Added dub points for failed-spec comment (#21810)
## Description
- Added dub points for failed-spec comment

## Type of change
- YML File changes


## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-28 09:51:55 +05:30
Aishwarya-U-R
413d430025
test: Cypress - Segment calls intercepted (#21726)
## Description

- This PR adds the host for segment calls as localhost as opposed to
sending it to Segment itself
- Diverting segment calls to Localhost for Cypress CI runs &
intercepting the response
- Updated to Analytics spec to validate the enableTelemtry false state
- Bug 21191, validation included
- Welcome screen - not toggling off the Usage Details anymore

## Type of change

- Yml file update
- Script updates


## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-24 21:36:48 +05:30
Saroj
608658818f
ci: Added condition to fetch the specs failed in after hook in ci-test.yml (#21713)
## Description
- Added condition to fetch the specs failed in after hook in ci-test.yml

## Type of change
- YML file changes
- 
## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-23 13:11:02 +05:30
Saroj
f17df15953
ci: Fix for combined-failed-spec-ci cache not found issue (#21706)
## Description
- Fix for combined-failed-spec-ci cache not found issue

## Type of change
- YML file changes

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-23 10:51:41 +05:30
Saroj
bc79466a99
ci: Updated the workflow files to use actions/cache@v3 (#21669)
## Description
- Updated the workflow files to use actions/cache@v3 

## Type of change
- yml file changes

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-22 16:17:13 +05:30
Saroj
a872435320
ci: Reverting the use of combined-failed-spec-ci artifact instead of cache (#21663)
## Description
- Reverting the use of combined-failed-spec-ci artifact instead of cache

## Type of change
- yml file changes

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-22 09:44:41 +05:30
Saroj
c4897157dd
ci: Deleting the combined-failed-spec-ci in ci-test-result (#21661)
## Description
- Deleting the combined-failed-spec-ci in ci-test-result

## Type of change
- Yml file changes

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-22 00:23:31 +05:30
Saroj
3d4e0bc99d
ci: Deleting the failed-spec-ci once it is downloaded in ci-test-result to avoid getting specs from older runs (#21646)
## Description
- Deleting the failed-spec-ci once it is downloaded in ci-test-result to
avoid getting specs from older runs

## Type of change
- yml file changes


## How Has This Been Tested?
- Manual


## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-21 21:23:10 +05:30
Sumesh Pradhan
20b46ea48b
ci: storybook build and deploy for appsmith wds (#21433)
- Removed WDS storybook from the client build.sh.
- Added workflow to deploy Vercel previews for release and prod.
- Added workflow to trigger event on commenting `/build-wds-preview` to
a PR.
2023-03-21 10:36:40 +05:30
Saroj
d61fc746ac
ci: Removed the artifact deleting as we need the artifact in case of rerun on cancel (#21609)
## Description
- Removed the artifact deleting as we need the artifact in case of rerun
on cancel

## Type of change
- Workflow yml files

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-21 08:27:11 +05:30
Satish Gandham
b2828dfe93
ci: Add lint check to the build step (#21442)
Add a step to verify lint rules in client build workflow.

---------

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-03-20 22:50:44 +05:30
Saroj
b9952a2bd5
ci: Updated the combined_failed_spec_ci path in ci-test.yml (#21601)
## Description
- Updated the combined_failed_spec_ci path in ci-test.yml

## Type of change
- ci-test.yml

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-20 18:34:17 +05:30
Shrikant Sharat Kandula
ac65571ba8
chore: Remove RTS slim image (#21431)
The RTS slim image isn't used, at all. The `appsmith-ce` and
`appsmith-ee` images run RTS inside of them, and the slim container
setup doesn't support RTS at all.
2023-03-20 16:58:29 +05:30
Saroj
b565f17ead
ci: Removing the old combined failed spec file (#21591)
## Description
- Removing the old combined failed spec file

## Type of change
- workflow files

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-20 16:09:00 +05:30
Aishwarya-U-R
50bc2f6917
test: Cypress - Automated tests for Airtable datasource (#21550)
## Description

- This PR includes tests for Airtable ds - along with connection &
querying & usage of various fields in the query page

## Type of change

- New script (non-breaking change which test functionality of Airtable
data-source)

## How Has This Been Tested?
- Cypress CI runs

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-19 01:12:01 +05:30
Aishwarya-U-R
10015ec45e
ci: Adding AIRTABLE_BEARER to GitSecret (#21553)
## Description

- This PR added AIRTABLE_BEARER as GitHub secret to be used by CI runs

## Type of change

- Adding new token

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-18 00:46:23 +05:30
Aishwarya-U-R
04b794fddd
test: Cypress - Automated basic tests for MsSQL DS (#21446)
## Description

- This PR includes basic tests for connecting to a MsSQL ds & running
simple queries on it

## Type of change

- New script (non-breaking change which functional tests the MsSql ds)


## How Has This Been Tested?

- Cypress local & CI run


## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all Cypress test
2023-03-16 23:58:32 +05:30
Goutham Pratapa
47750db727
ci: add comments for vercel-deploy-preview (#21349)
**/build-deploy-preview env=release**

![Screenshot 2023-03-14 at 9 49 44
AM](https://user-images.githubusercontent.com/15846947/224892349-588b3460-0b8d-4937-9b94-4013d03275a0.png)

---------

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-03-16 17:32:32 +05:30
Saroj
7437b89e1c
ci: Deleting duplicate specs while commenting in the pr (#21465)
## Description
- Deleting duplicate specs while commenting failed specs in the pr

## Type of change
- integration-tests-command.yml

## How Has This Been Tested?
- Manual

## Checklist
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-16 12:59:22 +05:30
Aishwarya-U-R
262630366a
ci: Stop restarting MsSQL container (#21460)
## Description

- This PR removes the restarting of the MsSQL container which is
throwing error sometimes in CI runs - WARNING: Failed to load
/var/opt/mssql/mssql.conf ini file with error open
/var/opt/mssql/mssql.conf: no such file or directory

## Type of change

- yml file update

## Checklist:
###  QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-16 12:00:36 +05:30
Satish Gandham
fcc4e54dd8
ci: Fix /perf-test command (#21457
Add   build-docker-image step to perf-test command
2023-03-16 08:39:37 +05:30
Aishwarya-U-R
6c0b8d053d
revert: Init Load into MSSQL container (#21456)
## Description

- This PR reverts the loading of data into MsSQL container with docker
exec - login timeout issue fixed.

## Type of change

- Yml file update (commenting two lines of code)


## Checklist:
### QA activity:
- [ ] Added Test Plan Approved label after reviewing all changes
2023-03-16 05:16:27 +05:30
Aishwarya-U-R
3ee9619e83
ci: Init loading data into MsSQL container (#21455)
## Description

- This PR init loads the data into MsSQL container after starting it

## Type of change

- Yml file update

## Checklist:
### QA activity:
- [ ] Added Test Plan Approved label after reviewing all changes
2023-03-16 04:29:31 +05:30
Aishwarya-U-R
fc4a09470e
test: Comment init loading into MsSQL container (#21454)
## Description

- This PR reverts the loading of data into MsSQL container with docker
exec, until JDBC driver issue fixed.

## Type of change

- Yml file update (commenting)

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-16 04:06:21 +05:30
Saroj
7f559037af
test: Setup MSSQL docker container for CI runs (#21452)
## Description

- This PR includes MsSQL as separate docker container inside CI that can
be used for running mssql ds test cases in CI


## Type of change

- Yml file update

## How Has This Been Tested?

- CI-Debugging tmate session

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-03-16 02:58:05 +05:30
Aishwarya-U-R
ed6d47f1af
Update ci-test.yml 2023-03-16 01:22:12 +05:30
Saroj
afceba00fe
ci: Picking up the unique records from the specs from the failed specs in ci-test.yml (#21450)
## Description
- Picking up the unique records from the specs from the failed specs in
ci-test.yml

## Type of change
- ci-test.yml

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-16 00:39:19 +05:30
Aishwarya-U-R
fa5d70d273
Update ci-test.yml 2023-03-16 00:28:56 +05:30
Aishwarya-U-R
aaa5264a6d
test: Starting Mssql DB container for running MsSQL test scripts in CI runs (#21444)
## Description

- This PR includes MsSQL as separate docker container inside CI that can
be used for running mssql ds test cases in CI

## Type of change

- Yml file update

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes

---------

Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com>
2023-03-15 23:36:54 +05:30
Saroj
8751d7925d
ci: Modified the logic to get the failed tests in ci-test.yml (#21430)
## Description
- Modified the logic to get the failed tests in ci-test.yml

## Type of change
- CI

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-15 16:30:55 +05:30
Saroj
3614e56d52
ci: Fix for failed spec comment issue (#21399)
## Description
- Added step to delete the failed-spec-ci after combining all results to
address the issue

## Type of change
- ci

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-14 17:49:19 +05:30
Saroj
1f8e7d25ca
ci: Fixing the working directory in perf-test.yml (#21341)
## Description
- Fixing the working directory in perf-test.yml

## Type of change
- perf-test.yml


## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-10 23:49:15 +05:30
Saroj
ccd1050bc1
ci: Updated the path to download the artifact in perf-test.yml (#21339)
## Description
- Updated the path to download the artifact in perf-test.yml

## Type of change
- perf-test.yml


## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-10 20:45:59 +05:30
Saroj
9b59ff469e
ci: Added steps to use the pre built docker image instead of building a new one (#21318)
## Description
- Added steps to use the pre built docker image instead of building a
new one in perf-test.yml

## Type of change
- perf-test.yml

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-10 16:26:20 +05:30
Saroj
4ad92d648a
ci: CI optimisation to reduce ci-test run time and modularise docker image building (#21219)
## Description
- Modularised the docker image building
- Optimised the `install dependancies` step to reduce the time from 8
mins to 30-40 secs now
- Removed unnecessary steps from the ci-dubugging.yml 
- Added ci-debug.sh file to ease the steps to run ngrok while running
ci-debugging
- Changes made to below files
1.  integration-tests-command.yml
2. test-build-docker-image.yml
3. ci-test.yml
4. build-docker-image.yml

## Type of change
- integration-tests-command.yml
- test-build-docker-image.yml
- ci-test.yml
- build-docker-image.yml

## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-10 12:51:32 +05:30
Aishwarya-U-R
b592119746
test: Updating CI to use TED 6001 port for Oauth (#21265)
## Description

- This PR adds mapping for 6001 port from TED to run the OAuth cases in
CI

## Type of change

- Yml file update

## How Has This Been Tested?
- Local run with TED

## Checklist:
### QA activity:
- [ ] Added Test Plan Approved label after reviewing all changes
2023-03-08 18:30:36 +05:30
Goutham Pratapa
891df1dc33
ci: build lite version of deploy preview (#21078)
**Case-1:**

**`/build-deploy-preview skip-tests=true`**

**Client-jest skipped**
![Screenshot 2023-03-01 at 3 40 04
PM](https://user-images.githubusercontent.com/15846947/222109174-74749203-eafa-4694-ac5f-f5713942d07b.png)
**Server Build taking less time**
![Screenshot 2023-03-01 at 3 40 46
PM](https://user-images.githubusercontent.com/15846947/222109336-6771357f-6acf-4e5f-a428-ae73d057bf44.png)

**Case-2:**

**`/build-deploy-preview `**
![Screenshot 2023-03-02 at 11 54 37
AM](https://user-images.githubusercontent.com/15846947/222649676-f78f9f58-d918-4c74-961a-a5405481ab4c.png)


**Case-3**

**`/build-deploy-preview  env=release`**

![Screenshot 2023-03-07 at 8 05 38
PM](https://user-images.githubusercontent.com/15846947/223453763-35a0f5b5-b941-4349-80bc-a024deed5a08.png)

**github-action**
![Screenshot 2023-03-07 at 8 05 58
PM](https://user-images.githubusercontent.com/15846947/223453797-fad9b60e-f363-44b2-a7a0-2a954f1a4dac.png)

**final-dp:**

![Screenshot 2023-03-07 at 8 06 46
PM](https://user-images.githubusercontent.com/15846947/223454037-5725d6e5-18ff-4e9f-bd8d-3b181887ec75.png)
2023-03-08 15:07:30 +05:30
Satish Gandham
6cc326ca52
ci: Disable telemetry in perf tests (#21256)
Disable telemetry in perf tests.
2023-03-08 11:56:31 +05:30
Shrikant Sharat Kandula
84e0ae80c8
ci: Use release Segment Key (#21225)
Effectively reverts changes from
https://github.com/appsmithorg/appsmith/pull/20669, since we depend on
this for usage tracking.
2023-03-07 14:50:14 +05:30
Saroj
ccd87c08eb
ci: Added ci-debugging.yml to enable local debugging (#21137)
## Description
- Added ci-debugging.yml to enable local debugging
- Modularised docker image building with build-docker-image.yml

## Type of change
- ci-debugging.yml
- build-docker-image.yml


## How Has This Been Tested?
- Manual

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-03-07 12:23:33 +05:30
Aishwarya-U-R
e187b77a08
test: Fix to remove previous failing tests from Git Comment history (#21110)
## Description

- This PR updates the ci-test.yml file to empty the failed_spec_ci
folder which still holds the previoulsy (or attempt-1) failures & hence
prints the attempt-1 failures also in the attempt-2 git comment in PRs.

## Type of change
- ci-test.yml file update


## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-03-03 21:07:06 +05:30
Aishwarya-U-R
3f7756df6c
test: Change mapping port for GITEA to 3001 (#21093)
## Description

- This PR changes the mapping port of GITEA TED form 3000 to 3001
because while building client/server locally Appsmith uses
localhost:3000

## Type of change

- Script yml update (non-breaking change which fixes an issue)

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing the changes
2023-03-01 22:19:32 +05:30
Rhitottam
bc6c40a50c
ci: Fix/debug failed post perf tests (#20625) 2023-03-01 15:32:54 +05:30
Shrikant Sharat Kandula
94caa07a38 chore: Remove obsolete AuditLog env variables in CI 2023-02-26 06:20:27 +05:30
Shrikant Sharat Kandula
1cf9790a46
ci: Fix new failure list comment formatting 2023-02-25 09:10:45 +05:30
yatinappsmith
fde3d1e185
ci: Add ci test check command (#20672)
## Description

Add ci test check command

Fixes # (issue)



Media


## Type of change



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

## How Has This Been Tested?

- Manual

### Test Plan


### Issues raised during DP testing



## Checklist:
### Dev activity
- [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
- [X] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

---------

Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-24 16:54:51 +05:30
Aishwarya-U-R
ff28def4c8
Update integration-tests-command.yml 2023-02-24 14:24:28 +05:30
Aishwarya-U-R
df72ee8692
test: Workflow update to remove duplication of github comments for failing specs (#20689)
## Description

- This PR includes yml file update to remove the duplicate entry of
failing specs in github comments during PR oktotest runs

## Type of change

- Script fix

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-02-24 14:07:33 +05:30
Aishwarya-U-R
14c63fc7f3
Update CypressAddKnownfailedtests.yml 2023-02-24 13:32:27 +05:30
Aishwarya-U-R
7ab395979f
Added bug type to include reopened 2023-02-24 13:30:43 +05:30
Aishwarya-U-R
9976ae380d
Updated lable CI impacted 2023-02-24 13:27:32 +05:30
Shrikant Sharat Kandula
a9cdffeb87
ci: Add APPSMITH_ENVFILE_PATH to server workflow (#20848)
This is needed for writing tests using the Env API.
2023-02-24 12:19:54 +05:30
Saroj
bea69fa1d0
ci: updated the PAT to access the appsmithorg/ci-oldstack (#20870) 2023-02-22 16:22:44 +05:30
Saroj
32c04e3639
ci: Updated the pat to access appsmithorg/ci-oldstack (#20866)
## Description
- Updated the pat to access appsmithorg/ci-oldstack

## How Has This Been Tested?
- Cypress

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-22 15:29:51 +05:30
Saroj
200014965a
ci: Specifying the branch name to pull from ci-oldstack in ci-test.yml (#20863)
## Description
- Specifying the branch name to pull from ci-oldstack in ci-test.yml

## Type of change
- ci-test.yml

## How Has This Been Tested?
- Cypress

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-22 14:38:04 +05:30
Saroj
011e7b196d
ci: Download oldstack from private repo instead of S3 in ci-test.yml (#20802)
## Description
- Updated ci-test.yml to pull the old stack from a private repo instead
of S3

## Type of change
- ci-test.yml


## How Has This Been Tested?
- Cypress

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-22 12:56:40 +05:30
Shrikant Sharat Kandula
fb8870765a
ci: Remove Segment key unless on master branch (#20669) 2023-02-16 14:49:55 +05:30
Trisha Anand
650ddf655c
ci : Preserve the docker logs across the parallel cypress runs to debug failures (#20671)
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-16 14:12:57 +05:30
Aishwarya-U-R
b9bc9eaf7d
test: TED support for GITEA (#20477)
## Description

- This PR Stops SSH which is run on port 22 for enabling it for Local
Gitea support from TED

## Type of change

- Ci-test yml file update:

## Checklist
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-02-14 22:59:40 +05:30
yatinappsmith
a3fb818c7c
ci: Disable telemetry in ci-test (#20614) 2023-02-14 15:45:59 +05:30
Goutham Pratapa
568544b5a3
ci: fix artifact names across the ci (#20586)
Fix: artifact names across CI
2023-02-13 14:45:02 +05:30
Aishwarya-U-R
3b36d86881
test: TED support for GITEA (stop ssh revert) (#20476)
## Description

- This PR reverts https://github.com/appsmithorg/appsmith/pull/20471

## Type of change
- ci-test yml file update

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
2023-02-08 12:50:38 +05:30
Aishwarya-U-R
3afb37e4ea
test: TED support for GITEA (stop ssh revert) (#20475)
## Description

This PR reverts https://github.com/appsmithorg/appsmith/pull/20471

## Type of change

- ci-test yml file update

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes test
2023-02-08 12:44:05 +05:30
Aishwarya-U-R
3c9f68a033
test: TED support for GITEA (stop ssh revert) (#20473)
## Description
- This PR reverts #20471 

## Type of change

- ci-test yml file update

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reveiwing all changes
2023-02-08 12:36:46 +05:30
Aishwarya-U-R
638c0d07fd
test: TED support for GITEA (#20471)
## Description

- This PR Stops SSH which is run on port 22 for enabling it for Local
Gitea support from TED


## Type of change

- Script update

## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing the changes
2023-02-08 11:43:50 +05:30
Aishwarya-U-R
0d8a6e10f0
test: TED support for GITEA (#20456)
## Description

- This PR maps port 22 to 2222 (revert)

## Type of change

- Script fix (non-breaking change which fixes an issue)
2023-02-07 23:11:00 +05:30
Aishwarya-U-R
309a16d41c
test: TED support for GITEA (#20451)
## Description
- This PR adds the 3000 port mapping for the TED GITEA support for the
cypress tests


## Type of change

- Script update

## Checklist:
### QA activity:
- [X] Test plan has been peer reviewed by QA
- [X] Cypress test cases have been added and approved by either SDET or
manual QA
2023-02-07 21:44:07 +05:30
Rhitottam
7c1ddfb17c
ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
Parthvi
9e77cf95f1
ci: Add missing env variables for SAML and OIDC in workflow (#20382) 2023-02-04 14:41:30 +05:30
Saroj
f238c7b118
test: fix for ci-test skip issue (#20325)
## Description
- Updated the if condition to run the ci-test

## Type of change
- ci-test.yml


## How Has This Been Tested?
- Cypress

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or manual QA
- [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-02 18:34:56 +05:30
Saroj
eb9f5280e9
ci: Modularize ci-test (#20240)
## Description
- Modularising the ci-test

## Type of change
- Workflow files

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-02 16:56:29 +05:30
Goutham Pratapa
e50d0c89da
ci: fix failing package pipeline in build docker image (#20256) 2023-01-31 16:50:33 +05:30
Goutham Pratapa
afc5c94cf7
fix: failing ce deploy previews (#20204) 2023-01-30 13:37:55 +05:30
Goutham Pratapa
a8689792dc
ci: make upgrades easy to deploy-previews (#20198)
Make upgrades easy for deploy previews.
2023-01-30 11:49:22 +05:30
Satish Gandham
e28f5ef34a
ci: Refactor workflows to reuse code (#20161) 2023-01-28 04:34:08 +01:00
Goutham Pratapa
365afd2e94
ci: fix github-actions trigger sequence (#20138) 2023-01-27 15:34:58 +05:30
Rhitottam
17711b5d81
Fix: fix client build (#20144) 2023-01-27 15:26:50 +05:30
Rhitottam
d5c5d1ff16
Fix: Fix perf tests workflow (#20137) 2023-01-27 12:22:03 +05:30
Goutham Pratapa
506b0230d5
ci: add cosmetic changes to deploy-preview ci (#20131) 2023-01-27 11:31:55 +05:30
Rhitottam
4532d0c962
Fix: add back setup of ui environment in setup-test-ci workflow (#20125)
## Description

> Add back setup of ui nginx environment using docker while setting up
tests

Fixes # [(issue)](https://github.com/appsmithorg/appsmith/issues/20124)
> if no issue exists, please create an issue and ask the maintainers
about this first


## Type of change

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


## How Has This Been Tested?
- Manual


## Checklist:
### Dev activity
- [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
- [ ] 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
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-01-27 10:48:01 +05:30
Aishwarya-U-R
7607883ab5
ci: Cypress CI run Group name update (#19119)
## Description

- This PR includes the script updates for connecting to TED Git instead
of actual Github for running tests

## Type of change

- New script changes to connect to TED Git

## How Has This Been Tested?
- Cypress CI runs

## Checklist:
### QA activity:
- [X] Test plan has been approved by relevant developers
- [X] Test plan has been peer reviewed by QA
- [X] Cypress test cases have been added and approved by either SDET or
manual QA
- [X] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [X] Added Test Plan Approved label after reveiwing all Cypress test
2023-01-27 09:42:15 +05:30
Aishwarya-U-R
c4d7462fb3
ci: Fat migration CI Re-run fix (#20040)
## Description

- This PR skips the upgrade spec until its fully functional

## Type of change

- Script fix

## Checklist:
### QA activity:
- [X] Cypress test cases have been added and approved by either SDET or
manual QA
2023-01-27 07:02:29 +05:30
yatinappsmith
81dfdb8aa8
ci: changed ubunut latest for ci (#20114) 2023-01-26 14:14:47 +01:00
Goutham Pratapa
71824031a8
Update build-deploy-preview.yml 2023-01-26 14:16:06 +05:30
Goutham Pratapa
6f6711856f
Update build-deploy-preview.yml 2023-01-26 14:10:06 +05:30
Goutham Pratapa
5ad64598ac
chore: Deploy preview of a PR (#19988)
Successful-run: https://github.com/appsmithorg/appsmith-ci/actions/runs/3986060223

Example: https://github.com/appsmithorg/appsmith-ci/pull/2

### How to trigger the workflow

[Reference](https://github.com/appsmithorg/appsmith-ci/pull/2#issuecomment-1400174700) 

go ahead and comment:

```
/build-deploy-preview
```
If the commit is fine then you should another comment from github-actions like below
```
Tests running at: https://github.com/appsmithorg/appsmith-ci/actions/runs/xxxxxx
Workflow: On demand build Image and deploy Deploy-Preview.
PR: #.
URL: #ce.appsmith.com
```
2023-01-26 14:05:11 +05:30
Satish Gandham
31635a5de7
Update test-build-docker-image.yml (#20065)
Set the pr number as 0 for push event.

> Pull Request Template
>
> Use this template to quickly create a well written pull request.
Delete all quotes before creating the pull request.

## Description

> Please include a summary of the changes and which issue has been
fixed. Please also include relevant motivation
> and context. List any dependencies that are required for this change
> Links to Notion, Figma or any other documents that might be relevant
to the PR

> Add a TL;DR when description is extra long (helps content team)

Fixes # (issue)
> if no issue exists, please create an issue and ask the maintainers
about this first


Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video


## Type of change

> Please delete options that are not relevant.

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update


## How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Provide
instructions, so we can reproduce.
> Please also list any relevant details for your test configuration.
> Delete anything that is not important

- Manual
- Jest
- Cypress

### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [ ] 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
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-01-25 12:24:21 +05:30
Aishwarya-U-R
0b28b754b0
test: Moving specs to run on FatContainer + Gitea migration (#18920)
## Description

- This PR moves all specs from slim to fat container to run tests underneath it
- Fat has the actual libraries that are being shipping to customers, hence this PR
- Also includes moving Git tests from using GitHub to Gitea

## Type of change
- New run (non-breaking change which adds functionality)


## How Has This Been Tested?
- Cypress CI Fat runs

## Checklist:
### QA activity:
- [X] Test plan has been approved by relevant developers
- [X] Test plan has been peer reviewed by QA
- [X] Cypress test cases have been added and approved by either SDET or manual QA
- [X] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [X] Added Test Plan Approved label after reveiwing all Cypress test

Co-authored-by: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com>
2023-01-25 11:09:02 +05:30
Satish Gandham
c41afbc3af
ci: Update test-build-docker-image.yml (#20054)
Fix a type created due to inconsistent names.
2023-01-25 08:52:05 +05:30
Aishwarya-U-R
b02d227505
test: Fix upgrade workflow run (#20017)
## Description

- This PR removes the Upgrade workflow from being triggered in oktotest

## Type of change

- Yml Script fix (non-breaking change which fixes an issue)
2023-01-24 14:07:50 +05:30
Saroj
2e376a79f2
test: Upgrade Appsmith [POC] (#20006)
## Description
- Appsmith Upgrade Test

## Type of change
- Cypress


## How Has This Been Tested?
- Cypress

## Checklist:
### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-01-24 13:25:58 +05:30
Satish Gandham
c3fa494d4a
ci: Refactor test-build-docker workflow to re use perf-test code (#19989)
Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-01-23 17:05:42 +05:30
Satish Gandham
03c2d61305
ci: Make perf tests a blocking check (#19977)
Makes perf tests a blocking check.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-01-23 11:22:16 +05:30
Satish Gandham
f95cbac559
chore: Add serve module back (#19803)
Add serve module back, it was removed in earlier pr.
2023-01-16 16:08:07 +05:30
Satish Gandham
657519cad4
ci: Add JAVA setup step to perf tests in test build workflow (#19798)
Add JAVA setup step to perf tests in test build workflow.
This is a possible fix for perf tests on running because backend server
was not up.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-01-16 14:19:40 +05:30
Hetu Nandu
c5388e465e
ci: Add spoiler to list failed ui tests (#19790)
## Description

Hides the list of failed tests behind a spoiler to avoid making PR pages
very long


Fixes # N/A


## Type of change

- Chore (housekeeping or task changes that don't impact user perception)
2023-01-16 09:46:32 +05:30
ChandanBalajiBP
9c30dadd31
ci: Add host gateway to connect cloud services (#19541)
Added host gateway to fix cloud services connectivity issue
2023-01-06 22:45:00 +05:30
Hetu Nandu
caaa701c32
ci: Ensure Test Plan Approval for all Engineering pods (#19469) 2023-01-04 12:08:04 +05:30
Satish Gandham
f67828678e
ci: Add java setup step to perf-test workflow (#19471)
With the latest build, we’ve upgraded to Java 17. By default, Ubuntu ships with Java 11.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-01-04 11:56:53 +05:30
Satish Gandham
71e0b3f2b3
ci: Revert changes to perf-tests job (#19464)
## Description
Reverts the changes made to perf job in ui-build-workflow as the perf tests are getting skipped.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2023-01-03 20:50:02 +05:30
Nidhi
bd96872fc6
chore: Added JDK setup to slim Cypress tests as well (#19433) 2023-01-02 19:15:14 +05:30
Nidhi
dfccd5a058
chore: Upgrade to Spring Boot 3.0.1 (#19044)
This upgrade takes care of our move to JDK 17, Spring Boot 3.0.1 and a
few other security upgrades along the way.

Fixes #18993 

TODO:

- [x] Check CI changes for Java 17
- [x] Check vulnerability report
- [x] Mongock needs an upgrade
- [x] Add JVM args at all possible places for exposing java.time module
- [x] Add type adapters everywhere / use the same config for type
adapters everywhere
2023-01-02 19:40:59 +07:00
Satish Gandham
42a7c40c37
ci: Reactor perf tests checkout step to checkout the code correctly. (#19267)
Earlier code wasn't checked out correctly when test-build-docker workflow ran, this PR adds conditional checkout.
2022-12-28 12:51:08 +05:30
Goutham Pratapa
a65cfbe33e
ci: Fix failing helm publish pipeline (#19133)
fixes: [18864](https://github.com/appsmithorg/appsmith/issues/18864)
2022-12-27 08:02:19 +05:30
Arpit Mohan
d104fd3ece ci: Fixing the test build docker image workflow 2022-12-23 22:40:12 +05:30
Satish Gandham
d0044fedb9
ci: Add perf tests back (#19184)
This PR adds the perf tests back, but still not a blocking check.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-23 19:01:03 +05:30
Satish Gandham
5174ba8375
ci: Do not run perf tests as a part of ok-to-test and make it non blocking (#19140)
Remove perf-tests from /ok-to-test temporarily.

**Why**
Switch to github runners is causing an issue with perf tests, disabling until that is resolved.

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-22 20:08:42 +05:30
yatinappsmith
bff3f326cd
ci: Fix run result due to deprecated command (#19084)
## Description

Ci fix run result due to deprecated 

Fixes # (issue)



Media



## Type of change



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



## How Has This Been Tested?
code reivew

### Test Plan


### Issues raised during DP testing



## Checklist:
### Dev activity
- [ ] 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
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or manual QA
- [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2022-12-21 15:31:55 +05:30
Goutham Pratapa
d452b2452c
ci: Migrate runners from buildjet to github (#19066)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2022-12-20 16:32:22 +05:30
yatinappsmith
e50d309161
ci: fix PR number in adding failed tests (#19065) 2022-12-20 15:15:09 +05:30
yatinappsmith
876cd428f9
ci: Comment failing tests to PR (#18450)
## Description

Comment failing tests to PR

Fixes # 



## Type of change

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


## How Has This Been Tested?
Code review. Tested in local fork

### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [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
- [X] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or manual QA
- [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2022-12-19 16:23:39 +05:30
Hetu Nandu
c5c8734dc1
chore: Update github actions to remove deprecation warnings (#18619) 2022-12-19 13:04:43 +05:30
Arpit Mohan
970deb92c7 ci: Reverting change for Github large runners 2022-12-15 21:03:18 +05:30
Arpit Mohan
4ed4de8d9c
ci: Moving the runners to use Github large runners instead of Buildjet (#18984) 2022-12-15 20:29:21 +05:30
Satish Gandham
519dd3a7a3
ci: Make perf tests a blocking check (#18955)
Make perf tests a blocking check

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-14 18:39:53 +05:30
Satish Gandham
bc2b60974d
ci: Fix perf tests failure (#18926)
* Fix perf test failure due to a wrong step added earlier

* Remove all the steps added to make perf tests work on EE

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-13 19:29:51 +05:30
Aishwarya-U-R
973d46aaef
test: Migration to FatContainer (new .yml faile) (#18917)
## Description

- This PR adds a new fat-migration.yml file which will run all cases in fat container instead of dev.app.appsmith
- This PR will not affect any existing Push/Workflow dispatches as its a separate action file
- Moving to fat container will not be put into action until RBAC is live - so as to not trigger any new challenge at last minute

## Type of change

- New .yml file

## How Has This Been Tested?
- Cypress CI runs

## Checklist:
### QA activity:
- [X] Test plan has been approved by relevant developers
- [X] Test plan has been peer reviewed by QA
- [X] Cypress test cases have been added and approved by either SDET or manual QA
- [X] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [X] Added Test Plan Approved label after reveiwing all Cypress test
2022-12-13 15:24:56 +05:30
Satish Gandham
b5e8fc3be8
ci: Fix perf test failure due to a wrong step added earlier (#18918)
Fix perf test failure due to a wrong step added earlier

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-13 15:06:09 +05:30
Parthvi
db19455e57
ci: Add three more runners for the fat container tests (#18915) 2022-12-13 14:36:33 +05:30
Anagh Hegde
77a225f4dd
ci: revert Add replicate set to the mongodb url for transaction PR (#18890)
Revert "ci: Add replicate set to the mongodb url for transaction PR (#18873)"

This reverts commit bc8022caf2.
2022-12-12 18:57:20 +05:30
Anagh Hegde
bc8022caf2
ci: Add replicate set to the mongodb url for transaction PR (#18873) 2022-12-12 16:28:00 +05:30
Satish Gandham
03703ff044
ci: Ship source maps + fix perf test failures on EE (#18700)
* - Add missing env variables to fix perf tests failures in EE

* - Delete source maps on CI only for EE

* - Add the additional steps that might be required for running perf tests on EE

* Update if condition

* Update if condition

* Switch to bash from using sh in build.sh

* Check if the server started later

* Update the check to see if the server has started

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-12-09 18:40:59 +05:30
Hetu Nandu
5542d12123
ci: Improve the test file check workflow (#18741) 2022-12-07 14:52:43 +05:30
Hetu Nandu
652ec15f97
Update label-checker to add new bypass
Add skip-testPlan label bypass in the test plan approved label checker
2022-12-07 11:33:13 +05:30
Parthvi
bc7659d53a
test: Add dummy users in Cypress test suite (#18675) 2022-12-06 11:21:54 +05:30
Rhitottam
4231a905c0
ci: Update perf infra dashboard link inside github workflows yml (#18702) 2022-12-06 10:17:27 +05:30
Trisha Anand
a7f1f365af
Revert "ci:update env variable" (#18607)
Revert "ci:update env variable (#18557)"

This reverts commit e0fe306503.
2022-12-01 16:08:02 +05:30
Parthvi
e0fe306503
ci:update env variable (#18557)
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-12-01 13:47:11 +05:30
yatinappsmith
45009d0e63
ci: fix-fat-failedspec (#18571) 2022-11-30 16:10:24 +05:30
Satish Gandham
108af3a076
ci: Setup ted for perf tests (#18439)
* Setup ted for perf tests

* Update perf-test.yml

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-11-25 10:15:31 +05:30
yatinappsmith
5edd343004
ci: fix upload success step in test-build-docker-image.yml (#18379) 2022-11-23 13:35:59 +05:30
Sumesh Pradhan
59fc70b36b
feat: appsmith ctl jest with workflow (#17713) 2022-11-01 12:57:41 +05:30
Satish Gandham
f560fcc4f8
ci: Fix a typo in client-build workflow (#17983)
Fix a typo in client-build workflow
2022-11-01 12:51:18 +05:30
Satish Gandham
58fcb72606
ci: Remove PR from create run meta query (#17981)
* Rearrange client build steps

* Remove PR from the run meta insert query

* Add repo to the query

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-31 13:13:07 +05:30
Satish Gandham
ecd87464b0
ci: Rearrange client build steps (#17979)
Rearrange client build steps

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-31 12:44:40 +05:30
Satish Gandham
349d5c8283
ci: Read environment variables right. (#17948)
* Fix typos

* Read the env variables right

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-28 19:35:59 +05:30
Satish Gandham
65d9633c02
ci: Fix typos (#17945)
Fix typos

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-28 18:05:17 +05:30
Satish Gandham
6ad782c242
ci: Add S3 credentials to environment and create run meta record at the time of checkout (#17917)
* - Add S3 credentials to environment
- Change the workflow name
- Create performance run meta data record at the begining.

* Fix a typo

* Fix a typo

* Store DB credentials as plain values instead of JSON

* Fix SQL insert query

* Add missing secrets

* Continue even if the meta creation fails

* Fix SQL insert command

* Rename workflow

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-28 16:32:38 +05:30
Shrikant Sharat Kandula
c1053f896d
Make stale comment on critical issues more clear 2022-10-27 12:38:34 +05:30
yatinappsmith
2123110d7f
ci: fix fat-container combined (#17742)
Fixed ui-test.result check
2022-10-25 11:01:26 +05:30
yatinappsmith
347756db10
ci: fix Pull workflow (#17554)
Update integration-tests-command.yml
2022-10-14 11:15:31 +05:30
yatinappsmith
01f2fac326
ci: added to pull workflow (#17542)
Update integration-tests-command.yml
2022-10-14 10:16:39 +05:30
Parthvi
586d06a22f
ci: Add env variable Appsmith_Auditlog_Enabled to CI (#17539)
Add env appsmith_auditlog_enabled to CI
2022-10-13 23:18:55 +05:30
Satish Gandham
8002bc204a
ci: Add a /command to run only perf tests (#17479)
* Add option to run only perf tests on github

* Add new line at the end of the file

* - Run the artifacts step even on failure
- Add link to the perf run details
- Remove the perf comment on the PR

Co-authored-by: Satish Gandham <hello@satishgandham.com>
2022-10-12 15:11:19 +05:30
Aishwarya-U-R
94aba81ad9
test: RTS server start (#17483)
## Description

- This PR includes changes for starting rts server for AST changes to take effect

## Type of change

- yml file updates

## 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-10-11 16:44:51 +05:30
Aishwarya-U-R
c97e909cd7
test: RTS server start (#17471)
## Description

- This PR includes changes for starting rts server for AST changes to take effect

## Type of change

- yml file updates

## 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-10-11 13:20:12 +05:30
Nidhi
962cc65a3c
chore: Corrected usage of OR operator (#17379) 2022-10-07 13:03:11 +05:30
yatinappsmith
8a24fb1e1d
ci: Update integration-tests-command.yml to handle failures in ui-test step (#17331) 2022-10-07 05:39:17 +02:00
Shrikant Sharat Kandula
0e0ef82726
Add DevOps pod to exception list 2022-10-04 15:18:15 +05:30
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
Ayangade Adeoluwa
610509506e
fix: update rts logic to use updated shared AST logic (#16849)
* update rts logic to use updated shared AST logic

* Make changes to naming conventions

* Add test cases for RTS and rename ast functions

* Add running jest test to RTS workflow

* Install dependencies and then trigger jest tests in workflow

* Close server connection after test ends

* Remove logs

* Improve jest test descriptions
2022-09-28 17:28:18 +00:00
Arpit Mohan
773728354a
ci: Remove the permissions from fat-container-test during ok-to-test workflow 2022-09-28 14:45:55 +05:30
Arpit Mohan
3e285c83f7 ci: Removing cross platform builds for slim containers
This is only required for the fat containers
2022-09-23 10:15:38 +05:30
Arpit Mohan
35a183a492
ci: Fixing the github release workflow to push the latest tags for Docker images (#16999) 2022-09-23 09:27:24 +05:30
Arpit Mohan
ba9e68e792
ci: Fixing the Github release workflow (#16893) 2022-09-20 13:47:24 +05:30
yatinappsmith
ee45ad15ad
ci: Fix ci cache (#16852)
Fix ci cache & rts build for push workflow

## Description

Fix ci cache & rts build for push workflow



## 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-19 11:00:04 +05:30
yatinappsmith
ed4c68a8e9
ci: removed rts download for modues (#16851) 2022-09-19 09:21:18 +05:30
yatinappsmith
31fafb498b
ci: Fix ci cache & rts build for push workflow (#16850)
* fix download rts

* fix cache for ui-test
2022-09-18 12:38:40 +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
98c18862c2
ci: Fixing the caches for server,client and rts build (#16757)
The problem was being caused by reusable modules taking the same job id
2022-09-14 20:28:40 +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
Sumesh Pradhan
8f01b84fee
Packer script to build AWS and DigitalOcean images (#16617) 2022-09-14 11:03:02 +05:30
Jacob Gillespie
820b65a70f
ci: fix tag reference to github.sha in depot build action (#16735) 2022-09-13 20:09:41 +05:30
Kyle Galbraith
a4f32ef7e6
ci: Fix build_args to be build-args for Depot builds (#16678) 2022-09-13 08:41:35 +05:30
Arpit Mohan
01265b7bbd ci: Correcting the env variables for perf-test workflow 2022-09-12 21:28:23 +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
b2ff88a9e1 ci: Removing the redundant permissions in fat-container-test step 2022-09-12 11:11:30 +05:30
Arpit Mohan
5db7aa0fa1
ci: Reverting the permission check on ok-to-test
This needs to be tested properly on a test organization.
2022-09-11 20:50:59 +05:30
Arpit Mohan
4c55b0edd7 ci: Making ok-to-test command executable only to users with write permission on the appsmithorg organization 2022-09-11 17:57:40 +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
408bcaf1a9 ci: Moving ok-to-test permission to none till further debugging 2022-09-09 14:06:34 +05:30
Arpit Mohan
d5a6dacb2a ci: Fixing the yml syntax for test-build-docker image workflow 2022-09-09 11:53:21 +05:30
Arpit Mohan
c0e1a6202f
ci: Fixing the package step for test-build-docker workflow (#16661)
## Description

The depot docker step wasn't initialized. This was causing Docker builds to fail.

## Type of change

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

## How Has This Been Tested?

- Relying on CI

## 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-09 11:47:34 +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
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
Subin Mathew
27e8a88605
Post comment on PRs with link to test workflow runs (#9122) 2021-11-11 22:25:44 +05:30
Shrikant Sharat Kandula
f6b8900246
Remove unused package for DP step (#9103) 2021-11-11 14:00:25 +05:30
Shrikant Sharat Kandula
59ab2abe32
Upload build artifacts to S3 (#8865) 2021-10-29 15:36:16 +05:30
Nayan
09eff23479
feat: [Feature] Added release version api for clients and RTS (#8324)
Added a new event in RTS when new version is deployed. After receiving this event, client will show a prompt to refresh.
2021-10-29 15:52:21 +06:00
Arpit Mohan
095fed3429
ci: Fixing the test-build-docker-image workflow
We want package step to run on successful test completion on master. On other branches it's OK to deploy even with a failing test suite.
2021-10-29 13:47:54 +05:30
Arpit Mohan
a1deef1660
chore: Updating the sync workflow to use merge strategy 2021-10-26 16:37:21 +05:30
yatinappsmith
e9ffc67f79
Added check for cypress tests in PR (#8454) 2021-10-21 03:31:36 +00:00
Rishabh Saxena
2040dceed9
fix: remove redundant env var (#8544) 2021-10-18 05:51:55 +00:00
Nidhi
a7a559cc62
fix: Back to repository dispatch (#8470)
* fix: Back to repository dispatch

* Test

* Test

* Test
2021-10-12 18:46:45 +05:30
Nidhi
fbfb7a6fd7
fix: Back to repository dispatch (#8469)
* fix: Back to repository dispatch

* Test

* Test
2021-10-12 18:42:45 +05:30
Nidhi
1caa8b2dc1
fix: Back to repository dispatch (#8468)
* fix: Back to repository dispatch

* Test
2021-10-12 18:39:56 +05:30
Nidhi
5919d4ed6d
fix: Back to repository dispatch (#8467) 2021-10-12 18:25:00 +05:30
Nidhi
ba66e555dd
fix: Back to repository dispatch (#8466)
* fix: Back to repository dispatch

* fix: Back to repository dispatch
2021-10-12 18:07:48 +05:30
Nidhi
711db19538
fix: Back to repository dispatch (#8464) 2021-10-12 18:02:31 +05:30
Nidhi
7e9798b1fe
fix: Back to repository dispatch (#8463) 2021-10-12 17:42:50 +05:30
Nidhi
9edfe4b165
fix: Upgraded slash command version related changes (#8462) 2021-10-12 17:31:57 +05:30
Nidhi
e60b01cc32
fix: Upgraded slash command version (#8458) 2021-10-12 16:59:31 +05:30
Nidhi
692e62b4dd
fix: Separated out workflows (#8434)
* Separated out workflows

* Separated out workflows

* Update .github/workflows/ok-to-test.yml

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-10-12 16:26:18 +05:30
Arpit Mohan
57bdbdc0f9
test: Fixing some cypress tests that were asserting if the message texts are correct (#8369) 2021-10-11 10:38:08 +05:30
Nidhi
08e37756dc
fix: Don't run test build docker for external PRs (#8187)
* fix: Don't run test build docker for external PRs

* Add dependency on server build
2021-10-05 18:41:57 +05:30
Arpit Mohan
9381b4e8fb Always run the package step in test-build workflow 2021-10-05 12:47:05 +05:30
Shrikant Sharat Kandula
3c3cc8c0d1
Build Docker image always 2021-10-05 00:57:06 +05:30
Shrikant Sharat Kandula
be9dfb752e
Use separate Segment Key for release (#8113) 2021-10-02 16:19:57 +05:30
Shrikant Sharat Kandula
1363d6308d
ci: Build ARM and AMD Docker images in CI (#7963) 2021-10-01 20:25:16 +05:30
Arpit Mohan
02bf061479 Revert "Adding paths-ignore to the client build workflows to ignore manual test changes"
This reverts commit 008d83cc0b.
2021-10-01 11:52:49 +05:30
Arpit Mohan
008d83cc0b Adding paths-ignore to the client build workflows to ignore manual test changes 2021-10-01 11:40:43 +05:30
Shrikant Sharat Kandula
c70613d5aa
Add missing RTS deps artifact 2021-09-28 16:04:30 +05:30
Shrikant Sharat Kandula
04c7d86850
Remove default pwd for building fat container 2021-09-28 15:11:42 +05:30
Shrikant Sharat Kandula
fd45bb44e9
Push latest tag for RTS and fat (#7774) 2021-09-23 21:15:25 +05:30
Shrikant Sharat Kandula
48e2a3d01a
Include RTS' dependencies for Docker image (#7773) 2021-09-23 20:32:22 +05:30
Shrikant Sharat Kandula
afb5bfcd70
ci: The package job needs prelude (#7768) 2021-09-23 19:07:39 +05:30
Arpit Mohan
83900bbbf5
Removing duplicate step in github release workflow (#7764) 2021-09-23 17:57:27 +05:30
Shrikant Sharat Kandula
4f5a0c027a
ci: Remove unneeded checks and services (#7759) 2021-09-23 16:48:45 +05:30
Shrikant Sharat Kandula
0554bfa28d
ci: Build and push fat container in release workflow (#7753)
The GitHub release workflow currently doesn't build the fat container image. This commit adds support for this.
2021-09-23 16:36:50 +05:30
Shrikant Sharat Kandula
73bba02374
Package release even if tests fail (#7746) 2021-09-23 12:11:52 +05:30
Shrikant Sharat Kandula
4a5a604b3b
ci: Use separate artifacts for separate services (#7707)
Currently, all three services' artifact names are set to build. This leads to a single artifact with files from all three services as siblings. This has two problems:

1. If there's an overlap in a filename among the files in build folder of two services, one of them will be overwritten with the other.
2. The same large artifact is downloaded every time we do a download-artifact, once for server, once for client, and once for RTS, the same large artifact is downloaded thrice before building the Docker images.
2021-09-22 17:54:23 +05:30
Shrikant Sharat Kandula
b26fc9965a Fix check for running server 2021-09-21 16:18:38 +05:30
Shrikant Sharat Kandula
04356a8d3b
Fix server image jar paths (#7676) 2021-09-21 15:20:51 +05:30
Shrikant Sharat Kandula
ca30a9cb0b
Fix incorrect tag variable name (#7659) 2021-09-21 13:04:26 +05:30
Shrikant Sharat Kandula
c6c5e4fef3
ci: Add CI workflow for building fat container (#7385)
This commit changes the client test workflow into building the fat container's image, and so builds server and RTS as well, in order to achieve that.
2021-09-21 08:33:22 +05:30
Arpit Mohan
07caedb7e5
ci: Using appsmith's fork of labeler for minor enhancement & easier config (#7177)
Now we can add multiple title regexes for a PR and the labeler will automatically tag the PR with the appropriate labels. This will be useful when generated the release notes in a categorized fashion.
2021-09-06 22:48:35 +05:30
Arpit Mohan
275c2f2277
fix: Running the PR labeler when a PR is edited (#7168)
This ensures that the labels are correct & synchronized with the latest PR details
2021-09-06 19:10:20 +05:30
Arpit Mohan
178e848744
feat: Adding labels to PR based on their title (#7162) 2021-09-06 18:06:10 +05:30
Arpit Mohan
fc1083a8d4
ci: Adding release-drafter back (#7072) 2021-09-06 02:41:30 +05:30
Hetu Nandu
07888cff2c
ci: Update issue state check only critical issues (#6972) 2021-08-31 09:22:02 +05:30
Rishabh Saxena
1add6c905c
fix: anonymize user info intercom (#6936) 2021-08-30 20:38:07 +05:30
Hetu Nandu
f85426aec8
ci: Stale issue and PR action (#6918)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2021-08-27 13:44:23 +05:30
Rishabh Rathod
12e7ee0c94
Add s3 support for generate CRUD (#6264)
* Add s3 support for generate CRUD
- Dropdown enhancement to open options on initial load
- Hide column selection option for s3

* Refactor the prop name

* Add useS3BucketList hook WIP

* Dropdown enchancement & Fix small issues

* Add fetch all sheets query

* Add Query to get all S3 buckets

* Fix dropdown open issue

* Remove defaultIsOpen prop from dropdown

* Resolve comments
- Remove debugger
- mockSheetUrl -> getSheetUrl

* Add S3 cypress test

* Fix cypress test yml config

* Fix generate page cypress test
2021-08-20 12:27:01 +05:30
Rishabh Rathod
a024fb217a
Fix cypress test yml config (#6741) 2021-08-19 23:28:00 +05:30
Arpit Mohan
c50a46c69a
Removing release-drafter github action (#6248) 2021-07-29 18:24:03 +05:30
Rishabh Saxena
4b11b3a93c
Add intercom app id during client build for the github-release workflow (#6197) 2021-07-27 17:48:14 +05:30
yatinappsmith
3f44079868
Test/cypress external work flow (#6083)
* Replaced batch with build script

* Update external-client-test.yml

* Fixed server started grep exit

* Added server check in external test workflow

* Added missing variables

* fixed typo

* fixed typo
2021-07-23 14:50:00 +05:30
yatinappsmith
a7e1ecf90b
Replaced docker image with local server (#5901)
* Added nohup, ps grep and missing env var
2021-07-22 09:27:01 +05:30
yatinappsmith
7ec7d57678
Added debugging info and missing env variables in client test workflow (#5955) 2021-07-20 14:07:20 +05:30
Rishabh Saxena
dc012be1de
Enable intercom for self hosted instances (#5871) 2021-07-19 15:34:15 +05:30
yatinappsmith
d8e2488a9b
Disabled maven Tests (#5882) 2021-07-15 16:45:53 +05:30