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

Add oic auth e2e #1705

Closed
wants to merge 11 commits into from
Closed

Add oic auth e2e #1705

wants to merge 11 commits into from

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented Sep 5, 2024

#1701 with a small tweak and filed from my fork so that the Jenkinsfile changes can be picked up.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

fcojfernandez and others added 8 commits August 30, 2024 12:22
TestContainers does not use docker, but talks directly to the docker
socket.  The permissions on this socket come from the host where it is
mapped and the docker groupid may not match what we have in the
container.
So allow th arg to be passed through at build time and add the ath-user
to the docker group so it has the permissions.

We retain the legacy suid on the docker binary as we publish the
container and there is only a single test so far using this
test-containers.  (this can be revistied if required).
Installing packages can create groups, and the group id used can be
dynamic.  As such the group we want to use may already be in use.

Attempt to workaround this issue by creating the group before
installaing any packages so that the group is more likely to be
available.
remove the seuid hacks and attempt to add the docker group and replace
with a call to add the user to the docker group from the system.
@jtnord jtnord closed this Sep 6, 2024
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.

2 participants