-
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 #1102 from makeplane/stage-release
promote: stage-release to master
- Loading branch information
Showing
325 changed files
with
17,570 additions
and
7,557 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build Api Server Docker Image | ||
name: Build and Push Backend Docker Image | ||
|
||
on: | ||
push: | ||
|
@@ -10,11 +10,8 @@ on: | |
|
||
jobs: | ||
build_push_backend: | ||
name: Build Api Server Docker Image | ||
name: Build and Push Api Server Docker Image | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Check out the repo | ||
|
@@ -28,20 +25,45 @@ jobs: | |
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Login to Github Container Registry | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: "ghcr.io" | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
registry: "registry.hub.docker.com" | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) | ||
id: ghmeta | ||
uses: docker/[email protected] | ||
with: | ||
images: makeplane/plane-backend | ||
|
||
- name: Extract metadata (tags, labels) for Docker (Github) | ||
id: dkrmeta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/${{ github.repository }}-backend | ||
|
||
- name: Build Api Server | ||
- name: Build and Push to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
context: ./apiserver | ||
file: ./apiserver/Dockerfile.api | ||
platforms: linux/arm64,linux/amd64 | ||
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
tags: ${{ steps.ghmeta.outputs.tags }} | ||
labels: ${{ steps.ghmeta.outputs.labels }} | ||
|
||
- name: Build and Push to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
context: ./apiserver | ||
|
@@ -50,5 +72,6 @@ jobs: | |
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
tags: ${{ steps.dkrmeta.outputs.tags }} | ||
labels: ${{ steps.dkrmeta.outputs.labels }} | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build Frontend Docker Image | ||
name: Build and Push Frontend Docker Image | ||
|
||
on: | ||
push: | ||
|
@@ -12,9 +12,6 @@ jobs: | |
build_push_frontend: | ||
name: Build Frontend Docker Image | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Check out the repo | ||
|
@@ -35,13 +32,38 @@ jobs: | |
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
registry: "registry.hub.docker.com" | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker (Docker Hub) | ||
id: ghmeta | ||
uses: docker/[email protected] | ||
with: | ||
images: makeplane/plane-frontend | ||
|
||
- name: Extract metadata (tags, labels) for Docker (Github) | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: ghcr.io/${{ github.repository }}-frontend | ||
|
||
- name: Build Frontend Server | ||
- name: Build and Push to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
file: ./apps/app/Dockerfile.web | ||
platforms: linux/arm64,linux/amd64 | ||
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
tags: ${{ steps.ghmeta.outputs.tags }} | ||
labels: ${{ steps.ghmeta.outputs.labels }} | ||
|
||
- name: Build and Push to Docker Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
|
@@ -50,5 +72,6 @@ jobs: | |
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
tags: ${{ steps.dkrmeta.outputs.tags }} | ||
labels: ${{ steps.dkrmeta.outputs.labels }} | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
</a> | ||
</p> | ||
|
||
Meet Plane. An open-source software development tool to manage issues, sprints, and product roadmaps with peace of mind 🧘♀️. | ||
Meet [Plane](https://plane.so). An open-source software development tool to manage issues, sprints, and product roadmaps with peace of mind 🧘♀️. | ||
|
||
|
||
> Plane is still in its early days, not everything will be perfect yet, and hiccups may happen. Please let us know of any suggestions, ideas, or bugs that you encounter on our [Discord](https://discord.com/invite/A92xrEGCge) or GitHub issues, and we will use your feedback to improve on our upcoming releases. | ||
|
@@ -58,11 +58,18 @@ cd plane | |
|
||
> If running in a cloud env replace localhost with public facing IP address of the VM | ||
- Export Environment Variables | ||
|
||
```bash | ||
set -a | ||
source .env | ||
set +a | ||
``` | ||
|
||
- Run Docker compose up | ||
|
||
```bash | ||
docker-compose up | ||
docker-compose -f docker-compose-hub.yml up | ||
``` | ||
|
||
<strong>You can use the default email and password for your first login `[email protected]` and `password123`.</strong> | ||
|
@@ -128,7 +135,7 @@ To see how to Contribute, visit [here](https://github.com/makeplane/plane/blob/m | |
|
||
The Plane community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects. | ||
|
||
To chat with other community members you can join the [Plane Discord](https://discord.com/invite/q9HKAdau). | ||
To chat with other community members you can join the [Plane Discord](https://discord.com/invite/A92xrEGCge). | ||
|
||
Our [Code of Conduct](https://github.com/makeplane/plane/blob/master/CODE_OF_CONDUCT.md) applies to all Plane community channels. | ||
|
||
|
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
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,30 @@ | ||
from .base import BaseSerializer | ||
from plane.db.models import AnalyticView | ||
from plane.utils.issue_filters import issue_filters | ||
|
||
|
||
class AnalyticViewSerializer(BaseSerializer): | ||
class Meta: | ||
model = AnalyticView | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"workspace", | ||
"query", | ||
] | ||
|
||
def create(self, validated_data): | ||
query_params = validated_data.get("query_dict", {}) | ||
if bool(query_params): | ||
validated_data["query"] = issue_filters(query_params, "POST") | ||
else: | ||
validated_data["query"] = dict() | ||
return AnalyticView.objects.create(**validated_data) | ||
|
||
def update(self, instance, validated_data): | ||
query_params = validated_data.get("query_data", {}) | ||
if bool(query_params): | ||
validated_data["query"] = issue_filters(query_params, "POST") | ||
else: | ||
validated_data["query"] = dict() | ||
validated_data["query"] = issue_filters(query_params, "PATCH") | ||
return super().update(instance, validated_data) |
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
Oops, something went wrong.
5c63292
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 – ./apps/app
plane-theta.vercel.app
app.plane.so
plane-plane.vercel.app
plane-git-master-plane.vercel.app
5c63292
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-hot-fix – ./apps/app
plane-hot-fix-plane.vercel.app
plane-hot-fix.vercel.app
plane-hot-fix-git-hot-fix-plane.vercel.app