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

Fixes dmwm/WMCore#12187 #17

Merged
merged 15 commits into from
Dec 12, 2024
Merged

Fixes dmwm/WMCore#12187 #17

merged 15 commits into from
Dec 12, 2024

Conversation

d-ylee
Copy link
Collaborator

@d-ylee d-ylee commented Dec 6, 2024

Fixes dmwm/WMCore#12187

The fixes here are coupled with changes in dmwm/CMSKubernetes#1568

Major Changes

Script locations

TestScripts, ContainerScripts, and the etc directory are now moved to the root directory. Original location of docker/wmcore-dev still exists, but will be deprecated in a future release

User Permissions

wmcore-pr-test and wmcore-unittests are now run as the main user, not root user. As a result, a new directory, $WORKSPACE/home is added. It is bind mounted to /home/cmsbld in images to avoid some permissions/chown operations

Service Deployment

Most commands are now using docker compose run instead of docker compose exec. This, coupled with using the depends_on in the compose files, seem to work fine. One future implementation would be to also give MariaDB a health check option, as indicated here: dmwm/WMCore#12198

Versioning

This iteration of WMCore-Jenkins should be used with the wmcore-dev:0.2.0-stable image.

@d-ylee
Copy link
Collaborator Author

d-ylee commented Dec 6, 2024

This isn't ready to merge yet. I will first change any git clones in the Jenkinsfiles to use d-ylee:fix-12187. I will also change the branch in Jenkins to use this branch as well. After merging, another PR will be made to have Jenkins use the main branch again.

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

Successfully merging this pull request may close these issues.

wmcore-dev image has file permission issues during Jenkins tests
1 participant