-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2091 from makeplane/stage-release
promote: stage release to master
- Loading branch information
Showing
1,109 changed files
with
20,392 additions
and
7,311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build Pull Request Contents | ||
|
||
on: | ||
pull_request: | ||
types: ["opened", "synchronize"] | ||
|
||
jobs: | ||
build-pull-request-contents: | ||
name: Build Pull Request Contents | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
pull-requests: read | ||
|
||
steps: | ||
- name: Checkout Repository to Actions | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js 18.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 18.x | ||
cache: 'yarn' | ||
|
||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v38 | ||
with: | ||
files_yaml: | | ||
apiserver: | ||
- apiserver/** | ||
web: | ||
- web/** | ||
deploy: | ||
- space/** | ||
- name: Setup .npmrc for repository | ||
run: | | ||
echo -e "@tiptap-pro:registry=https://registry.tiptap.dev/\n//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_TOKEN }}" > .npmrc | ||
- name: Build Plane's Main App | ||
if: steps.changed-files.outputs.web_any_changed == 'true' | ||
run: | | ||
mv ./.npmrc ./web | ||
cd web | ||
yarn | ||
yarn build | ||
- name: Build Plane's Deploy App | ||
if: steps.changed-files.outputs.deploy_any_changed == 'true' | ||
run: | | ||
cd space | ||
yarn | ||
yarn build | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
name: Update Docker Images for Plane on Release | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
build_push_backend: | ||
name: Build and Push Api Server Docker Image | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Check out the repo | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Setup .npmrc for repository | ||
run: | | ||
echo -e "@tiptap-pro:registry=https://registry.tiptap.dev/\n//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_TOKEN }}" > .npmrc | ||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) from Github Release | ||
id: metaFrontend | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ secrets.DOCKERHUB_USERNAME }}/plane-frontend | ||
tags: | | ||
type=ref,event=tag | ||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) from Github Release | ||
id: metaBackend | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ secrets.DOCKERHUB_USERNAME }}/plane-backend | ||
tags: | | ||
type=ref,event=tag | ||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) from Github Release | ||
id: metaDeploy | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ secrets.DOCKERHUB_USERNAME }}/plane-deploy | ||
tags: | | ||
type=ref,event=tag | ||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) from Github Release | ||
id: metaProxy | ||
uses: docker/[email protected] | ||
with: | ||
images: ${{ secrets.DOCKERHUB_USERNAME }}/plane-proxy | ||
tags: | | ||
type=ref,event=tag | ||
- name: Build and Push Frontend to Docker Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./web/Dockerfile.web | ||
platforms: linux/amd64 | ||
tags: ${{ steps.metaFrontend.outputs.tags }} | ||
push: true | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKET_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and Push Backend to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
context: ./apiserver | ||
file: ./apiserver/Dockerfile.api | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.metaBackend.outputs.tags }} | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKET_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and Push Plane-Deploy to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./space/Dockerfile.space | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.metaDeploy.outputs.tags }} | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKET_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and Push Plane-Proxy to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
context: ./nginx | ||
file: ./nginx/Dockerfile | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.metaProxy.outputs.tags }} | ||
env: | ||
DOCKER_BUILDKIT: 1 | ||
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKET_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
80bcca7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
plane – ./web/
app.plane.so
plane-theta.vercel.app
plane-git-master-plane.vercel.app
plane-plane.vercel.app