Commit Graph

128 Commits

Author SHA1 Message Date
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
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
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
Shrikant Sharat Kandula
fb8870765a
ci: Remove Segment key unless on master branch (#20669) 2023-02-16 14:49:55 +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
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
Satish Gandham
e28f5ef34a
ci: Refactor workflows to reuse code (#20161) 2023-01-28 04:34:08 +01:00
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
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
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
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
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
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
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
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
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
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
Parthvi
bc7659d53a
test: Add dummy users in Cypress test suite (#18675) 2022-12-06 11:21:54 +05:30
yatinappsmith
5edd343004
ci: fix upload success step in test-build-docker-image.yml (#18379) 2022-11-23 13:35:59 +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
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
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
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
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
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
b2ff88a9e1 ci: Removing the redundant permissions in fat-container-test step 2022-09-12 11:11:30 +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
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