Commit graph

131 commits

Author SHA1 Message Date
yuneng-jiang
b8ffbba352 [Fix] Add contents:write permission to release job in ghcr_deploy workflow
The release job was failing with "Resource not accessible by integration"
because other jobs explicitly set permissions, causing GitHub to scope the
default token down for all jobs. The release job needs contents:write to
create GitHub releases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 17:23:39 -07:00
Julio Quinteros Pro
d7dd7ef33b Add observatory test workflow for RC/stable releases
- New reusable workflow that spins up a LiteLLM container from the
  release image, exposes it via cloudflared tunnel, and triggers
  test runs on the Railway-hosted observatory
- Integrates into ghcr_deploy.yml for RC and stable releases
- Can also be triggered manually via workflow_dispatch
- Add placeholder litellm_config.yaml for observatory test models

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:30:09 -03:00
Cesar Garcia
7515f179e7
fix: sync Helm chart version with LiteLLM release version (#19438)
Replace independent auto-incrementing chart versioning with 1-1 sync
to LiteLLM version. This allows users to easily map Helm chart versions
to LiteLLM versions without needing to inspect appVersion.

Changes:
- Remove auto-increment logic that read from OCI registry
- Chart version now equals LiteLLM tag without 'v' prefix (v1.81.0 -> 1.81.0)
- appVersion equals full Docker tag (v1.81.0)
- Update both ghcr_deploy.yml and ghcr_helm_deploy.yml workflows

Before: helm chart 0.1.837 -> user has to guess LiteLLM version
After:  helm chart 1.81.0  -> matches LiteLLM v1.81.0

References:
- https://codefresh.io/docs/docs/ci-cd-guides/helm-best-practices/
2026-01-20 14:13:26 -08:00
Cesar Garcia
46dd420833
fix: sync Helm chart versioning with production standards and Docker versions (#18868)
* fix: sync Helm chart versioning with production standards and Docker versions

- Update Chart.yaml version from 0.4.10 to 1.0.0 (SemVer 0.x is for development, 1.0+ for production)
- Update appVersion from v1.50.2 to v1.80.12 to match current Docker image version
- Update workflow defaults from 0.1.0 to 1.0.0 for new chart version scheme
- Maintain independent chart versioning per Helm best practices

This ensures:
- Helm chart follows SemVer production standards (1.x instead of 0.x)
- appVersion stays synchronized with Docker/application version
- Chart version remains independent for flexibility (can update chart without waiting for app releases)

* fix: sync Helm chart appVersion with Docker image tags in release workflow

Updates the GitHub workflow to ensure Helm chart appVersion matches the
Docker image tags that are actually published:

- For stable/rc releases: Uses the workflow input tag (e.g., v1.80.12)
- For latest/dev releases: Uses the release_type to match main-{type} tags
- Makes 'tag' input required to prevent accidental releases with wrong versions
- Simplifies fallback logic by removing git-describe dependency

This ensures the chart's appVersion correctly references Docker images
that exist, preventing deployment failures from missing image tags.

* Update ghcr_deploy.yml
2026-01-12 17:04:59 +05:30
Cesar Garcia
eb94c95e72
fix: add semver prerelease suffix to helm chart versions for non-stable releases (#17678)
Helm chart versions now include a prerelease suffix based on release_type:
- stable: 0.1.830 (no suffix)
- rc: 0.1.830-rc
- latest: 0.1.830-latest

This allows users to easily identify stable vs non-stable chart versions.
Helm also hides prerelease versions by default, preventing accidental
upgrades to non-stable versions.

Also fixes version extraction to strip existing suffixes before bumping.
2025-12-12 03:51:37 -08:00
Andres Carrillo
9f7847feb1
feat: non-root docker hub push (#12413) 2025-07-11 08:34:32 -07:00
Krrish Dholakia
e50647627c build(ghcr_deploy.yml): add rc to all docker images 2025-06-14 17:16:46 -07:00
Krrish Dholakia
a5157978aa build(ghrc_deploy.yml): add 'rc' release type 2025-06-14 17:15:29 -07:00
Kreato
2e0dcedac0
Proper github images (#10927)
* feat: add seperate image URLs to distinguish types of release

* feat: remove new nightly/dev image URLs, only keep stable
2025-05-23 12:38:00 -07:00
Ishaan Jaff
faf54e3f29 fixes for EE image 2025-04-26 15:43:21 -07:00
Ishaan Jaff
fd3603d4e8 deploy - add build-and-push-image-ee 2025-04-26 14:40:20 -07:00
Ishaan Jaff
165b1887bd fix docker img deploy - deploy stable releases from main-stable 2025-03-15 20:34:32 -07:00
Ishaan Jaff
f5e9211c1b fix ghcr build 2025-03-15 20:14:04 -07:00
Ishaan Jaff
4f898c9f48 fix ghcr deploy 2025-03-15 19:37:09 -07:00
Ishaan Jaff
df7efa17f8 fix docker img tag displayed on stable releases 2025-03-15 13:46:30 -07:00
Ishaan Jaff
5de69cb1b2 fix using Dockerfile 2024-10-08 08:45:40 +05:30
Ishaan Jaff
d742e8cb43
(clean up) move docker files from root to docker folder (#6109)
* fix move docker files to docker folders

* move check file length

* fix docker hub deploy
2024-10-08 08:23:52 +05:30
Ishaan Jaff
48eb4d2730 add docker image for non-root 2024-08-20 15:43:29 -07:00
Mikio Stewart
1724edeed7 fetch-depth=0 2024-08-20 11:55:28 -07:00
Ishaan Jaff
e28e1c4cdb
Merge pull request #4649 from mikstew/mikio/helm-app-version
Fix app_version in helm build
2024-08-20 09:08:17 -07:00
Ishaan Jaff
48419ca8bc add step to ghcr deploy 2024-08-02 08:06:09 -07:00
Mikio Stewart
54f02d52db remove unused env var 2024-07-12 15:45:55 -07:00
Mikio Stewart
05831ab6d4 skip helm build for dev builds 2024-07-11 13:21:38 -07:00
Mikio Stewart
fafa5a285a remove fetch-depth 2024-07-11 12:34:11 -07:00
Mikio Stewart
b8a280e3a9 use git describe to find latest tag 2024-07-11 12:33:16 -07:00
Mikio Stewart
9d5b8fa0ca move helm after build and use litellm for chart_name 2024-07-10 15:37:38 -07:00
Krrish Dholakia
3f67821c4c build(ghcr_deploy.yml): fix discord release note push 2024-07-06 19:06:04 -07:00
Krrish Dholakia
d2a8c7fc25 build(ghcr_deploy.yml): fix curl command 2024-07-06 17:54:55 -07:00
Bram van Meurs
a55d690d89
add commit hash ref 2024-04-18 19:37:55 +01:00
Bram van Meurs
e9d3cd37d3
fix(build): .dockerignore not picked up
Using the git context of the build-push-action ignores the .dockerignore because it is pulled by buildkit. Instead use checkout action and use the path context.
2024-04-18 09:54:10 +01:00
Ishaan Jaff
6f6c2d2648 fix - deploy release with a commit hash 2024-04-05 17:21:42 -07:00
Ishaan Jaff
7fdb4e356a fix use stable releases 2024-04-05 17:09:55 -07:00
Ishaan Jaff
cba0db9cb4 stable releases use commit hash 2024-04-05 17:03:38 -07:00
Ishaan Jaff
c224adcb27 fix use correct commit hash when creating releases 2024-04-05 16:38:08 -07:00
Ishaan Jaff
fe24c4b329 ci/cd - use commit hash when building 2024-04-05 16:25:55 -07:00
Ishaan Jaff
b727eb783e use specific commit 2024-04-05 15:47:35 -07:00
Ishaan Jaff
bde215d9dc fix use stable docker releases 2024-04-05 15:44:07 -07:00
Ishaan Jaff
eaf81ed31c fix github stable releases 2024-04-04 18:26:47 -07:00
Ishaan Jaff
ab368fcfc7 fix use stable / latest tags correctly 2024-04-04 18:15:53 -07:00
Ishaan Jaff
28d55cb511 stable releases 2024-04-04 18:07:36 -07:00
Ishaan Jaff
66f579f923 stable releases - ci/cd 2024-04-04 18:06:17 -07:00
Ishaan Jaff
280a3d580b set release type 2024-04-04 18:02:37 -07:00
Ishaan Jaff
0dd7ab44ed set release type on releases 2024-04-04 18:00:22 -07:00
Ishaan Jaff
82c19da006 fix using stable 2024-04-03 15:37:03 -07:00
Ishaan Jaff
16603bfa76 add stable param 2024-04-03 15:29:15 -07:00
Ishaan Jaff
6048582f95 fix do stable releases 2024-04-03 15:13:43 -07:00
Ishaan Jaff
f2dfd1ebe8 fix stable releases 2024-04-03 15:03:54 -07:00
Ishaan Jaff
ca77766a58 fix -stable releases 2024-04-03 15:00:37 -07:00
Ishaan Jaff
47fceb9e5d fix main-stable 2024-04-03 14:59:39 -07:00
Ishaan Jaff
79441d01c0 use original deploy 2024-04-03 14:48:51 -07:00