Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong version #1894

Open
uiaiek32 opened this issue May 14, 2024 · 5 comments
Open

Wrong version #1894

uiaiek32 opened this issue May 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@uiaiek32
Copy link

The Deploy on Railway button on Langflow GitHub page deploys the last version and not the new version

Copy link

dosubot bot commented May 14, 2024

To address the issue with the "Deploy on Railway" button deploying an outdated version of Langflow, ensure the main branch of the https://github.com/langflow-ai/langflow repository is updated with the new version. If you want Railway to automatically deploy new versions upon updates to the main branch, set autoDeploy: true in your configuration. Otherwise, you'll need to manually trigger a redeployment in Railway after updating the branch. This approach guarantees that the deployment button always initiates the deployment of the latest version.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added the bug Something isn't working label May 14, 2024
@uiaiek32
Copy link
Author

what verdion pf langflow is the deploy on railway button?

Copy link

dosubot bot commented May 14, 2024

The version of Langflow deployed by the "Deploy on Railway" button depends on the latest version available in the Langflow GitHub repository at the time of deployment. The deployment process is designed to always use the latest version by checking the current project version against the last released version on PyPI during the pre-release workflow. This ensures that the "Deploy on Railway" button deploys the most recent version of Langflow.

To determine the specific version being deployed, you can inspect the pyproject.toml file in the root of the Langflow project, where the current version of Langflow is specified under the [tool.poetry] section. Additionally, the deployment process uses Docker images tagged with the current version, which is determined and built during the GitHub Actions workflow defined in .github/workflows/pre-release-langflow.yml.

For the most accurate and up-to-date information on the deployed version, refer directly to the Langflow repository's pyproject.toml file and the GitHub Actions workflow.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@uiaiek32
Copy link
Author

how can i deploy the latest version? because I can deploy only 0.6.18

Copy link

dosubot bot commented May 14, 2024

To deploy the latest version of Langflow using the "Deploy on Railway" button, you'll need to ensure the button's URL in the README.md file points to a Railway template configured to install the latest version of Langflow. This might involve updating the Railway template to reference the latest version or configuring it to automatically use the latest release.

If you're managing the Langflow repository, you can update the README.md file with a new "Deploy on Railway" button URL that reflects the updated template. This change requires editing the README.md directly on GitHub or through a git client, then committing and pushing your changes.

For automating updates to the "Deploy on Railway" button with each new release, consider using GitHub Actions. This can be set up to trigger on new releases, automatically updating the README.md with the new deployment link and pushing the changes.

The versioning and deployment process is managed through the .github/workflows/pre-release-langflow.yml file in the Langflow repository. This workflow includes steps to determine the current project version, compare it with the last released version on PyPI, and proceed with the release if the versions differ. The Docker image tagged with the release version is then used for deployment. To ensure the "Deploy on Railway" button always deploys the latest version, the Railway template and the GitHub Actions workflow should be configured to use the latest stable version tag, which is dynamically generated based on the project's version.

For detailed guidance on creating or updating Railway templates, refer to Railway's documentation or their support. This will help in setting up a template that always deploys the latest version of Langflow.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant