File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 88 environment :
99 DOCKER_VERSION : default
1010 BUILD_PATH : /tmp/container-build
11- CONTAINER_NAME_DEV : apache
12- CONTAINER_NAME_LIVE : apache-web-1
11+ CONTAINER_NAME : apache
1312 steps :
1413 - checkout
1514 - setup_remote_docker
@@ -34,18 +33,18 @@ jobs:
3433 - run :
3534 name : Global Environment Vars
3635 command : |
37- docker exec ${CONTAINER_NAME_DEV } /bin/bash -c "export"
36+ docker exec ${CONTAINER_NAME } /bin/bash -c "export"
3837
3938 - run :
4039 name : DEV Build Tests
4140 command : |
42- docker exec ${CONTAINER_NAME_DEV } /bin/bash /opt/tests/build_tests.sh
41+ docker exec ${CONTAINER_NAME } /bin/bash /opt/tests/build_tests.sh
4342
4443 - run :
4544 name : Container Logs
4645 command : |
4746 mkdir -p ${BUILD_PATH}
48- docker logs ${CONTAINER_NAME_DEV } > ${BUILD_PATH}/log_output-DEV_Apache.txt
47+ docker logs ${CONTAINER_NAME } > ${BUILD_PATH}/log_output-DEV_Apache.txt
4948 docker logs db > ${BUILD_PATH}/log_output-DEV_MySQL.txt
5049
5150 - run :
@@ -65,14 +64,14 @@ jobs:
6564 - run :
6665 name : LIVE Build Tests
6766 command : |
68- docker exec ${CONTAINER_NAME_LIVE } /bin/bash /opt/tests/build_tests.sh
67+ docker exec ${CONTAINER_NAME } /bin/bash /opt/tests/build_tests.sh
6968
7069 - run :
7170 name : Container Logs
7271 command : |
7372 mkdir -p ${BUILD_PATH}
74- docker logs ${CONTAINER_NAME_LIVE }-web-1 > ${BUILD_PATH}/log_output-LIVE_Apache.txt
75- docker logs ${CONTAINER_NAME_LIVE }-db-1 > ${BUILD_PATH}/log_output-LIVE_MySQL.txt
73+ docker logs ${CONTAINER_NAME }-web-1 > ${BUILD_PATH}/log_output-LIVE_Apache.txt
74+ docker logs ${CONTAINER_NAME }-db-1 > ${BUILD_PATH}/log_output-LIVE_MySQL.txt
7675
7776 - run : start_container_live
7877
You can’t perform that action at this time.
0 commit comments