Commit Graph

542 Commits

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