Commit graph

65 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
b378eb81d0
chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491)
* chore: remove setup-uv action configuration file as it is no longer needed

* chore: update setup-uv action to use the official action across all workflows

* chore: disable cache pruning in all workflows to improve build stability

* chore: update Python version to 3.13 and add pre-release description in workflows
2025-06-11 18:56:04 +00:00
Gabriel Luiz Freitas Almeida
c0c08841ce
ci(docker): update Buildx setup to use BuildKit container backend (#8320) 2025-06-03 13:18:49 -03:00
Gabriel Luiz Freitas Almeida
aff3829fc0
ci: Update Docker Buildx to latest version (#8266) 2025-05-30 00:08:34 -03:00
Mendon Kissling
3f8f7f28c2
fix: docker build-main-all (#8182)
* use-with-extras-dockerfile

* naming

* independent-build-job

* build-when-main-is-built

* Apply suggestions from code review

* remove-build-all-flag
2025-05-27 16:21:59 +00:00
Gabriel Luiz Freitas Almeida
58522ee2ab
fix: update docker build workflow to include 'nightly-main-all' release type for versioning (#8022) 2025-05-15 18:47:45 +00:00
Jordan Frazier
409146151c
build: add build for docker image with all optional deps (#7957)
* Add build for docker image with all optional deps

* Add to release workflows
2025-05-12 16:26:58 +00:00
Gabriel Luiz Freitas Almeida
62aef0b8ed
chore: Ensure consistent version extraction for langflow-base in workflows (#7352)
fix: ensure consistent version extraction for langflow-base in workflows

Updated version extraction commands in multiple workflow files to consistently use 'head -n 1' for retrieving the first occurrence of the langflow-base version. This change improves reliability in version detection across docker-build, nightly_build, python_test, release_nightly, and release workflows.
2025-03-31 09:34:28 -03:00
Gabriel Luiz Freitas Almeida
d545e8d302
chore: Update Docker build workflow for reliability improvements (#6760)
* fix: Update Docker build workflow to use Wandalen/wretry.action for improved reliability

* fix: Remove attempt limit and delay from Docker build workflow

* fix: Add comment to clarify provenance setting in Docker build workflow
2025-02-21 18:33:50 +00:00
Christophe Bornet
41edba73c9
feat: Add support for Python 3.13 (#6685) 2025-02-20 18:13:21 +00:00
Christophe Bornet
a4355caabe
feat: Fix Python versions used in CI (#6725)
fix: Fix Python versions used in CI
2025-02-20 11:15:05 +00:00
Jordan Frazier
b5b1da7f6e
build: adds arm64 build to docker build workflow (#4872)
Adds arm64 build to docker build workflow
2024-11-26 10:00:41 -08:00
Gabriel Luiz Freitas Almeida
7b7513a813
chore: Remove 'v' prefix from release tag in CI workflow that caused problems in docker build (#4819)
* Remove redundant 'v' prefix from release tag in CI workflow

* Add run-name to Docker Build and Push workflow for better traceability
2024-11-25 19:20:50 +00:00
Jordan Frazier
91ccf1f458
ref: simplify docker build workflow (#4294) 2024-11-06 12:38:05 -08:00
Sebastián Estévez
c1097d2dde
chore: update dockerfiles and docker-build workflows to fix releases (#4317)
* bash -x

* bash verbose

* combine bash calls in uv run

* combined python script

* relative dir

* pass args correctly

* pass args correctly

* function name

* fix arg order

* merge base and main

* remove nightly -ep docker image for now

* set up uv in the get-version job in docker-build.yml

* v prefix for version in build job

* use inputs.nightly_tag_main for checkout actions

* mount root project metadata for base build

* fix comment

* continued dockerfile fixes for workspaces setup

* fix path

* ruff check fix
2024-10-31 11:16:26 +00:00
Jordan Frazier
eedfe43e69
build: dockerfile with entrypoint (#4062)
Adds a dockerfile with an entrypoint for use with Datastax Langflow
2024-10-16 20:18:39 -07:00
Jordan Frazier
4a574da0c0
ci: fix release workflows for uv (#4053) 2024-10-07 21:41:19 +00:00
Gabriel Luiz Freitas Almeida
54dd81a681
chore: removes Poetry references from pyproject.toml and updates the project metadata (#4019)
* Remove Poetry references from pyproject.toml and update project metadata

* Remove '--no-update' flag from 'uv lock' commands in Makefile

* Add script metadata with Python version and dependencies

* Remove Poetry references and integrate UV setup in CI workflow

* Remove Poetry setup and installation from integration tests workflow

* Remove Poetry references and update workflow to use custom setup action

* Remove references to Poetry from configuration files
2024-10-04 17:24:55 +00:00
Jordan Frazier
e19d90bd6c
ci: fix releases with uv (#3971)
* Update scripts

* update the base dep in uv deps

* update nightly scripts

* Add uv creds for publish

* skip tests for now

* fix version

* only build the wheel

* try again

* add uv to python run

* [autofix.ci] apply automated fixes

* use uv cache

* more version fixe

* fixing versions

* fix base version

* Try no frozen?

* skip everything to try docker build

* tag

* frozen

* separate script for updating uv dep

* [autofix.ci] apply automated fixes

* hardcoded versions

* hardcoded versions

* add version to editable package

* build project before docker file runs

* try again

* fix uv patht o build

* don't know why this would mkae a difference

* debug statements

* debug statements

* debug statements

* change path to whl 🤷

* manually move the wheel...

* make dir

* try no sources

* add back tests

* refactor uv to action

* add uv action

* Update nightly build workflow to include uv lock files in version update commit

* Update lint-py workflow to use specific ref for setup-uv action

* Add checkout step to style-check-py GitHub Actions workflow

* Remove redundant GitHub ref syntax in lint-py.yml workflow

* Update lint-py.yml to use specific ref for setup-uv action

* Update action.yml: standardize quotes and remove redundant checkout step

* Add checkout step to GitHub Actions workflows for specific ref handling

- Introduced `actions/checkout@v4` step to multiple workflows to ensure code is checked out at a specific ref.
- Updated `.github/workflows/docker-build.yml`, `.github/workflows/release_nightly.yml`, `.github/workflows/lint-py.yml`, and `.github/workflows/style-check-py.yml` to include the new checkout step.
- Ensured credentials are persisted during the checkout process.

* Add checkout step to Python test workflow with specific ref

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-10-02 05:37:04 -07:00
Jordan Frazier
a7d1449e9d
ci: tag fixes and robustness to workflow failures (#3838) 2024-09-17 18:03:48 -07:00
Jordan Frazier
1ea42725a4
ci: adds step to push to ghcr (#3779) 2024-09-12 09:23:04 -07:00
Jordan Frazier
7f6b3873ee
ci: enables docker builds for nightly tags (#3719) 2024-09-09 08:47:42 -07:00
Jordan Frazier
7b3e51f769
ci: create a nightly build workflow (#3553)
* test poetry install

* Add nightly builds workflow

* remove old comments and fix poetry

* remove old debug statement

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-05 19:13:04 +00:00
Gabriel Luiz Freitas Almeida
b814c30716
refactor: Fix version extraction in GitHub Actions workflow (#3501) 2024-08-22 05:20:45 -07:00
Gabriel Luiz Freitas Almeida
6105606f5c
ci: add checkout before setting up python (#3297)
* build: Set up Python 3.12 and Poetry caching in docker workflow.

* build: checkout repository before setting up Python 3.12 and Poetry.
2024-08-12 17:19:32 -07:00
Gabriel Luiz Freitas Almeida
d8af6652e0
build: Set up Python 3.12 and Poetry caching in docker workflow. (#3296) 2024-08-12 16:52:52 -07:00
Gabriel Luiz Freitas Almeida
881828c4a4
ci: refactor release workflow and Docker build process (#3245)
* feat: update docker-build.yml to conditionally retrieve version and adjust tagging logic for Docker images in workflows

* Refactor release workflow to separate base and main package handling

- Split `release_package` input into `release_package_base` and `release_package_main`
- Add new inputs for building Docker images: `build_docker_base` and `build_docker_main`
- Update conditional checks and job dependencies to reflect new inputs
- Separate Docker build workflows for base and main packages

* Refactor release.yml to introduce separate inputs for base and main packages, enhancing workflow flexibility and clarity

* chore: update release.yml to set default pre-release option to false, reflecting new workflow strategy

* chore: add pre-release check to release.yml to validate version format before proceeding with the workflow

* chore: remove deprecated pre-release workflows, consolidating configuration for cleaner CI/CD process

* chore: modify pre-release check in release.yml to use poetry version for validation, enhancing version format accuracy

* chore: refine pre-release version check in release.yml for improved regex validation, ensuring accurate version detection
2024-08-08 08:04:50 -07:00
Gabriel Luiz Freitas Almeida
28fa012fd6
chore: update HuggingFace Spaces build script to use correct space name (#2649)
The HuggingFace Spaces build script has been updated to use the correct space name "Langflow/Langflow" instead of "Langflow/Langflow-Preview". This ensures that the correct space is restarted when triggered.
2024-07-11 19:56:33 -03:00
Gabriel Luiz Freitas Almeida
7d8fefa562 Update dockerfiles and docker-build.yml (#2389)
* chore: Update docker-build.yml to disable pre-release by default

* chore: Update Dockerfiles to set LANGFLOW_HOST and LANGFLOW_PORT

The Dockerfiles have been updated to set the environment variables LANGFLOW_HOST and LANGFLOW_PORT. This ensures that the correct host and port are used when running the langflow application.

* 🔧 (build_and_push_backend.Dockerfile): remove unnecessary host and port configuration to simplify the Dockerfile and focus on backend-only functionality

* chore: Update LANGFLOW_CONFIG_DIR in docker-compose.yml

The LANGFLOW_CONFIG_DIR environment variable in docker-compose.yml has been updated to /app/langflow. This change ensures that the correct directory is used for storing logs, file storage, monitor data, and secret keys.
2024-07-01 13:53:39 -03:00
dependabot[bot]
1293a1ec4e chore(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 16:05:05 +00:00
Gabriel Luiz Freitas Almeida
f4ddc60d2a chore: Update docker-build.yml to include pre_release option and base-latest tag 2024-06-24 04:28:23 -07:00
Gabriel Luiz Freitas Almeida
7c35e29da2 chore: Update docker-build.yml to include pre_release option and base-latest tag 2024-06-24 04:28:23 -07:00
Gabriel Luiz Freitas Almeida
de2a95d5aa chore: Update docker-build.yml to include pre_release option 2024-06-24 04:28:23 -07:00
Nicolò Boschi
076498ebcf
docker: make images arm64-compatible (#2199)
* optimize multi-arch docker build on x86

* test

* test

* test

* test

* separate build

* separate build

* fix package versions

* also fixes the release

* orjson

* orjson

* fix cryptography

* fix duckdb

* all

* all

* fix

* use provenance
2024-06-21 19:57:51 -07:00
Gabriel Luiz Freitas Almeida
ad89346cc0 refactor: Update Docker Build workflow to remove unnecessary steps and improve efficiency 2024-06-20 10:48:04 -03:00
ogabrielluiz
584cd59961 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-18 14:51:19 -03:00
ogabrielluiz
600c99b995 chore: Update platforms to only support linux/amd64 for docker build process 2024-06-17 18:20:45 -03:00
ogabrielluiz
83b859152f 🔧 (docker-build.yml): update platforms to only support linux/amd64 for docker build process 2024-06-17 10:41:02 -03:00
cristhianzl
fcf4512210 merge dev into two_edges 2024-06-17 10:01:28 -03:00
ogabrielluiz
baba4b7185 (docker-build.yml): rename step from "Push Docker Image" to "Build and Push Docker Image" for clarity and accuracy 2024-06-17 07:57:46 -03:00
ogabrielluiz
7dae09ac92 chore: Update Docker build workflow to include file output 2024-06-17 07:17:32 -03:00
Nicolò Boschi
dceffa6e6f
fix docker tags on release process (#2196)
* fix docker tags on release process

* wait
2024-06-17 03:15:31 -07:00
ogabrielluiz
5a04adfa1f chore: Comment out unused Docker build and container run steps 2024-06-15 11:53:13 -03:00
ogabrielluiz
7b89ff5cfb 🔧 (docker-build.yml): add TEST_TAG environment variable to specify the test tag for the Docker image
🔧 (docker-build.yml): update tags value to use the TEST_TAG environment variable for Docker image tagging
2024-06-15 11:51:04 -03:00
Gabriel Luiz Freitas Almeida
5191638f8e
Update dependencies and workflows (#2185) 2024-06-15 06:02:08 -07:00
ogabrielluiz
b35efc458d chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:14:52 -03:00
ogabrielluiz
5f5d444d78 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
ogabrielluiz
d6d3c53695 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 17:01:00 -03:00
ogabrielluiz
3c430ff397 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 14:29:51 -03:00
ogabrielluiz
49962aeb57 chore: Update Dockerfile and Tags setup in docker-build.yml workflow 2024-06-14 14:19:06 -03:00
ogabrielluiz
3738a32b92 chore: Update Docker build workflow to include LANGFLOW_IMAGE build argument 2024-06-14 08:36:28 -03:00