Articles in this section

How to access project files from the git repository

1. Find out the git repository name associated with the project:

kubectl describe pod anaconda-session-[session-id] | grep TOOL_PROJECT_URL

It will display the URL like:

https://<FQDN>/platform/storage/api/v1/projects/24cfba75ebf0488bab2004270ce06e41

Last string from the above output, 24cfba75ebf0488bab200 is the name of the git repo.

2. From the master node or ops center, navigate to /opt/anaconda/storage/git/repositories/anaconda to find the repository: 

anaconda-enterprise-24cfba75ebf0488bab2004270ce06e41.git
 // <username-TOOL_PROJECT_URL.git>

3. Then run:

git clone anaconda-enterprise-24cfba75ebf0488bab200.git

You may have to install git. 

sudo yum install git

4. Navigate to the cloned dir:

cd anaconda-enterprise-c24cfba75ebf0488bab200

5. You will find the files here. You can check with:

ls
Was this article helpful?
5 out of 5 found this helpful