PromucFlow_constructor/.github/workflows
Abhijeet 73d3960121
chore: Exit the script if server artifact placer is not available (#36569)
## Description
PR to fail fast at the build step only if the script to place the server
artifacts for pg and mongo is not available. This PR also replaces pg
tag with nightly tag for placing the server artifacts for pg to improve
the stability of the image shipped to customers.

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

/test Sanity

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11050797504>
> Commit: 40c56218e2cb487cc79bdaab92abc53ded89b4fb
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11050797504&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 26 Sep 2024 11:23:28 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **Bug Fixes**
- Improved error handling for missing scripts in the build and release
workflows, ensuring clearer error messages and preventing process
failures.

- **Chores**
- Introduced a new environment variable for using the nightly PostgreSQL
Docker image in the release process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-30 10:29:20 +05:30
..
docs ci: Removing perf-test related jobs (#32447) 2024-04-05 14:06:23 +05:30
scripts ci: Support for limited tests run from PR description (#34736) 2024-07-08 21:28:07 +05:30
ad-hoc-docker-image.yml chore: Add adhoc image builder (#35791) 2024-08-20 20:50:33 +05:30
appsmithctl.yml chore: update node version and appropriate git workflows (#31486) 2024-03-26 14:12:11 +03:00
build-chromatic.yml chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
build-client-server-count.yml fix: Fix the issue for the reverse PR comment (#36308) 2024-09-13 15:56:02 +05:30
build-client-server.yml chore: Added pg branch (#36086) 2024-09-03 18:39:47 +05:30
build-docker-image.yml chore: Trigger TBP on pg for scheduled run on release (#36399) 2024-09-19 22:34:52 +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: Check for cyclic dependencies only for client file changes in a PR (#34154) 2024-06-12 08:52:21 +05:30
ci-debugging.yml chore: Update Postgres port for TED in CI (#34430) 2024-06-25 10:35:15 +05:30
ci-test-custom-script.yml ci: Updated server logs in CI (#35896) 2024-08-27 12:33:20 +05:30
ci-test-hosted.yml ci: Adding the overwrite: true parameter to actions/upload-artifact@v4 command (#33593) 2024-05-20 17:22:22 +05:30
ci-test-limited-with-count.yml chore: Running on failure only (reverting to original) (#36315) 2024-09-13 17:00:23 +05:30
ci-test-limited.yml chore: Update Postgres port for TED in CI (#34430) 2024-06-25 10:35:15 +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 CI: commented files changed step. It is a notification step (#35460) 2024-08-06 19:35:30 +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
docker-base-image.yml ci: Remove base image schedule trigger 2023-12-25 10:40:53 +05:30
duplicate-issue-detector.yml
github-release.yml chore: Exit the script if server artifact placer is not available (#36569) 2024-09-30 10:29:20 +05:30
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
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
mastermind-labeler.yml
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 fix: add depot token to dp ci (#36313) 2024-09-13 16:32:47 +05:30
pr-automation.yml ci: Enable Cypress run for master based branches (#35897) 2024-08-27 13:19:19 +05:30
pr-cypress.yml chore: Remove pg build input for build docker as not needed anymore (#36436) 2024-09-20 10:52:42 +05:30
pr-labeler.yml ci: Improve the test file check workflow (#18741) 2022-12-07 14:52:43 +05:30
quality-checks.yml ci: Run server tests on pg branch (#34372) 2024-06-21 12:52:18 +05:30
README.md
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 ci: Don't break on very large PRs 2024-07-03 14:15:25 +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 the channel id for the postgres conflict alerts (#36554) 2024-09-26 11:20:37 +05:30
test-build-docker-image.yml chore: Exit the script if server artifact placer is not available (#36569) 2024-09-30 10:29:20 +05:30
test-storybook.yml fix: test storybook action (#35585) 2024-08-09 20:46:25 +03:00

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