Compare commits

..

118 Commits

Author SHA1 Message Date
actions-user
e29b84621c tag version Cal.com version v3.8.2 2024-02-21 00:42:37 +00:00
actions-user
9ebd35f90f Auto updated submodule references 2024-02-20 04:05:17 +00:00
actions-user
1004a05eaa Auto updated submodule references 2024-02-17 04:04:52 +00:00
actions-user
614fcc658d Auto updated submodule references 2024-02-16 04:04:38 +00:00
actions-user
c238de8a65 Auto updated submodule references 2024-02-15 04:04:32 +00:00
actions-user
cbbcca72e0 Auto updated submodule references 2024-02-14 04:04:22 +00:00
actions-user
9e4e764779 Auto updated submodule references 2024-02-13 04:04:12 +00:00
actions-user
617d7ec421 Auto updated submodule references 2024-02-12 04:04:30 +00:00
actions-user
12216641af Auto updated submodule references 2024-02-11 04:04:08 +00:00
actions-user
2b0f668f18 Auto updated submodule references 2024-02-10 04:04:51 +00:00
actions-user
924575106e Auto updated submodule references 2024-02-09 04:04:09 +00:00
Omar López
91015a7239 fix: add missing env variables (#325)
* fix: add missing env variables

* Added DATABASE_DIRECT_URL to README

* Updated text

* Added to build-time variable and removed default

* Removed extra connection string

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2024-02-08 10:06:08 -03:00
actions-user
70ecb7be40 Auto updated submodule references 2024-02-08 04:04:41 +00:00
actions-user
2343fbba23 Auto updated submodule references 2024-02-07 04:04:28 +00:00
actions-user
4324d2cf23 Auto updated submodule references 2024-02-06 04:04:36 +00:00
actions-user
8bf4b08540 Auto updated submodule references 2024-02-05 04:04:12 +00:00
actions-user
519002ff91 Auto updated submodule references 2024-02-04 04:04:11 +00:00
actions-user
3666764226 Auto updated submodule references 2024-02-03 04:04:17 +00:00
actions-user
c4cbe6e4e9 Auto updated submodule references 2024-02-01 04:05:01 +00:00
actions-user
15b7d4b5e4 Auto updated submodule references 2024-01-31 04:04:46 +00:00
actions-user
d2378bf66c Auto updated submodule references 2024-01-30 04:04:12 +00:00
actions-user
aff514fa86 Auto updated submodule references 2024-01-29 04:04:30 +00:00
actions-user
640f2e8cdc Auto updated submodule references 2024-01-28 04:04:21 +00:00
actions-user
dfa2544b6c Auto updated submodule references 2024-01-27 04:04:08 +00:00
actions-user
3200f0345a Auto updated submodule references 2024-01-26 04:05:07 +00:00
actions-user
e215762942 Auto updated submodule references 2024-01-25 04:04:28 +00:00
actions-user
46125e05e3 Auto updated submodule references 2024-01-24 04:04:42 +00:00
Syed Ali Shahbaz
4872e2ccdb Merge pull request #322 from calcom/fix/prerelease-check-build-issues
Attempt to fix pre-release flavor error in build
2024-01-23 17:12:30 +04:00
Syed Ali Shahbaz
2c468dabe8 unrecognized prerelease in flavor--removed 2024-01-23 17:09:46 +04:00
Syed Ali Shahbaz
3319d21c86 Test ~2 2024-01-23 17:01:16 +04:00
Syed Ali Shahbaz
b55ef0ee29 test 2024-01-23 16:57:31 +04:00
actions-user
30f2d169c2 Auto updated submodule references 2024-01-23 04:04:37 +00:00
actions-user
2ae6b6dc76 Auto updated submodule references 2024-01-21 04:04:19 +00:00
actions-user
47df2405ab Auto updated submodule references 2024-01-20 04:04:25 +00:00
actions-user
d83e909f9f Auto updated submodule references 2024-01-19 04:04:35 +00:00
actions-user
b27f452d03 Auto updated submodule references 2024-01-18 04:04:37 +00:00
actions-user
bd43bb65bd Auto updated submodule references 2024-01-17 04:04:30 +00:00
actions-user
62c5ca50a0 Auto updated submodule references 2024-01-16 04:04:32 +00:00
actions-user
e503097a49 Auto updated submodule references 2024-01-15 04:04:38 +00:00
actions-user
aeb60e0a3d Auto updated submodule references 2024-01-13 04:04:15 +00:00
actions-user
fef732420a Auto updated submodule references 2024-01-12 04:04:34 +00:00
actions-user
c5f20f47ab Auto updated submodule references 2024-01-11 04:04:23 +00:00
actions-user
0a561b574b Auto updated submodule references 2024-01-10 04:04:32 +00:00
actions-user
b17d5f4910 Auto updated submodule references 2024-01-09 04:04:39 +00:00
actions-user
9e0d6c150a Auto updated submodule references 2024-01-08 04:04:37 +00:00
actions-user
13fb3c9c1d Auto updated submodule references 2024-01-07 04:04:18 +00:00
actions-user
4ba71f7b9c Auto updated submodule references 2024-01-06 04:04:26 +00:00
actions-user
df4de6092e Auto updated submodule references 2024-01-05 04:04:37 +00:00
actions-user
f101524423 Auto updated submodule references 2024-01-04 04:04:22 +00:00
actions-user
b6c80dfccb Auto updated submodule references 2024-01-03 04:04:45 +00:00
actions-user
20786fc296 Auto updated submodule references 2024-01-02 04:04:28 +00:00
actions-user
66553b3506 Auto updated submodule references 2023-12-31 04:04:21 +00:00
actions-user
cb28a431c8 Auto updated submodule references 2023-12-30 04:04:16 +00:00
actions-user
b6f08fc75c Auto updated submodule references 2023-12-29 04:04:25 +00:00
actions-user
de409f5c9b Auto updated submodule references 2023-12-28 04:04:48 +00:00
actions-user
653cf3924d Auto updated submodule references 2023-12-24 04:04:21 +00:00
actions-user
c73da42f4b Auto updated submodule references 2023-12-23 04:04:25 +00:00
Colin Griffin
dbc8aa7d48 Merge pull request #305 from calcom/fix/skip-pre-release-tag
Identify pre-release in Create Release workflow
2023-12-22 14:12:20 -05:00
actions-user
ae517b2bca Auto updated submodule references 2023-12-22 04:04:32 +00:00
actions-user
61d9746b1c Auto updated submodule references 2023-12-21 04:04:13 +00:00
actions-user
c869387f1a Auto updated submodule references 2023-12-20 04:04:18 +00:00
actions-user
747efb35a6 Auto updated submodule references 2023-12-19 04:04:30 +00:00
actions-user
47ccb38f20 Auto updated submodule references 2023-12-18 04:04:36 +00:00
actions-user
83a87787c6 Auto updated submodule references 2023-12-17 04:04:22 +00:00
actions-user
7d628a5639 Auto updated submodule references 2023-12-16 04:04:24 +00:00
actions-user
fdfc976633 Auto updated submodule references 2023-12-15 04:04:34 +00:00
actions-user
bd85e24f45 Auto updated submodule references 2023-12-14 04:04:28 +00:00
actions-user
62a3e32c4a Auto updated submodule references 2023-12-13 04:04:23 +00:00
actions-user
e23bc10821 Auto updated submodule references 2023-12-12 04:04:26 +00:00
actions-user
dd96115ddf Auto updated submodule references 2023-12-10 04:04:31 +00:00
actions-user
4511b8a5cb Auto updated submodule references 2023-12-09 04:04:29 +00:00
actions-user
7b4a5d4aea Auto updated submodule references 2023-12-08 04:04:36 +00:00
actions-user
f484df66de Auto updated submodule references 2023-12-07 04:04:36 +00:00
actions-user
6ebe2bd8f2 Auto updated submodule references 2023-12-06 04:04:37 +00:00
actions-user
e26a5eecda Auto updated submodule references 2023-12-05 04:04:24 +00:00
actions-user
33c89ec034 Auto updated submodule references 2023-12-04 04:04:29 +00:00
actions-user
11cee9e911 Auto updated submodule references 2023-12-03 04:04:17 +00:00
actions-user
6d9e7c41ff Auto updated submodule references 2023-12-02 04:04:20 +00:00
actions-user
9d56a60d85 Auto updated submodule references 2023-12-01 04:04:22 +00:00
actions-user
47294883d4 Auto updated submodule references 2023-11-30 04:04:29 +00:00
actions-user
3ed7f7b7cb Auto updated submodule references 2023-11-29 04:04:34 +00:00
actions-user
6f45f0e837 Auto updated submodule references 2023-11-28 04:04:15 +00:00
actions-user
2826102030 Auto updated submodule references 2023-11-27 04:04:30 +00:00
actions-user
979e7e36ca Auto updated submodule references 2023-11-26 04:04:08 +00:00
actions-user
c9edbcd537 Auto updated submodule references 2023-11-25 04:04:26 +00:00
actions-user
41ab0167fd Auto updated submodule references 2023-11-24 04:04:28 +00:00
actions-user
e9110c008b Auto updated submodule references 2023-11-23 04:04:29 +00:00
actions-user
244b648cc4 Auto updated submodule references 2023-11-22 04:04:30 +00:00
actions-user
8f8fa9d27c Auto updated submodule references 2023-11-21 04:04:26 +00:00
actions-user
a3454600b6 Auto updated submodule references 2023-11-18 04:04:24 +00:00
actions-user
13d61e9917 Auto updated submodule references 2023-11-17 04:04:21 +00:00
actions-user
a2699d4aa5 Auto updated submodule references 2023-11-16 04:04:31 +00:00
actions-user
de1e01befc Auto updated submodule references 2023-11-15 04:04:25 +00:00
actions-user
6d88667e84 Auto updated submodule references 2023-11-14 04:04:28 +00:00
actions-user
189e57028d Auto updated submodule references 2023-11-13 04:04:19 +00:00
actions-user
7892df8484 Auto updated submodule references 2023-11-12 04:04:07 +00:00
actions-user
7f9fac974c Auto updated submodule references 2023-11-11 04:04:25 +00:00
actions-user
86cd238314 Auto updated submodule references 2023-11-10 04:04:22 +00:00
Syed Ali Shahbaz
bb52fcc61d Add prerelease flavor to meta 2023-11-09 13:01:20 +04:00
Syed Ali Shahbaz
30e01c3741 Only run push if it's not a pre-release 2023-11-09 12:55:18 +04:00
Syed Ali Shahbaz
ae2d7fbd6a mark pre-release when '-rc' in tag 2023-11-09 11:44:24 +04:00
actions-user
49bc08e485 Auto updated submodule references 2023-11-09 04:04:21 +00:00
actions-user
cb34b575a7 Auto updated submodule references 2023-11-08 04:04:08 +00:00
actions-user
ec6ab9ddb6 Auto updated submodule references 2023-11-07 04:04:15 +00:00
actions-user
a93ff42551 Auto updated submodule references 2023-11-04 04:04:12 +00:00
actions-user
7949b536ab Auto updated submodule references 2023-11-03 04:04:24 +00:00
actions-user
b456c44861 Auto updated submodule references 2023-11-02 04:04:20 +00:00
actions-user
caf2d93632 Auto updated submodule references 2023-11-01 04:04:25 +00:00
actions-user
a5eed610aa Auto updated submodule references 2023-10-31 04:04:19 +00:00
actions-user
905a2832f2 Auto updated submodule references 2023-10-29 04:04:27 +00:00
actions-user
592ac2fb0e Auto updated submodule references 2023-10-28 04:04:10 +00:00
actions-user
0f1cf770cc Auto updated submodule references 2023-10-27 04:04:18 +00:00
actions-user
8d8b18e5bd Auto updated submodule references 2023-10-26 04:04:15 +00:00
actions-user
736dfecc0c Auto updated submodule references 2023-10-25 04:04:34 +00:00
actions-user
4679fc0ddf Auto updated submodule references 2023-10-24 04:04:20 +00:00
actions-user
5956e7f1a0 Auto updated submodule references 2023-10-23 04:04:20 +00:00
actions-user
d8cb522055 Auto updated submodule references 2023-10-21 04:04:32 +00:00
actions-user
a728ac7339 Auto updated submodule references 2023-10-20 04:04:24 +00:00
7 changed files with 36 additions and 19 deletions

View File

@@ -32,6 +32,9 @@ POSTGRES_PASSWORD=magical_password
POSTGRES_DB=calendso POSTGRES_DB=calendso
DATABASE_HOST=database:5432 DATABASE_HOST=database:5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
# Needed to run migrations while using a connection pooler like PgBouncer
# Use the same one as DATABASE_URL if you're not using a connection pooler
DATABASE_DIRECT_URL=${DATABASE_URL}
GOOGLE_API_CREDENTIALS={} GOOGLE_API_CREDENTIALS={}
# Set this to '1' if you don't want Cal to collect anonymous usage # Set this to '1' if you don't want Cal to collect anonymous usage

View File

@@ -39,6 +39,7 @@ jobs:
with: with:
github-token: "${{ secrets.ACTIONS_ACCESS_TOKEN }}" github-token: "${{ secrets.ACTIONS_ACCESS_TOKEN }}"
script: | script: |
const isPreRelease = '${{ inputs.RELEASE_TAG }}'.includes('-rc');
try { try {
const response = await github.rest.repos.createRelease({ const response = await github.rest.repos.createRelease({
draft: false, draft: false,
@@ -47,7 +48,7 @@ jobs:
name: '${{ inputs.RELEASE_TAG }}', name: '${{ inputs.RELEASE_TAG }}',
target_commitish: 'release-${{ inputs.RELEASE_TAG }}', target_commitish: 'release-${{ inputs.RELEASE_TAG }}',
owner: context.repo.owner, owner: context.repo.owner,
prerelease: false, prerelease: isPreRelease,
repo: context.repo.repo, repo: context.repo.repo,
tag_name: '${{ inputs.RELEASE_TAG }}', tag_name: '${{ inputs.RELEASE_TAG }}',
}); });

View File

@@ -75,6 +75,9 @@ jobs:
docker.io/calendso/calendso docker.io/calendso/calendso
docker.io/calcom/cal.com docker.io/calcom/cal.com
ghcr.io/calcom/cal.com ghcr.io/calcom/cal.com
# Add flavor latest only on full releases, not on pre-releases
flavor: |
latest=${{ !github.event.release.prerelease }}
- name: Copy env - name: Copy env
run: | run: |
@@ -118,6 +121,7 @@ jobs:
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }} NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }} NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }} DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
- name: Test runtime - name: Test runtime
run: | run: |
@@ -128,6 +132,7 @@ jobs:
docker run --rm --network stack \ docker run --rm --network stack \
-p 3000:3000 \ -p 3000:3000 \
-e DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \ -e DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \
-e DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@database/${{ env.POSTGRES_DB }} \
-e NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} \ -e NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} \
-e CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \ -e CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \
$tag & $tag &
@@ -184,6 +189,8 @@ jobs:
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }} NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }} NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }} DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
if: ${{ !github.event.release.prerelease }}
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }} run: echo ${{ steps.docker_build.outputs.digest }}

View File

@@ -13,6 +13,7 @@ ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \ NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \ CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
DATABASE_URL=$DATABASE_URL \ DATABASE_URL=$DATABASE_URL \
DATABASE_DIRECT_URL=$DATABASE_URL \
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \ NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \ CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE}

View File

@@ -206,7 +206,8 @@ These variables must also be provided at runtime
| NEXTAUTH_URL | Location of the auth server. By default, this is the Cal.com docker instance itself. | optional | `{NEXT_PUBLIC_WEBAPP_URL}/api/auth` | | NEXTAUTH_URL | Location of the auth server. By default, this is the Cal.com docker instance itself. | optional | `{NEXT_PUBLIC_WEBAPP_URL}/api/auth` |
| NEXTAUTH_SECRET | must match build variable | required | `secret` | | NEXTAUTH_SECRET | must match build variable | required | `secret` |
| CALENDSO_ENCRYPTION_KEY | must match build variable | required | `secret` | | CALENDSO_ENCRYPTION_KEY | must match build variable | required | `secret` |
| DATABASE_URL | database url with credentials | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` | | DATABASE_URL | database url with credentials - if using a connection pooler, this setting should point there | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| DATABASE_DIRECT_URL | direct database url with credentials if using a connection pooler (e.g. PgBouncer, Prisma Accelerate, etc.) | optional | |
### Build-time variables ### Build-time variables
@@ -219,7 +220,8 @@ Updating these variables is not required for evaluation, but is required for run
| NEXT_PUBLIC_WEBAPP_URL | Base URL injected into static files | optional | `http://localhost:3000` | | NEXT_PUBLIC_WEBAPP_URL | Base URL injected into static files | optional | `http://localhost:3000` |
| NEXT_PUBLIC_LICENSE_CONSENT | license consent - true/false | | | | NEXT_PUBLIC_LICENSE_CONSENT | license consent - true/false | | |
| CALCOM_TELEMETRY_DISABLED | Allow cal.com to collect anonymous usage data (set to `1` to disable) | | | | CALCOM_TELEMETRY_DISABLED | Allow cal.com to collect anonymous usage data (set to `1` to disable) | | |
| DATABASE_URL | database url with credentials | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` | | DATABASE_URL | database url with credentials - if using a connection pooler, this setting should point there | required | `postgresql://unicorn_user:magical_password@database:5432/calendso` |
| DATABASE_DIRECT_URL | direct database url with credentials if using a connection pooler (e.g. PgBouncer, Prisma Accelerate, etc.) | optional | |
| NEXTAUTH_SECRET | Cookie encryption key | required | `secret` | | NEXTAUTH_SECRET | Cookie encryption key | required | `secret` |
| CALENDSO_ENCRYPTION_KEY | Authentication encryption key | required | `secret` | | CALENDSO_ENCRYPTION_KEY | Authentication encryption key | required | `secret` |

2
calcom

Submodule calcom updated: 59fa713549...75d5576e17

View File

@@ -32,6 +32,7 @@ services:
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET} NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY} CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}
DATABASE_URL: ${DATABASE_URL} DATABASE_URL: ${DATABASE_URL}
DATABASE_DIRECT_URL: ${DATABASE_URL}
network: stack network: stack
restart: always restart: always
networks: networks:
@@ -41,6 +42,7 @@ services:
env_file: .env env_file: .env
environment: environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
- DATABASE_DIRECT_URL=${DATABASE_URL}
depends_on: depends_on:
- database - database
@@ -55,6 +57,7 @@ services:
env_file: .env env_file: .env
environment: environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
- DATABASE_DIRECT_URL=${DATABASE_URL}
depends_on: depends_on:
- database - database
command: command: