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

Nomad Engine #1697

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cullenmcdermott
Copy link

@cullenmcdermott cullenmcdermott commented Apr 5, 2023

This is still pretty WIP but I figured I would go ahead and create a draft PR for this. Basic functionality seems to work, however the code needs cleaned up quite a bit still.

Closes #2158

Disable nomad's default retries
Protect against some panics

start of nomad backend

more trying to get logs

Logs work but other stuff is broken

Working logs, pipelines work a lot

small update, add todo
@qwerty287 qwerty287 added this to the 1.0.0 milestone Apr 5, 2023
@qwerty287 qwerty287 added feature add new functionality backend new backend labels Apr 5, 2023
@woodpecker-bot
Copy link
Collaborator

woodpecker-bot commented Apr 6, 2023

Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-1697.surge.sh

@anbraten anbraten removed this from the 1.0.0 milestone May 30, 2023
@pat-s
Copy link
Contributor

pat-s commented Jul 13, 2023

@cullenmcdermott Are you still aiming to continue here?

@6543 6543 added this to the 1.1.0 milestone Jul 13, 2023
@cullenmcdermott
Copy link
Author

Hi! Yes I'd like to. I'll need to refresh myself on where I was with it.

Are there any guidelines around what is needed for new engines like this or specific features I can/should defer?

@6543
Copy link
Member

6543 commented Jul 18, 2023

just match the interface and look at the "reference impl. (docker)"

Copy link
Member

@anbraten anbraten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we continue I would like to wait for more requests by other users. Nomad seems TBH not to be the most used orchestrator and we should first of all make sure there is a real need for this before spending too much time implementing it.

@cullenmcdermott
Copy link
Author

Before we continue I would like to wait for more requests by other users. Nomad seems TBH not to be the most used orchestrator and we should first of all make sure there is a real need for this before spending too much time implementing it.

Sounds good. I'll keep an eye on this and will be happy to continue working on it if there's more desire for this one.

@livioribeiro
Copy link

I am deploying a nomad cluster at the company I work for and this would be very nice for our ci/cd

@pat-s pat-s modified the milestones: 2.0.0, 2.x.x Oct 13, 2023
@anbraten anbraten removed this from the 3.x.x milestone Jan 30, 2024
@qwerty287
Copy link
Contributor

Since it seems there are a few people thinking this would be useful and we decided to include new backends if they are not too specific - which isn't the case here - I think it's fine to integrate this.
Maybe with a warning that this backend is experimental in the docs (see ex. bitbucket server).

@pat-s
Copy link
Contributor

pat-s commented Apr 22, 2024

Since it seems there are a few people thinking this would be useful and we decided to include new backends if they are not too specific - which isn't the case here - I think it's fine to integrate this.

Are you basing your decision on the 4 upvotes from the comment above?

I'd be more hesitant here. Nomand is built on top of k8s and hence essentially a special k8s backend - in WP terms. It will always be very niche and the amount of work to maintain it must currently come from outside since I don't think any contributor/maintainer is actively using it. Which is why I am not sure if this should be included/supported officially.

@qwerty287
Copy link
Contributor

Are you basing your decision on the 4 upvotes from the comment above?

Yes, mainly.

It will always be very niche and the amount of work to maintain it must currently come from outside since I don't think any contributor/maintainer is actively using it. Which is why I am not sure if this should be included/supported officially.

I get your point here, but I there was a discussion about points like this some months ago, and the conclusion was: We allow it, but we don't maintain it and add an explicit warning to the docs that it's an experimental feature that must be supported by external devs. I think there a lot of features not used by maintainers, but still we include a lot of features.
However, we should still have somebody we can point to issues with the backend, similar how it's currently done bitbucket server issues. So if @cullenmcdermott or somebody else is willing to work on bufixes, refactoring etc. for the backend in the longer term I'm fine with it.

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

Successfully merging this pull request may close these issues.

7 participants