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

Use directory arguments on deb job scripts for decoupling (Part Two) #709

Closed
wants to merge 1 commit into from
Closed

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Jan 16, 2020

These values behind these arguments are never referenced in the code. Their intended purpose is fulfilled when specifying the mount directory in the docker run call.

It is possible that there was some confusion here, and their intended purpose was actually to decouple the Jenkins jobs from the ros_buildfarm repository, by specifying where in the container the mountpoint should be expected (instead of where on the host the directory resides). If that is the case, then I'll change this PR to use the arguments more appropriately.

Either way, because that decoupling doesn't exist, we'll have to figure out how to deploy this change. Recommendations would be appreciated.

@cottsay cottsay added the bug label Jan 16, 2020
@cottsay cottsay self-assigned this Jan 16, 2020
@@ -102,7 +102,6 @@ but disabled since the package is blacklisted (or not whitelisted) in the config
' ' + os_code_name +
' ' + arch +
' ' + ' '.join(repository_args) +
' --binarydeb-dir $WORKSPACE/binarydeb' +
' --dockerfile-dir $WORKSPACE/docker_generating_docker' +
Copy link
Member

Choose a reason for hiding this comment

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

The same might be the case for this option.

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like this option specifies the output location for this script, so it should stay.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oof, actually, its more complicated than that. It's both. I'll see if there is a good way to handle this one.

@tfoote
Copy link
Member

tfoote commented Jan 21, 2020

Indeed these were intended to allow decoupling. But if they're not being used cleaning them up probably makes sense.

@cottsay
Copy link
Member Author

cottsay commented Jan 22, 2020

Indeed these were intended to allow decoupling

@tfoote, would you rather that I implement that functionality instead of removing them? Either way it will need to be a two-stage deployment.

Whether the decoupling parameters are present or not, I'd like to do the same thing in the new RPM jobs.

@tfoote
Copy link
Member

tfoote commented Jan 28, 2020

If you want to do it for the RPMs we should actually pass it through here. Otherwise lets just clean it out and we can add it back at some other time if we need the parameterization.

@cottsay
Copy link
Member Author

cottsay commented Feb 3, 2020

If you want to do it for the RPMs we should actually pass it through here.

I plan to make this change when I return from leave. Please keep this ticket open to track the problem until I resolve it.

@cottsay cottsay changed the title Remove some stale arguments from release jobs Use directory arguments on deb job scripts for decoupling (Part Two) Mar 20, 2020
@dirk-thomas
Copy link
Member

I plan to make this change when I return from leave.

@cottsay Friendly ping. What is the status of this ticket?

@cottsay
Copy link
Member Author

cottsay commented Jun 5, 2020

What is the status of this ticket?

Ready for review and merge, I believe.

It is technically a breaking change, though. Anyone calling run_binarydeb_job.py directly who hasn't deployed the changes in #769 could break. It's been over 2 months, though.

@cottsay
Copy link
Member Author

cottsay commented Jun 5, 2020

It is technically a breaking change, though.

@dirk-thomas - there is another breaking change that will follow this (3 parts total). Should we delay merging this until after the release, or are you okay with merging now despite the change in behavior?

@dirk-thomas
Copy link
Member

there is another breaking change that will follow this (3 parts total)

We can wait until part 3 is ready too to minimize the number of breakages.

@dirk-thomas
Copy link
Member

@cottsay What is the status on this and/or the part 3?

@cottsay cottsay closed this by deleting the head repository Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants