Skip to content

Commit

Permalink
Merge pull request #27 from tookey-io/feature/update-0.16
Browse files Browse the repository at this point in the history
Feature/update 0.16
  • Loading branch information
alerdenisov authored Jan 14, 2024
2 parents c34a25a + 79dba54 commit 20f780d
Show file tree
Hide file tree
Showing 615 changed files with 31,986 additions and 7,855 deletions.
28 changes: 28 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,34 @@
"contributions": [
"plugin"
]
},
{
"login": "la3rence",
"name": "la3rence",
"avatar_url": "https://avatars.githubusercontent.com/u/24540598?v=4",
"profile": "https://lawrenceli.me",
"contributions": [
"plugin"
]
},
{
"login": "dennisrongo",
"name": "Dennis Rongo",
"avatar_url": "https://avatars.githubusercontent.com/u/51771021?v=4",
"profile": "http://dennisrongo.com",
"contributions": [
"bug"
]
},
{
"login": "kartikmehta8",
"name": "Kartik Mehta",
"avatar_url": "https://avatars.githubusercontent.com/u/77505989?v=4",
"profile": "https://github.com/kartikmehta8",
"contributions": [
"doc",
"code"
]
}
],
"commitType": "docs"
Expand Down
41 changes: 41 additions & 0 deletions .github/pre-release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
include-pre-releases: true
exclude-labels:
- 'skip-changelog'
- 'release'
- 'pre-release'
categories:
- title: "✨ Exciting New Features"
labels:
- "🌟 feature"
- title: "🧩 Pieces"
labels:
- "🔌 pieces"
- title: "🛠️ Piece Framework"
labels:
- "🛠️ piece-framework"
- title: "🐞 Bug Fixes"
labels:
- "🐛 bug"
- title: "🎨 Enhancements & Polish"
labels:
- "⭐ enhancement"
- title: "📚 Documentation"
labels:
- "📚 documentation"
- title: "🧹 Maintenance"
labels:
- "🧹 clean up"
- "💻 tech debt"
- title: "Other Changes"
labels:
- "*"
- title: "🖥️ API Changes"
labels:
- "🖥️ api"

template: |
$CHANGES
## Thanks ❤️
$CONTRIBUTORS
4 changes: 3 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include-pre-releases: true
include-pre-releases: false
exclude-labels:
- 'skip-changelog'
- 'release'
- 'pre-release'
categories:
- title: "✨ Exciting New Features"
labels:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows-backup/build-cloud-nx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
parallel-commands-on-agents: |
npx nx affected --target=lint --parallel=3
npx nx affected --target=build --parallel=3
npx nx affected --target=build -c production --parallel=3
npx nx run-many --target=test --projects=engine,shared,backend --parallel=3
agents:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows-backup/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
platforms: |
linux/amd64
linux/arm64
linux/arm/v7
linux/arm/v8
push: true
tags: |
activepieces/activepieces:${{ env.RELEASE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cloud-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
Release:
env:
MY_VERSION: template3
MY_VERSION: sign2
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand All @@ -33,4 +33,4 @@ jobs:
linux/amd64
push: true
tags: |
ghcr.io/activepieces/activepieces-cloud:${{ env.RELEASE }}.${{ env.MY_VERSION }}
ghcr.io/activepieces/activepieces-cloud:${{ env.RELEASE }}.${{ env.MY_VERSION }}
33 changes: 33 additions & 0 deletions .github/workflows/pre-release-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Write Pre Release notes

on:
pull_request:
types: [opened, reopened, synchronize, edited, closed, labeled]

permissions:
contents: write
pull-requests: write

jobs:
Release:
if: contains(github.event.pull_request.labels.*.name, 'pre-release')
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Set RELEASE env var from package.json
run: echo RELEASE=$(node --print "require('./package.json').rcVersion") >> $GITHUB_ENV

- name: Create release notes
uses: release-drafter/release-drafter@v5
with:
config-name: pre-release-drafter.yml
commitish: main
prerelease: true
tag: ${{ env.RELEASE }}
name: ${{ env.RELEASE }}
version: ${{ env.RELEASE }}
latest: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
uses: actions/checkout@v3

- name: Set RELEASE env var from package.json
run: echo RELEASE=$(node --print "require('./package.json').rcVersion") >> $GITHUB_ENV
run: echo RELEASE=$(node --print "require('./package.json').version") >> $GITHUB_ENV

- name: Create release notes
uses: release-drafter/release-drafter@v5
with:
commitish: main
prerelease: true
prerelease: false
tag: ${{ env.RELEASE }}
name: ${{ env.RELEASE }}
version: ${{ env.RELEASE }}
latest: false
latest: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
Release:
if: contains(github.event.pull_request.labels.*.name, 'release')
if: contains(github.event.pull_request.labels.*.name, 'pre-release')
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand Down Expand Up @@ -55,4 +55,4 @@ jobs:
push: true
tags: |
ghcr.io/activepieces/activepieces:${{ env.RELEASE }}
ghcr.io/activepieces/activepieces-cloud:${{ env.CLOUD_RELEASE }}
ghcr.io/activepieces/activepieces-cloud:${{ env.CLOUD_RELEASE }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ testem.log
.DS_Store
Thumbs.db


.angular
.history/
packages/backend/.env
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"javascript.preferences.importModuleSpecifier": "project-relative"
}
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY .npmrc package.json package-lock.json ./
RUN npm ci

COPY . .
RUN npx nx run-many --target=build --projects=backend,ui-core --skip-nx-cache
RUN npx nx run-many --target=build --projects=backend,ui-core --configuration production --skip-nx-cache

# Install backend production dependencies
RUN cd dist/packages/backend && npm install --production --force
Expand Down Expand Up @@ -49,13 +49,14 @@ COPY --from=build /usr/src/app/dist dist
# Copy Output files to appropriate directory from build stage
COPY --from=build /usr/src/app/packages packages

LABEL service=activepieces

# Copy frontend files to Nginx document root directory from build stage
COPY --from=build /usr/src/app/dist/packages/ui/core/ /usr/share/nginx/html/

VOLUME ${AP_CACHE_PATH}
VOLUME ${AP_PACKAGE_ARCHIVE_PATH}


# Set up entrypoint script
COPY docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.0'
services:
activepieces:
image: activepieces/activepieces:0.14.3
image: activepieces/activepieces:0.16.0
container_name: activepieces
restart: unless-stopped
## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info.
Expand Down
3 changes: 3 additions & 0 deletions docs/_snippets/enterprise-feature.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Tip>
These features is only available in Paid edition, if you want to use it, please contact us at `[email protected]`.
</Tip>
Loading

0 comments on commit 20f780d

Please sign in to comment.