Compare commits

...

151 Commits

Author SHA1 Message Date
actions-user
540c2f28b1 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 32m54s
2025-07-03 04:01:03 +00:00
actions-user
6fc6977161 Auto updated submodule references 2025-07-02 04:01:05 +00:00
actions-user
c2d396a37f Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m25s
2025-07-01 16:17:40 +00:00
actions-user
b20416b7c5 Auto updated submodule references 2025-07-01 04:01:05 +00:00
actions-user
be9949c74f Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 33m45s
2025-06-30 14:24:38 +00:00
actions-user
91c4718897 Auto updated submodule references 2025-06-30 04:01:03 +00:00
actions-user
b114c72af5 Auto updated submodule references 2025-06-29 04:01:02 +00:00
actions-user
883a5bcccc Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 36m30s
2025-06-28 04:01:03 +00:00
actions-user
36c0060397 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 30m58s
2025-06-27 04:01:07 +00:00
actions-user
da3b1211e6 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 32m57s
2025-06-26 01:55:13 +00:00
actions-user
c851c8ae7c Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 30m55s
2025-06-25 04:01:06 +00:00
actions-user
3f49c16e37 Auto updated submodule references 2025-06-24 04:01:03 +00:00
actions-user
b1829d3728 Auto updated submodule references 2025-06-23 04:01:01 +00:00
actions-user
7d279b7d0f Auto updated submodule references 2025-06-22 04:01:03 +00:00
actions-user
6c30d0dea4 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 29m53s
2025-06-21 04:01:04 +00:00
2fb5ba6951 Add .github/workflows/create-release-from-commit.yaml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
Update Calendso / Submodules Sync (push) Successful in 45s
2025-06-20 15:06:01 +00:00
actions-user
afee38ade6 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 30m8s
2025-06-20 04:01:01 +00:00
actions-user
619be2651b Auto updated submodule references 2025-06-19 04:01:02 +00:00
actions-user
211d89990d Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m34s
2025-06-18 04:01:02 +00:00
actions-user
7d414fc970 Auto updated submodule references 2025-06-17 04:01:04 +00:00
actions-user
320f9bd6b6 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m50s
2025-06-16 18:30:17 +00:00
actions-user
3de73a337c Auto updated submodule references 2025-06-16 04:01:05 +00:00
actions-user
2f9db8e1ba Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m10s
2025-06-14 04:01:02 +00:00
actions-user
8772a23697 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 32m1s
2025-06-13 04:01:02 +00:00
0c2562a6d1 Update .github/workflows/docker-build-push-dockerhub.yml
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m13s
Update Calendso / Submodules Sync (push) Successful in 44s
2025-06-12 15:53:32 +00:00
actions-user
be6595e799 Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 29m48s
2025-06-12 04:01:19 +00:00
d269688e8e Update .github/workflows/create-release.yaml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
Update Calendso / Submodules Sync (push) Successful in 1m0s
2025-06-11 13:50:36 +00:00
c94a3bc059 Update .github/workflows/create-release.yaml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-06-11 13:44:09 +00:00
actions-user
a37a3a8ea6 Auto updated submodule references 2025-06-11 04:01:01 +00:00
actions-user
48773914c3 Auto updated submodule references 2025-06-10 15:18:46 +00:00
actions-user
4d25dc387f Auto updated submodule references
All checks were successful
Build and push image to DockerHub / build (push) Successful in 31m48s
2025-06-10 04:01:03 +00:00
actions-user
d680e9dd0c Auto updated submodule references 2025-06-08 04:01:01 +00:00
actions-user
61580b4077 Auto updated submodule references 2025-06-07 04:01:02 +00:00
actions-user
cd1812c018 Auto updated submodule references 2025-06-06 04:01:04 +00:00
actions-user
082c271566 Auto updated submodule references 2025-06-05 04:01:01 +00:00
actions-user
16b6ca1d15 Auto updated submodule references 2025-06-04 04:01:07 +00:00
actions-user
21988157be Auto updated submodule references 2025-06-03 04:01:02 +00:00
actions-user
0da432412d Auto updated submodule references 2025-06-02 09:13:50 +00:00
4126000894 Delete .github/workflows/scarf-data-export.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
Update Calendso / Submodules Sync (push) Successful in 44s
2025-06-01 20:40:48 +00:00
3f2e980576 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Successful in 29m40s
Update Calendso / Submodules Sync (push) Successful in 54s
Export Scarf data / export-scarf-data (push) Has been cancelled
2025-05-31 21:30:53 +00:00
ad677f7578 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 20:32:43 +00:00
7a2cdfbdc6 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 34m4s
2025-05-31 19:26:12 +00:00
429870e999 Update .github/workflows/update-submodules.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 19:21:41 +00:00
683bda9917 Update .github/workflows/create-release.yaml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 19:21:12 +00:00
512dc4c961 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 4m5s
2025-05-31 18:21:20 +00:00
77736a4016 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 1m4s
2025-05-31 17:38:08 +00:00
292fe3e3b7 Update .github/workflows/docker-build-push-dockerhub.yml 2025-05-31 17:37:31 +00:00
4218914507 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 8s
2025-05-31 17:12:24 +00:00
d21ff3e22a Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 9s
2025-05-31 17:03:12 +00:00
4349a7061c Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 49s
2025-05-31 17:00:46 +00:00
139f2ab9e7 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 2m21s
2025-05-31 16:55:18 +00:00
2844760af0 Update .github/workflows/create-release.yaml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 16:55:05 +00:00
f3fe888ff2 Update .github/workflows/scarf-data-export.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 16:54:47 +00:00
c8b8d1dd0c Update .github/workflows/update-submodules.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 16:54:34 +00:00
86d3bcd1eb Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 14:06:22 +00:00
361262a9da Update Dockerfile
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 13:56:57 +00:00
3f405451b8 Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 13:55:56 +00:00
actions-user
f1971aae35 Auto updated submodule references 2025-05-31 04:06:56 +00:00
Peer Richelsen
cf5b0b1fef Merge pull request #433 from kevinkupski/fix-policy-and-term-links 2025-05-30 17:45:47 +02:00
actions-user
8d0298a0fa Auto updated submodule references 2025-05-30 04:07:42 +00:00
actions-user
20728bc165 Auto updated submodule references 2025-05-29 04:08:38 +00:00
actions-user
590daea528 Auto updated submodule references 2025-05-28 04:07:54 +00:00
actions-user
82b90f66d9 Auto updated submodule references 2025-05-27 04:09:27 +00:00
actions-user
3b7e2c24fb Auto updated submodule references 2025-05-26 04:09:46 +00:00
actions-user
8a335a518c Auto updated submodule references 2025-05-25 04:09:55 +00:00
actions-user
4c389a68de Auto updated submodule references 2025-05-24 04:06:06 +00:00
actions-user
a6cdd9e644 Auto updated submodule references 2025-05-23 04:06:53 +00:00
actions-user
765de200f9 Auto updated submodule references 2025-05-22 04:08:05 +00:00
actions-user
7d29b6fde2 Auto updated submodule references 2025-05-21 04:07:21 +00:00
actions-user
6ed56fcc1f Auto updated submodule references 2025-05-20 04:07:09 +00:00
actions-user
54db06f0a1 Auto updated submodule references 2025-05-19 04:10:47 +00:00
actions-user
7330873692 Auto updated submodule references 2025-05-18 04:09:23 +00:00
actions-user
42e26b039a Auto updated submodule references 2025-05-17 04:06:17 +00:00
actions-user
bce3e9145b Auto updated submodule references 2025-05-16 04:07:43 +00:00
actions-user
2c2e303667 Auto updated submodule references 2025-05-15 04:06:43 +00:00
actions-user
566b205545 Auto updated submodule references 2025-05-14 04:06:53 +00:00
actions-user
2d9e617da7 Auto updated submodule references 2025-05-13 04:07:12 +00:00
actions-user
9fdd9b5043 Auto updated submodule references 2025-05-11 04:07:06 +00:00
actions-user
95344d5b8e Auto updated submodule references 2025-05-10 04:05:51 +00:00
actions-user
66479ad7e3 Auto updated submodule references 2025-05-09 04:06:39 +00:00
actions-user
6eba41e7ad Auto updated submodule references 2025-05-08 04:07:03 +00:00
actions-user
d7b9851d29 Auto updated submodule references 2025-05-07 04:06:28 +00:00
actions-user
9ccc13f524 Auto updated submodule references 2025-05-06 04:06:24 +00:00
Kevin Kupski
6ec69e18b9 Fix configuration for privacy policy and terms URLs 2025-05-05 19:28:19 +02:00
Peer Richelsen
5f7a6ce637 Merge pull request #432 from creyD/patch-1 2025-05-05 15:39:24 +01:00
Conrad
87a2f7bc50 fix: adressed docker warnings 2025-05-05 10:51:54 +02:00
actions-user
1ce3e40476 Auto updated submodule references 2025-05-05 04:07:24 +00:00
actions-user
0e40ef9686 Auto updated submodule references 2025-05-03 04:05:42 +00:00
actions-user
6fd9f27bff Auto updated submodule references 2025-05-02 04:06:21 +00:00
actions-user
573a462e8d Auto updated submodule references 2025-05-01 04:09:12 +00:00
Peer Richelsen
0ef4ff6acc Merge pull request #381 from mokkin/patch-2 2025-04-30 18:41:50 +01:00
Peer Richelsen
50dc054e16 Merge pull request #380 from dvusboy/replace-placeholder-speedup 2025-04-30 18:41:25 +01:00
Peer Richelsen
88f5c5507d Merge pull request #427 from justinb-dfw/main 2025-04-30 18:36:17 +01:00
Peer Richelsen
dc14d4e4fd Merge pull request #429 from nnethery/GHA-dockerfile-patch 2025-04-30 18:36:02 +01:00
actions-user
fd3bf3b54d Auto updated submodule references 2025-04-30 04:06:22 +00:00
actions-user
11795cb920 Auto updated submodule references 2025-04-29 04:06:17 +00:00
actions-user
3d72150f36 Auto updated submodule references 2025-04-28 04:06:36 +00:00
actions-user
4a5f8e2ee8 Auto updated submodule references 2025-04-27 04:05:55 +00:00
actions-user
85e5fb426b Auto updated submodule references 2025-04-26 04:05:49 +00:00
actions-user
c9feaeade4 Auto updated submodule references 2025-04-25 04:06:24 +00:00
actions-user
41dfc814a1 Auto updated submodule references 2025-04-24 04:06:29 +00:00
actions-user
5517d5bea3 Auto updated submodule references 2025-04-23 04:06:23 +00:00
actions-user
7d4c6263ce Auto updated submodule references 2025-04-22 04:06:07 +00:00
actions-user
3dab184c3c Auto updated submodule references 2025-04-21 04:06:30 +00:00
actions-user
0c3e5c7b75 Auto updated submodule references 2025-04-20 04:05:46 +00:00
actions-user
9721b2b32e Auto updated submodule references 2025-04-19 04:05:41 +00:00
actions-user
7c899622b5 Auto updated submodule references 2025-04-18 04:06:09 +00:00
5bd7a1e636 Fix GHA docker builds 2025-04-17 19:51:32 -06:00
actions-user
cca794f103 Auto updated submodule references 2025-04-17 04:06:16 +00:00
actions-user
9908a2a945 Auto updated submodule references 2025-04-16 04:06:13 +00:00
justinbowenraya
6da2131c5f Update README.md 2025-04-15 12:06:42 -05:00
actions-user
abe271f0c9 Auto updated submodule references 2025-04-15 04:06:25 +00:00
actions-user
513748fb2e Auto updated submodule references 2025-04-13 04:31:17 +00:00
actions-user
4f394b2b8b Auto updated submodule references 2025-04-12 04:05:48 +00:00
actions-user
1580fa106c Auto updated submodule references 2025-04-11 04:06:20 +00:00
Peer Richelsen
3bc7c85842 Merge pull request #378 from nicostuhlfauth/main 2025-04-10 21:10:56 +02:00
Peer Richelsen
d3d720e982 Merge pull request #419 from unknown7703/renderyml_fix 2025-04-10 21:07:26 +02:00
actions-user
bac2ceb902 Auto updated submodule references 2025-04-10 04:06:19 +00:00
actions-user
14cb4d8206 Auto updated submodule references 2025-04-09 04:06:15 +00:00
actions-user
5dd3e7693d Auto updated submodule references 2025-04-08 04:06:10 +00:00
actions-user
0743108903 Auto updated submodule references 2025-04-07 04:06:14 +00:00
actions-user
b558ea9de2 Auto updated submodule references 2025-04-06 04:05:37 +00:00
actions-user
00ef51583d Auto updated submodule references 2025-04-05 04:05:36 +00:00
actions-user
dad9b467a1 Auto updated submodule references 2025-04-04 04:06:05 +00:00
actions-user
6c809a245a Auto updated submodule references 2025-04-03 04:06:20 +00:00
actions-user
782b3b6ef4 Auto updated submodule references 2025-04-02 04:06:01 +00:00
actions-user
3731f79161 Auto updated submodule references 2025-04-01 04:06:55 +00:00
actions-user
cd960074f7 Auto updated submodule references 2025-03-31 04:06:19 +00:00
actions-user
b953320385 Auto updated submodule references 2025-03-30 04:05:35 +00:00
actions-user
6f52eccc8d Auto updated submodule references 2025-03-29 04:05:42 +00:00
actions-user
057cb84882 Auto updated submodule references 2025-03-28 04:05:53 +00:00
actions-user
df57468382 Auto updated submodule references 2025-03-27 04:05:58 +00:00
actions-user
e5a749e98f Auto updated submodule references 2025-03-26 04:06:14 +00:00
actions-user
7cc329a4db Auto updated submodule references 2025-03-25 04:06:14 +00:00
actions-user
dd17a75674 Auto updated submodule references 2025-03-24 04:06:16 +00:00
actions-user
27354422ce Auto updated submodule references 2025-03-23 04:05:34 +00:00
actions-user
fd95e1ea1a Auto updated submodule references 2025-03-22 04:05:30 +00:00
actions-user
689173aad3 Auto updated submodule references 2025-03-21 04:06:03 +00:00
actions-user
cbb2742c01 Auto updated submodule references 2025-03-20 04:05:51 +00:00
actions-user
0ee82978fd Auto updated submodule references 2025-03-19 04:05:44 +00:00
actions-user
744c8b70d8 Auto updated submodule references 2025-03-18 04:06:04 +00:00
actions-user
e56114742e Auto updated submodule references 2025-03-17 04:06:20 +00:00
actions-user
da3d4c63f6 Auto updated submodule references 2025-03-16 04:05:23 +00:00
actions-user
1a5378932e Auto updated submodule references 2025-03-15 04:05:32 +00:00
actions-user
09aa825856 Auto updated submodule references 2025-03-14 04:05:45 +00:00
actions-user
3c5f2abee7 Auto updated submodule references 2025-03-13 04:06:05 +00:00
actions-user
aa39828980 Auto updated submodule references 2025-03-12 04:06:14 +00:00
Aatreya
3589df075e fix: updated database plan name 2025-03-06 13:11:21 +05:30
mokkin
97be50b673 version is obsolete 2024-09-24 11:58:50 +02:00
K.C. Wong
7a298b2de3 Update replace-placeholder.sh
Speed up the replacement loop

* only look at files with "$FROM" pattern
2024-09-20 17:34:28 -07:00
Nicolas Stuhlfauth
137cc0d59c chore: Add EMAIL_FROM_NAME to .env.example 2024-09-18 19:51:37 +02:00
11 changed files with 268 additions and 194 deletions

View File

@@ -51,6 +51,7 @@ ZOOM_CLIENT_SECRET=
# E-mail settings
# Configures the global From: header whilst sending emails.
EMAIL_FROM_NAME=YourOrganizationName
EMAIL_FROM=notifications@example.com
# Configure SMTP settings (@see https://nodemailer.com/smtp/).

View File

@@ -0,0 +1,64 @@
name: "Create Release Tag"
on:
workflow_dispatch:
inputs:
version:
description: 'The new release tag to create (e.g., v3.8.1)'
required: true
type: string
commit_sha:
description: 'The short commit SHA from the calcom submodule to use for this release'
required: true
type: string
jobs:
release:
name: "Tag Release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout main branch to get starting point"
uses: "actions/checkout@v4"
with:
token: ${{ secrets.TOKEN_GITEA }}
# We check out main, but will create the release commit off of it
# without modifying the branch itself.
ref: 'main'
submodules: true
- name: "Create Release Commit and Tag"
run: |
# Configure git user for the commit
git config user.email "actions@gitea.local"
git config user.name "Gitea Actions"
echo "Updating submodule to commit ${{ inputs.commit_sha }}..."
# Navigate into the submodule, fetch latest history, and check out the specific commit.
# This modifies the submodule's checked-out version in the working directory.
cd calcom
git fetch origin
git checkout ${{ inputs.commit_sha }}
cd ..
# Stage the change to the submodule pointer.
git add calcom
# Create a NEW commit. This commit is NOT on the main branch.
# It's a "dangling" commit that only HEAD is pointing to at this moment.
# The parent of this new commit is the latest commit from 'main'.
git commit -m "release: Version ${{ inputs.version }} with calcom at ${{ inputs.commit_sha }}"
# Get the full SHA of the new commit we just created.
NEW_COMMIT_SHA=$(git rev-parse HEAD)
echo "Created new release commit: $NEW_COMMIT_SHA"
echo "Creating and pushing tag ${{ inputs.version }}..."
# Create an annotated tag pointing directly at our new, branchless commit.
git tag -a "${{ inputs.version }}" -m "Release ${{ inputs.version }}" $NEW_COMMIT_SHA
# Push ONLY the new tag to the repository. Git will automatically send
# the required commit object ($NEW_COMMIT_SHA) along with the tag.
git push origin "${{ inputs.version }}"

View File

@@ -1,60 +1,77 @@
name: "Create Release"
name: "Create Gitea Release"
on: # yamllint disable-line rule:truthy
# This workflow is triggered manually from the Gitea Actions UI
on:
workflow_dispatch:
inputs:
RELEASE_TAG:
description: 'v{Major}.{Minor}.{Patch}'
description: 'The release tag to create, formatted as v{Major}.{Minor}.{Patch}'
required: true
jobs:
release:
name: "Release"
permissions:
contents: write
runs-on: "ubuntu-latest"
steps:
# Step 1: Check out the repository source code and its submodules.
# The TOKEN_GITEA is used here to grant permission for the later 'git push'.
- name: Checkout source
uses: actions/checkout@v3
uses: "actions/checkout@v4"
with:
token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
token: ${{ secrets.TOKEN_GITEA }}
submodules: true
- name: Create branch and tag submodule
# Step 2: Create a new release branch, update the submodule to the specified tag,
# and push the new branch to the Gitea repository.
- name: Create Branch and Update Submodule
run: |
git config user.email "actions@github.com"
git config user.name "actions-user"
git submodule update --init --remote
# Configure git user for the commit
git config user.email "actions@gitea.local"
git config user.name "Gitea Actions"
# Create the new release branch
git checkout -b 'release-${{ inputs.RELEASE_TAG }}'
# Enter the submodule directory, fetch the latest tags, and check out the correct one.
# This points the submodule to the specific commit associated with the release tag.
(cd calcom && git fetch --tags origin && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}')
# Stage and commit the change to the submodule pointer
git add calcom
git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}"
git commit -m "Update submodule to Cal.com version ${{ inputs.RELEASE_TAG }}"
# Push the newly created release branch to the remote Gitea repository
git push origin 'release-${{ inputs.RELEASE_TAG }}'
# note: instead of secrets.GITHUB_TOKEN here, we need to use a PAT
# so that the release creation triggers the image build workflow
- name: "Create release"
uses: "actions/github-script@v6"
with:
github-token: "${{ secrets.ACTIONS_ACCESS_TOKEN }}"
script: |
const isPreRelease = '${{ inputs.RELEASE_TAG }}'.includes('-rc');
try {
const response = await github.rest.repos.createRelease({
draft: false,
generate_release_notes: true,
body: 'For Cal.com release details, see: https://github.com/calcom/cal.com/releases/tag/${{ inputs.RELEASE_TAG }}',
name: '${{ inputs.RELEASE_TAG }}',
target_commitish: 'release-${{ inputs.RELEASE_TAG }}',
owner: context.repo.owner,
prerelease: isPreRelease,
repo: context.repo.repo,
tag_name: '${{ inputs.RELEASE_TAG }}',
});
# Step 3: Call the Gitea API to create the official release object.
# This uses the same API token to authorize the action.
- name: "Create Gitea Release"
env:
GITEA_TOKEN: ${{ secrets.TOKEN_GITEA }}
GITEA_API_URL: https://git.nethery.dev/api/v1
OWNER: ${{ gitea.repository_owner }}
REPO: ${{ gitea.repository_name }}
run: |
# Determine if the tag indicates a pre-release
is_prerelease=false
if [[ "${{ inputs.RELEASE_TAG }}" == *"-rc"* || "${{ inputs.RELEASE_TAG }}" == *"-beta"* ]]; then
is_prerelease=true
fi
core.exportVariable('RELEASE_ID', response.data.id);
core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
} catch (error) {
core.setFailed(error.message);
}
echo "Creating release ${{ inputs.RELEASE_TAG }}..."
echo "Is prerelease: $is_prerelease"
# Use curl to send a POST request to the Gitea API's 'create release' endpoint
curl --fail --silent --show-error -L -X POST \
-H "accept: application/json" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${GITEA_API_URL}/repos/${OWNER}/${REPO}/releases" \
-d '{
"tag_name": "${{ inputs.RELEASE_TAG }}",
"target_commitish": "release-${{ inputs.RELEASE_TAG }}",
"name": "${{ inputs.RELEASE_TAG }}",
"body": "For Cal.com release details, see: https://github.com/calcom/cal.com/releases/tag/${{ inputs.RELEASE_TAG }}",
"prerelease": '${is_prerelease}'
}'

View File

@@ -49,6 +49,11 @@ jobs:
# with:
# ref: ${{ github.event.inputs.version }}
- name: Base requirements
run: |
# packages
apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible
- name: checkout
uses: actions/checkout@v4
@@ -59,29 +64,23 @@ jobs:
- name: Log in to the Docker Hub registry
uses: docker/login-action@v3
with:
# Username used to log against the Docker registry
username: ${{ secrets.DOCKER_HUB_USERNAME }}
# Password or personal access token used to log against the Docker registry
password: ${{ secrets.DOCKER_HUB_TOKEN }}
# Log out from the Docker registry at the end of a job
logout: true # optional, default is true
- name: Log in to the Github Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: nnethery
password: ${{ secrets.GHCR_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
docker.io/calendso/calendso
docker.io/calcom/cal.com
ghcr.io/calcom/cal.com
# Add flavor latest only on full releases, not on pre-releases
ghcr.io/nnethery/cal.com
nnethery/cal.com
flavor: |
latest=${{ !github.event.release.prerelease }}
@@ -93,8 +92,6 @@ jobs:
eval $(sed -e '/^#/d' -e 's/^/export /' -e 's/$/;/' .env) ;
# Temporarily disable ARM build due to runner performance issues
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
- name: Start database
run: |
@@ -107,9 +104,9 @@ jobs:
network=container:database
buildkitd-flags: |
--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
# config-inline: |
# [worker.oci]
# max-parallelism = 1
# config-inline: |
# [worker.oci]
# max-parallelism = 1
- name: Build image
id: docker_build
@@ -118,8 +115,8 @@ jobs:
context: ./
file: ./Dockerfile
load: true # Load the image into the Docker daemon
push: false # Do not push the image at this stage
platforms: linux/amd64
push: false # Do not push the image at this stage
platforms: linux/arm64 # Changed from linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
@@ -130,47 +127,49 @@ jobs:
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
run: |
tags="${{ steps.meta.outputs.tags }}"
IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
tag=${ADDR[0]} # Get the first tag
# - name: Test runtime
# run: |
# tags="${{ steps.meta.outputs.tags }}"
# IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
# tag=${ADDR[0]} # Get the first tag
docker run --rm --network stack \
-p 3000:3000 \
-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 CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \
$tag &
# docker run --rm --network stack \
# -p 3000:3000 \
# -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 CALENDSO_ENCRYPTION_KEY=${{ env.CALENDSO_ENCRYPTION_KEY }} \
# $tag &
server_pid=$!
# server_pid=$!
echo "Waiting for the server to start..."
sleep 120
# echo "Waiting for the server to start..."
# sleep 120
echo ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login
# echo ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login
for i in {1..60}; do
echo "Checking server health ($i/60)..."
response=$(curl -o /dev/null -s -w "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
echo "HTTP Status Code: $response"
if [[ "$response" == "200" ]] || [[ "$response" == "307" ]]; then
echo "Server is healthy"
# Now, shutdown the server
kill $server_pid
exit 0
fi
sleep 1
done
# apk add curl
echo "Server health check failed"
kill $server_pid
exit 1
env:
NEXTAUTH_SECRET: 'EI4qqDpcfdvf4A+0aQEEx8JjHxHSy4uWiZw/F32K+pA='
CALENDSO_ENCRYPTION_KEY: '0zfLtY99wjeLnsM7qsa8xsT+Q0oSgnOL'
# for i in {1..60}; do
# echo "Checking server health ($i/60)..."
# response=$(curl -o /dev/null -s -w "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
# echo "HTTP Status Code: $response"
# if [[ "$response" == "200" ]] || [[ "$response" == "307" ]]; then
# echo "Server is healthy"
# # Now, shutdown the server
# kill $server_pid
# exit 0
# fi
# sleep 1
# done
# echo "Server health check failed"
# kill $server_pid
# exit 1
# env:
# NEXTAUTH_SECRET: 'EI4qqDpcfdvf4A+0aQEEx8JjHxHSy4uWiZw/F32K+pA='
# CALENDSO_ENCRYPTION_KEY: '0zfLtY99wjeLnsM7qsa8xsT+Q0oSgnOL'
- name: Push image
id: docker_push
@@ -179,7 +178,7 @@ jobs:
context: ./
file: ./Dockerfile
push: true
platforms: linux/amd64
platforms: linux/arm64 # Changed from linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
@@ -196,4 +195,4 @@ jobs:
- name: Cleanup
run: |
docker compose down
docker compose down

View File

@@ -1,14 +0,0 @@
name: Export Scarf data
on:
schedule:
- cron: '0 0 * * *'
jobs:
export-scarf-data:
runs-on: ubuntu-latest
steps:
- uses: docker://scarf.docker.scarf.sh/scarf-sh/scarf-postgres-exporter:latest
env:
SCARF_API_TOKEN: ${{ secrets.SCARF_API_TOKEN }}
SCARF_ENTITY_NAME: Calcom
PSQL_CONN_STRING: ${{ secrets.PSQL_CONN_STRING }}

View File

@@ -1,82 +1,87 @@
FROM node:18 as builder
WORKDIR /calcom
ARG NEXT_PUBLIC_LICENSE_CONSENT
ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL
ARG NEXTAUTH_SECRET=secret
ARG CALENDSO_ENCRYPTION_KEY=secret
ARG MAX_OLD_SPACE_SIZE=4096
ARG NEXT_PUBLIC_API_V2_URL
ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
NEXT_PUBLIC_API_V2_URL=$NEXT_PUBLIC_API_V2_URL \
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
DATABASE_URL=$DATABASE_URL \
DATABASE_DIRECT_URL=$DATABASE_URL \
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} \
BUILD_STANDALONE=true
COPY calcom/package.json calcom/yarn.lock calcom/.yarnrc.yml calcom/playwright.config.ts calcom/turbo.json calcom/git-init.sh calcom/git-setup.sh calcom/i18n.json ./
COPY calcom/.yarn ./.yarn
COPY calcom/apps/web ./apps/web
COPY calcom/apps/api/v2 ./apps/api/v2
COPY calcom/packages ./packages
COPY calcom/tests ./tests
RUN yarn config set httpTimeout 1200000
RUN npx turbo prune --scope=@calcom/web --docker
RUN yarn install
RUN yarn db-deploy
RUN yarn --cwd packages/prisma seed-app-store
# Build and make embed servable from web/public/embed folder
RUN yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
RUN yarn --cwd apps/web workspace @calcom/web run build
# RUN yarn plugin import workspace-tools && \
# yarn workspaces focus --all --production
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
FROM node:18 as builder-two
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV production
COPY calcom/package.json calcom/.yarnrc.yml calcom/turbo.json calcom/i18n.json ./
COPY calcom/.yarn ./.yarn
COPY --from=builder /calcom/yarn.lock ./yarn.lock
COPY --from=builder /calcom/node_modules ./node_modules
COPY --from=builder /calcom/packages ./packages
COPY --from=builder /calcom/apps/web ./apps/web
COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
COPY scripts scripts
# Save value used during this build stage. If NEXT_PUBLIC_WEBAPP_URL and BUILT_NEXT_PUBLIC_WEBAPP_URL differ at
# run-time, then start.sh will find/replace static values again.
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
FROM node:18 as runner
WORKDIR /calcom
COPY --from=builder-two /calcom ./
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
ENV NODE_ENV production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=30s --retries=5 \
CMD wget --spider http://localhost:3000 || exit 1
CMD ["/calcom/scripts/start.sh"]
FROM node:18 AS builder
WORKDIR /calcom
ARG NEXT_PUBLIC_LICENSE_CONSENT
ARG NEXT_PUBLIC_WEBSITE_TERMS_URL
ARG NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL
ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL
ARG NEXTAUTH_SECRET=secret
ARG CALENDSO_ENCRYPTION_KEY=secret
ARG MAX_OLD_SPACE_SIZE=4096
ARG NEXT_PUBLIC_API_V2_URL
ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
NEXT_PUBLIC_API_V2_URL=$NEXT_PUBLIC_API_V2_URL \
NEXT_PUBLIC_LICENSE_CONSENT=$NEXT_PUBLIC_LICENSE_CONSENT \
NEXT_PUBLIC_WEBSITE_TERMS_URL=$NEXT_PUBLIC_WEBSITE_TERMS_URL \
NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL=$NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL \
CALCOM_TELEMETRY_DISABLED=$CALCOM_TELEMETRY_DISABLED \
DATABASE_URL=$DATABASE_URL \
DATABASE_DIRECT_URL=$DATABASE_URL \
NEXTAUTH_SECRET=${NEXTAUTH_SECRET} \
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} \
BUILD_STANDALONE=true
COPY calcom/package.json calcom/yarn.lock calcom/.yarnrc.yml calcom/playwright.config.ts calcom/turbo.json calcom/i18n.json ./
COPY calcom/.yarn ./.yarn
COPY calcom/apps/web ./apps/web
COPY calcom/apps/api/v2 ./apps/api/v2
COPY calcom/packages ./packages
COPY calcom/tests ./tests
RUN yarn config set httpTimeout 1200000
RUN npx turbo prune --scope=@calcom/web --scope=@calcom/trpc --docker
RUN yarn install
RUN yarn db-deploy
RUN yarn --cwd packages/prisma seed-app-store
# Build and make embed servable from web/public/embed folder
RUN yarn workspace @calcom/trpc run build
RUN yarn --cwd packages/embeds/embed-core workspace @calcom/embed-core run build
RUN yarn --cwd apps/web workspace @calcom/web run build
# RUN yarn plugin import workspace-tools && \
# yarn workspaces focus --all --production
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
FROM node:18 AS builder-two
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV=production
COPY calcom/package.json calcom/.yarnrc.yml calcom/turbo.json calcom/i18n.json ./
COPY calcom/.yarn ./.yarn
COPY --from=builder /calcom/yarn.lock ./yarn.lock
COPY --from=builder /calcom/node_modules ./node_modules
COPY --from=builder /calcom/packages ./packages
COPY --from=builder /calcom/apps/web ./apps/web
COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
COPY scripts scripts
# Save value used during this build stage. If NEXT_PUBLIC_WEBAPP_URL and BUILT_NEXT_PUBLIC_WEBAPP_URL differ at
# run-time, then start.sh will find/replace static values again.
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
FROM node:18 AS runner
WORKDIR /calcom
COPY --from=builder-two /calcom ./
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
ENV NODE_ENV=production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=30s --retries=5 \
CMD wget --spider http://localhost:3000 || exit 1
CMD ["/calcom/scripts/start.sh"]

View File

@@ -52,7 +52,7 @@ If you are evaluating Cal.com or running with minimal to no modifications, this
1. Clone calcom/docker
```bash
git clone https://github.com/calcom/docker.git
git clone --recursive https://github.com/calcom/docker.git
```
2. Change into the directory
@@ -219,6 +219,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_LICENSE_CONSENT | license consent - true/false | | |
| NEXT_PUBLIC_WEBSITE_TERMS_URL | custom URL for terms and conditions website | optional | `https://cal.com/terms` |
| NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL | custom URL for privacy policy website | optional | `https://cal.com/privacy` |
| CALCOM_TELEMETRY_DISABLED | Allow cal.com to collect anonymous usage data (set to `1` to disable) | | |
| 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 | |

2
calcom

Submodule calcom updated: 4daad2ac08...02967961f3

View File

@@ -1,5 +1,4 @@
# Use postgres/example user/password credentials
version: '3.8'
volumes:
database-data:
@@ -29,6 +28,8 @@ services:
NEXT_PUBLIC_WEBAPP_URL: ${NEXT_PUBLIC_WEBAPP_URL}
NEXT_PUBLIC_API_V2_URL: ${NEXT_PUBLIC_API_V2_URL}
NEXT_PUBLIC_LICENSE_CONSENT: ${NEXT_PUBLIC_LICENSE_CONSENT}
NEXT_PUBLIC_WEBSITE_TERMS_URL: ${EXT_PUBLIC_WEBSITE_TERMS_URL}
NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL: ${NEXT_PUBLIC_WEBSITE_PRIVACY_POLICY_URL}
CALCOM_TELEMETRY_DISABLED: ${CALCOM_TELEMETRY_DISABLED}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
CALENDSO_ENCRYPTION_KEY: ${CALENDSO_ENCRYPTION_KEY}

View File

@@ -23,4 +23,4 @@ services:
databases:
- name: cal-postgres
plan: starter
plan: basic-1gb

View File

@@ -10,7 +10,6 @@ fi
# Only peform action if $FROM and $TO are different.
echo "Replacing all statically built instances of $FROM with $TO."
find apps/web/.next/ apps/web/public -type f |
while read file; do
sed -i "s|$FROM|$TO|g" "$file"
for file in $(egrep -r -l "${FROM}" apps/web/.next/ apps/web/public/); do
sed -i -e "s|$FROM|$TO|g" "$file"
done