You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as root create the following directory on AE Master /opt/anaconda/storage/object/anaconda-objects/global
as root copy project archive to the AE Master node in the /opt/anaconda/storage/object/anaconda-objects/global directory
The URL for the archives placed in this directory is https://<domain>/platform/storage/api/v1/global/objects/<filename>
With ae5-tools you will need to login as an ae-admin user.
fromae5_tools.apiimportAEUserSessionimportjsonDOMAIN='<your ae5 hostname>'FILENAME='<file name of project uploaded to master node>'ae5=AEUserSession(DOMAIN, 'anaconda-enterprise', 'anaconda-enterprise')
download_url=f'https://{DOMAIN}/platform/storage/api/v1/global/objects/{FILENAME}'new_sample_project= {}
new_sample_project['id'] ='<short-name-for-project>'new_sample_project['name'] ='<full-name-for-project>'new_sample_project['description'] ='<project-description>'new_sample_project['owner'] ='anaconda-enterprise'new_sample_project['download_url'] =download_urlnew_sample_project['is_template'] =False# set to True to add to Create Project listae5._post('sample_projects', data=json.dumps(new_sample_project))
Here's the current known procedure to promote a project to the sample gallery.
The text was updated successfully, but these errors were encountered: