Skip to content

chore: Deploy preview of a PR#19988

Merged
mohanarpit merged 3 commits intoreleasefrom
ce/deploy-preview/github-action
Jan 26, 2023
Merged

chore: Deploy preview of a PR#19988
mohanarpit merged 3 commits intoreleasefrom
ce/deploy-preview/github-action

Conversation

@pratapaprasanna
Copy link
Copy Markdown
Contributor

@pratapaprasanna pratapaprasanna commented Jan 23, 2023

Successful-run: https://github.com/appsmithorg/appsmith-ci/actions/runs/3986060223

Example: appsmithorg#2

How to trigger the workflow

Reference

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

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
appsmith ⬜️ Ignored (Inspect) Jan 26, 2023 at 8:21AM (UTC)

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Jan 23, 2023

  • Added a new workflow to build and deploy the preview of PRs.
  • The script is triggered by commenting "/build-deploy-preview" on any pull request in this repository, which emits a repository_dispatch event that triggers the workflow run.
  • This will create an image with hash as tag from all three repositories (client, server & rts) and push it to docker hub organization repo appsmith/appsmith-ce: .
  • Then using helm chart we are deploying these images into kubernetes cluster for testing purpose before merging them into master branch so that they can be tested properly without affecting production environment or other developers work who might have been working on different branches at same time but not yet merged their codebase into master branch due to some reason like bug fixes etc..

@github-actions github-actions bot added the skip-changelog Adding this label to a PR prevents it from being listed in the changelog label Jan 23, 2023
@pratapaprasanna pratapaprasanna self-assigned this Jan 23, 2023
@pratapaprasanna pratapaprasanna force-pushed the ce/deploy-preview/github-action branch from 5055346 to 2b0e337 Compare January 23, 2023 11:47
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/build-deploy-preview.yml Outdated
Comment thread .github/workflows/deploy-preview.yml Outdated
Comment thread scripts/deploy_preview.sh Outdated
@pratapaprasanna pratapaprasanna changed the title chore: deploys a deploy-preview with PR as input chore: Deploy a preview of a PR Jan 23, 2023
@pratapaprasanna pratapaprasanna force-pushed the ce/deploy-preview/github-action branch from 2b0e337 to b78d8fa Compare January 23, 2023 12:28
@pratapaprasanna pratapaprasanna changed the title chore: Deploy a preview of a PR chore: Deploy preview of a PR Jan 23, 2023
Comment thread .github/workflows/on-demand-build-docker-image-deploy-preview.yml Outdated
Comment thread .github/workflows/on-demand-build-docker-image-deploy-preview.yml Outdated
Comment thread .github/workflows/on-demand-build-docker-image-deploy-preview.yml Outdated
Comment thread scripts/deploy_preview.sh Outdated
@pratapaprasanna pratapaprasanna force-pushed the ce/deploy-preview/github-action branch from b78d8fa to a187446 Compare January 24, 2023 04:48
@pratapaprasanna pratapaprasanna force-pushed the ce/deploy-preview/github-action branch from a187446 to bdd4aee Compare January 24, 2023 04:49
@mohanarpit mohanarpit merged commit 5ad6459 into release Jan 26, 2023
@mohanarpit mohanarpit deleted the ce/deploy-preview/github-action branch January 26, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Adding this label to a PR prevents it from being listed in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants