Commit Graph

518 Commits

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