Skip to content
test-auto-orgPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

96 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIchor Test Project


Add PVC to Manifest

storage:
  attachExistingPVCs:
    - name: project-pvc-id
      mountPoint: /mnt/project-pvc-id

Add Runtime Variables to main.py

Add the following after parser.add_argument():

print(os.environ.get("runtime_var"))
print(os.environ["AICHOR_USER_NAME"])
print(os.environ["AICHOR_USER_EMAIL"])
print(os.environ["AICHOR_CLUSTER_NAME"])
print(os.environ["VCS_TYPE"])

Add Build Variable to build/Dockerfile

Insert this after RUN pip install:

RUN --mount=type=secret,id=_env,dst=/etc/secrets/.env . /etc/secrets/.env && echo "$build_var"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages