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

"Push to Orchest branch" style job deployment #1122

Open
ricklamers opened this issue Jul 18, 2022 · 3 comments
Open

"Push to Orchest branch" style job deployment #1122

ricklamers opened this issue Jul 18, 2022 · 3 comments
Labels
new feature request New feature request

Comments

@ricklamers
Copy link
Member

Describe the feature you'd love to have in Orchest
We've had requests from multiple users to have more comprehensive support for deploying code in Orchest by simply pushing commits to a branch that can then be picked up to deploy the pipeline in Orchest (as a job).

We're developing our thinking in this area, and this GitHub issue is where we want to keep track.

Relevant other issues are:
#483: managing git access on a user level basis
#958: enabling SSH based remote IDE development workflow

Is your feature request related to a problem? Please describe.
A better local development workflow that integrates with Orchest. The idea is to have a similar duality that exists on GitHub today: you can use Codespaces (browser workbench) or develop & push locally to a remote instance (GitHub.com being the "remote instance").

@ricklamers ricklamers added the new feature request New feature request label Jul 18, 2022
@ricklamers ricklamers changed the title "Push to Orchest branch" style deployment "Push to Orchest branch" style job deployment Jul 18, 2022
@dingdayu
Copy link

dingdayu commented Jan 30, 2023

Hi, @ricklamers , I have an idea that might be relevant to this issue.

I need to update the code in Job, it is not allowed now. Only rebuild the Job.

Whether allow the switching of the git commits in Edit Job?

@ricklamers
Copy link
Member Author

Hi @dingdayu, the easiest way to do this is to click "Copy job configuration". That will use the latest version of your project's code in the new job with the configuration of the job you're copying from.

You can also run git commands in the project's working directory (JupyterLab -> Terminal -> git checkout <branch>) and then "Copy job configuration" to create a new job for a specific branch.

@dingdayu
Copy link

dingdayu commented Feb 1, 2023

Thanks @ricklamers , I noticed "Copy job configuration", But it often only updates the code, which is inconvenient, and the original Job needs to be deleted.

I also want to ask two questions:

  • at “Copy job configuration” use the latest version will git pull?
  • Is there any way to automatically update the code in Job when Git webhook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants