PromucFlow_constructor/.github/workflows
Wyatt Walter 4c7a019adf
fix: support nss wrapper in Helm chart (#40673)
## Description

Requires: https://github.com/appsmithorg/appsmith/pull/40642

Adds an environment variable activating nss_wrapper when the
`securityPolicy.runAsUser` value is set so the UID can be set
dynamically. This avoids the `I have no name!` in the prompt when doing
a `kubectl exec` with that value set.

I am also introducing
[helm-unittest](https://github.com/helm-unittest/helm-unittest) for
ensuring that changes to our defaults are made explicit.

Fixes https://github.com/appsmithorg/appsmith/issues/38787

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!WARNING]
> Tests have not run on the HEAD
d30d87ffc66c107f980a3b27464e97db0910dcbe yet
> <hr>Mon, 19 May 2025 18:59:10 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added automated unit testing for Helm charts, including snapshot and
security context tests.
- Introduced documentation for running and understanding Helm chart unit
tests.
- Added a GitHub Actions workflow to run Helm chart unit tests on pull
requests and manually.
- **Bug Fixes**
- Ensured the LD_PRELOAD environment variable is set when a specific
security context is configured in deployments.
- **Documentation**
- Updated Helm chart README to reference new testing documentation and
improve clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
2025-06-04 20:54:46 +05:30
..
docs chore: Move appsmithctl to RTS (#37531) 2024-11-20 20:58:38 +05:30
scripts chore: Added capability of running ITs using ok-to-test (#38355) 2025-01-01 15:30:29 +05:30
ad-hoc-docker-image.yml ci: Include build information in Docker image labels (#39047) 2025-02-06 11:22:19 +05:30
build-chromatic.yml chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
build-client-server-count.yml ci: Update version and checking failure (#39138) 2025-02-13 08:22:01 +05:30
build-client-server.yml chore: Added pg branch (#36086) 2024-09-03 18:39:47 +05:30
build-docker-image.yml ci: Include build information in Docker image labels (#39047) 2025-02-06 11:22:19 +05:30
build-storybook.yml chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
caddy-routes-test.yml ci: Weekly schedule for Caddy route tests 2024-04-08 12:19:16 +05:30
ci-client-cyclic-deps-check.yml chore: bump tj-actions/changed-files from 41 to 46 in /.github/workflows (#39761) 2025-03-31 11:46:54 +05:30
ci-test-custom-script.yml chore: updated the ci config files with the hubspot token (#39384) 2025-02-21 11:07:49 +05:30
ci-test-hosted.yml chore: updated the ci config files with the hubspot token (#39384) 2025-02-21 11:07:49 +05:30
ci-test-limited-with-count.yml chore: updated the ci config files with the hubspot token (#39384) 2025-02-21 11:07:49 +05:30
ci-test-limited.yml chore: Remove postgres setup from services as embedded postgres will be started with prerequisites on demand by entrypoint (#39859) 2025-03-21 19:00:45 +05:30
cleanup-dp.yml ci: Updating actions/checkout to v4 and defaulting to fetch-depth 1 instead of 0 (#29281) 2023-12-05 13:44:43 +05:30
client-build.yml Update client-build.yml (#40259) 2025-04-15 19:26:59 +05:30
client-lint.yml ci: Making minor improvements to the CI workflow files (#33636) 2024-05-23 19:47:34 +05:30
client-prettier.yml ci: Making minor improvements to the CI workflow files (#33636) 2024-05-23 19:47:34 +05:30
client-unit-tests.yml chore: update node version and appropriate git workflows (#31486) 2024-03-26 14:12:11 +03:00
close-labeler.yml ci: Upgrade GitHub Action steps to github-script@v7 and pload-artifact@v4 (#33554) 2024-05-20 10:49:27 +05:30
copy-labels.yml fix: Use the Appsmith repo for custom github actions (#12366) 2022-03-31 11:46:58 +05:30
docker-base-image.yml ci: Rebuild base image every week, at least 2025-04-11 11:11:15 +05:30
duplicate-issue-detector.yml Disable instance ping check when the disableTelemetry flag is set (#1776) 2020-11-19 08:54:03 +05:30
github-release.yml fix: Improve error handling in GitHub Actions build process (#39688) 2025-03-12 11:59:45 +00:00
helm-release.yml ci: Updating actions/checkout to v4 and defaulting to fetch-depth 1 instead of 0 (#29281) 2023-12-05 13:44:43 +05:30
helm-unittest.yml fix: support nss wrapper in Helm chart (#40673) 2025-06-04 20:54:46 +05:30
integration-tests-command.yml ci: Modified older ok-to-test job to redirect to the new one (#31673) 2024-03-12 10:01:44 +05:30
issue-report-config.json Create issue-report-config.json 2020-09-29 15:35:34 +05:30
mastermind-labeler.yml Removing release-drafter github action (#6248) 2021-07-29 18:24:03 +05:30
ok-to-test.yml chore: Adding new command for running test case (#35419) 2024-08-05 21:04:45 +05:30
on-demand-build-docker-image-deploy-preview.yml ci: Include build information in Docker image labels (#39047) 2025-02-06 11:22:19 +05:30
pr-automation.yml chore: Added capability of running ITs using ok-to-test (#38355) 2025-01-01 15:30:29 +05:30
pr-cypress.yml chore: Added capability of running ITs using ok-to-test (#38355) 2025-01-01 15:30:29 +05:30
pr-labeler.yml ci: Improve the test file check workflow (#18741) 2022-12-07 14:52:43 +05:30
quality-checks.yml chore: make cyclic deps check an error (#38543) 2025-01-09 11:07:37 +05:30
README.md fix: Separated out workflows (#8434) 2021-10-12 16:26:18 +05:30
release-drafter.yml chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
rts-build.yml chore: revert rts build to github runners (#35017) 2024-07-18 13:53:10 +05:30
server-build.yml chore: bump tj-actions/changed-files from 41 to 46 in /.github/workflows (#39761) 2025-03-31 11:46:54 +05:30
server-integration-tests.yml ci: Pinning the server build runs to Ubuntu 22.04 because of Flapdoodle errors (#38723) 2025-01-17 11:43:37 +05:30
server-spotless.yml ci: Upgrading the github action steps from Node 16 to Node 20. (#32004) 2024-04-01 15:41:43 +05:30
stale.yml chore: Do not mark User testing PRs as stale (#35806) 2024-08-21 14:16:07 +05:30
sync-release-to-pg.yml chore: update sync to pg workflow to use github pat for accessing the secrets (#36944) 2024-11-14 14:52:54 +05:30
test-build-docker-image.yml chore: Remove auto trigger TBPs on pg branch (#39607) 2025-03-07 11:00:40 +05:30
test-storybook.yml fix: test storybook action (#35585) 2024-08-09 20:46:25 +03:00
test-vulnerabilities-data.yml chore: Update for workflow name (#37696) 2024-11-26 11:48:32 +05:30

The following list describes all the workflows that are configured to run in this repository:

  1. Build RTS Workflow
  2. Appsmith Client Build Workflow
  3. Appsmith External Integration Test Workflow
  4. Appsmith Github Release Workflow
  5. Ok To Test
  6. Appsmith Server Workflow
  7. Test, build and push Docker Image

Utility Actions

  1. Mark stale issues and pull requests
  2. Label PRs based on title
  3. Release Drafter
  4. Remove old artifacts
  5. Sync Community workflow
  6. Potential Duplicate Issues
  7. Mastermind Labeler Workflow

Build RTS Workflow

Workflow file: build-rts.yml Triggered on every commit to the rts folder. This workflow is responsible for building the RTS Node server. There are dummy steps for ui-tests and packaging. (Comment: Useless right now because it does not have ui-test-result)

Appsmith Client Build Workflow

Workflow file: client-build.yml Triggered on every commit to the client folder. This workflow is responsible for building & unit-testing the client side.

Appsmith Server Workflow

Workflow file: server.yml Triggered on every commit to the server folder. This workflow is responsible for building & unit-testing the Java server codebase.

Appsmith External Integration Test Workflow

Workflow file: external-client-test.yml Triggered only by the ok to test command dispatch. This workflow is responsible for building, unit-testing, integration testing and packaging both server and client code base. (Comment: Notably not RTS)

Appsmith Github Release Workflow

Workflow file: github-release.yml Triggered on release event on Github. This workflow is responsible for building client, server and RTS binaries and packaging them to the latest as well as the relevant release tag on Docker.

Ok To Test

Workflow file: ok-to-test.yml Triggered by PR comments. This workflow triggers a repository dispatch for the Appsmith External Integration Test Workflow.

Test, build and push Docker Image

Workflow file: test-build-docker-image.yml Triggered by PR reviews and push to release or master. This workflow is responsible for building client, server and RTS binaries and packaging them to fata container as well as the older separate containers.

Mark stale issues and pull requests

Workflow file: stale.yml

Label PRs based on title

Workflow file: pr-labeler.yml

Release Drafter

Workflow file: release-drafter.yml

Remove old artifacts

Workflow file: remove-old-artifacts.yml

Sync Community workflow

Workflow file: sync-community-repo.yml

Potential Duplicate Issues

Workflow file: duplicate-issue-detector.yml

Mastermind Labeler Workflow

Workflow file: mastermind-labeler.yml