Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 17:59
    vsoch commented #174
  • Jan 28 16:27
    michaelmoore10 commented #174
  • Jan 28 15:11
    vsoch commented #174
  • Jan 28 15:06
    vsoch commented #174
  • Jan 28 14:43
    michaelmoore10 commented #174
  • Jan 22 01:19
    vsoch closed #46
  • Jan 16 14:07
    fenz commented #174
  • Jan 16 14:06
    fenz commented #174
  • Jan 16 11:20
    fenz commented #174
  • Jan 16 10:17
    vsoch commented #174
  • Jan 16 08:25
    fenz commented #174
  • Jan 16 08:04
    fenz commented #172
  • Jan 15 22:46
    vsoch opened #174
  • Jan 15 19:58

    vsoch on quick-fix

    (compare)

  • Jan 15 19:58

    vsoch on master

    fixing broken links Merge pull request #173 from si… (compare)

  • Jan 15 19:58
    vsoch closed #173
  • Jan 15 19:58
    vsoch opened #173
  • Jan 15 19:57

    vsoch on quick-fix

    fixing broken links (compare)

  • Jan 15 15:06
    vsoch commented #172
Vanessasaurus
@vsoch
We would want singularly registry to have a bunch of different options for builders that are plug-ins so A user can choose whether they are deploying to AWS or Google cloud or to a local server
And then shub proper would just be a deployment of that
With Google Cloud builders
Right now my strategy is if it’s not broken don’t fix it 😉
Because it’s literally just me that has the entire burden of maintenance and development
Vanessasaurus
@vsoch
So to directly answer your question -singularity hub itself no it’s not open source. however singularly registry is a almost better version of it that could put in the features that you’re looking for. I typically develop in response to the community and I haven’t had any further push for further development so here we are :-)
Natacha Beck
@natacha-beck
Hi again, we were able to make some progress today. Our collaborator was able to see their github repository on the following page: https://www.singularity-hub.org/collections/new
but when they select the repo and click on submit Singularityhub redirect them to the page container collections I guess they was redirected to this page https://www.singularity-hub.org/collections .
any idea ? why ?
Will try to dig into that issue.
Vanessasaurus
@vsoch
Are you absolutely sure there isn't another Fork original The Collection owned by another user name already there?
No I don't know why off the top of my head
Natacha Beck
@natacha-beck
ok I will double check
Thanks @vsoch for the response.
Natacha Beck
@natacha-beck
should the Github user have a specific role in the organisation, to build the container ?
Natacha Beck
@natacha-beck
will think to what can be the issue.
Vanessasaurus
@vsoch
They should had read and write for web hooks! If you go under the GitHub tempo settings you can look at webhooks and see the response send/receive to see if anything is up.
Natacha Beck
@natacha-beck
@vsoch Thanks a lot for your help... it was due to the user role of the person on the Github organization. She should be an owner of the organization.
Vanessasaurus
@vsoch
awesome!
Andreas Henkel
@henkela
Hi, is there a specific reason you keep the Python-Docker-Image on version 3.5.1?
Vanessasaurus
@vsoch
Why not?
For which image exactly?
Andreas Henkel
@henkela
I meant instead of Python:latest. In the sregistry Dockerfile
kanthsai143
@kanthsai143
Hello @vsoch
I am wondering if there is a way we can store all singularity images on gcr.io registry?
Vanessasaurus
@vsoch
That’s a Docker Registry, Singularity containers don’t fit into that framework
You could put them in Google Storage, although Singularity Hub already does that, and the Singularity Registry client has several ways to do that
Can you describe the kind of thing. You are looking to do?
kanthsai143
@kanthsai143
Thanks for the quick response.
Sorry I have to get back to later once I have more information
kanthsai143
@kanthsai143
@all Anyone able to integrate with ldap?
kanthsai143
@kanthsai143
When I try using ldap, I keep running into this error AttributeError: module 'django.contrib.auth.views' has no attribute 'login'
kanthsai143
@kanthsai143
I am trying to integrate AD using django auth. I was able to get my user login working. I am trying to see a way to import groups from AD.
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("dc=example,dc=com",ldap.SCOPE_SUBTREE, "(objectClass=group)")
AUTH_LDAP_GROUP_TYPE = NestedActiveDirectoryGroupType
AUTH_LDAP_FIND_GROUP_PERMS = True
AUTH_LDAP_MIRROR_GROUPS = True
I used the above and also tried various group types an objectClass. But nothing worked
kanthsai143
@kanthsai143
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=sads,DC=example,DC=com",ldap.SCOPE_SUBTREE, "(objectClass=group)")
AUTH_LDAP_GROUP_TYPE = ActiveDirectoryGroupType(name_attr="cn")
After lot of digging. This worked for me. :
:)
Vanessasaurus
@vsoch
Oh cool! Do you think what you learned would be helpful to other users?
kanthsai143
@kanthsai143
Yeah if they use Active Directory
Vanessasaurus
@vsoch
Would you care to write up a snippet that explains your use case and what you figured out, and we can add it to the docs?
kanthsai143
@kanthsai143
Sure
kanthsai143
@kanthsai143

``` AUTH_LDAP_SERVER_URI = "ldap://ldaphost.yourcompany.com"

DN and password needed to bind to LDAP to retrieve user information

AUTH_LDAP_BIND_DN = "CN=sregistryaccount,OU=sregistryaccountlocation,OU=ldaphost,DC=yourcompany,DC=com"

AUTH_LDAP_BIND_DN = "sregistryaccount@yourcompany.com"

AUTH_LDAP_BIND_PASSWORD = "bindpassword"
AUTH_LDAP_ALWAYS_UPDATE_USER = True

AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = True

Any user account that has valid auth credentials can login

AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=users,ou=ldaphost,dc=yourcompany,dc=com",ldap.SCOPE_SUBTREE, "(samaccountname=%(user)s)")
AUTH_LDAP_USER_DN_TEMPLATE = None
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=ldaphost,DC=yourcompany,DC=com",ldap.SCOPE_SUBTREE, "(objectClass=group)")
AUTH_LDAP_GROUP_TYPE =NestedActiveDirectoryGroupType(name_attr="cn")

AUTH_LDAP_GROUP_TYPE = ActiveDirectoryGroupType(name_attr="cn")

AUTH_LDAP_FIND_GROUP_PERMS = True
AUTH_LDAP_MIRROR_GROUPS = True

Populate the Django user model from the LDAP directory.

AUTH_LDAP_USER_ATTR_MAP = {
"first_name": "givenName",
"last_name": "sn",
"email": "mail"
}
'''

This is the snippet I used to get AD working with sregistry
Using samaccountname is the key to get it working
Vanessasaurus
@vsoch
hey @kanthsai143 I'm just seeing this now! What I meant is write up a snippet (markdown) to add to the "docs" folder hosted by the repository, via a pull request.
The config above is not useful unless you provide the context - how you were setting it up, the issues you ran into, and how that config solved them (and explain your choices)
kanthsai143
@kanthsai143
Sure. Will update it by the end of this weekend
Natacha Beck
@natacha-beck
Hi everyone, I have a pending build on singularity hub since 2 days is it normal ?
Katerintse
@Katerintse
Hi! I can not connect to Singularity-hub.org. Do you know if it is down for some reason?