File tree Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ docker volume create --driver local \
5555 " ${ACH_TUTORIAL} _accelerated-computing-hub"
5656
5757echo " Starting tutorial: ${ACH_TUTORIAL} "
58- export ACH_TUTORIAL
5958cd ${MOUNT}
6059docker compose -f ${DOCKER_COMPOSE} up -d
6160
Original file line number Diff line number Diff line change @@ -101,8 +101,6 @@ if docker volume inspect "${VOLUME_NAME}" &>/dev/null; then
101101 echo " "
102102fi
103103
104- # Export environment variables for the container
105- export ACH_TUTORIAL
106104export ACH_RUN_TESTS=1
107105
108106# Start containers
Original file line number Diff line number Diff line change 1- name : accelerated-python
1+ name : &tutorial-name accelerated-python
22
33x-config :
44 dockerfile : &dockerfile tutorials/accelerated-python/brev/dockerfile
@@ -24,8 +24,8 @@ x-config:
2424 - accelerated-computing-hub:/accelerated-computing-hub
2525 environment :
2626 - BREV_ENV_ID
27- - ACH_TUTORIAL
2827 - ACH_RUN_TESTS
28+ ACH_TUTORIAL : *tutorial-name
2929 user : root
3030 working_dir : *working-dir
3131 persistent-service : &persistent-service
Original file line number Diff line number Diff line change 1- name : cuda-cpp
1+ name : &tutorial-name cuda-cpp
22
33x-config :
44 dockerfile : &dockerfile tutorials/cuda-cpp/brev/dockerfile
@@ -23,8 +23,8 @@ x-config:
2323 - accelerated-computing-hub:/accelerated-computing-hub
2424 environment :
2525 - BREV_ENV_ID
26- - ACH_TUTORIAL
2726 - ACH_RUN_TESTS
27+ ACH_TUTORIAL : *tutorial-name
2828 user : root
2929 working_dir : *working-dir
3030 persistent-service : &persistent-service
Original file line number Diff line number Diff line change 1- name : nvmath-python
1+ name : &tutorial-name nvmath-python
22
33x-config :
44 dockerfile : &dockerfile tutorials/nvmath-python/brev/dockerfile
@@ -24,8 +24,8 @@ x-config:
2424 - accelerated-computing-hub:/accelerated-computing-hub
2525 environment :
2626 - BREV_ENV_ID
27- - ACH_TUTORIAL
2827 - ACH_RUN_TESTS
28+ ACH_TUTORIAL : *tutorial-name
2929 user : root
3030 working_dir : *working-dir
3131 persistent-service : &persistent-service
Original file line number Diff line number Diff line change 1- name : stdpar
1+ name : &tutorial-name stdpar
22
33x-config :
44 dockerfile : &dockerfile tutorials/stdpar/brev/dockerfile
@@ -23,8 +23,8 @@ x-config:
2323 - accelerated-computing-hub:/accelerated-computing-hub
2424 environment :
2525 - BREV_ENV_ID
26- - ACH_TUTORIAL
2726 - ACH_RUN_TESTS
27+ ACH_TUTORIAL : *tutorial-name
2828 user : root
2929 working_dir : *working-dir
3030 persistent-service : &persistent-service
You can’t perform that action at this time.
0 commit comments