Commit Graph

501 Commits

Author SHA1 Message Date
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