diff --git a/.circleci/config.yml b/.circleci/config.yml index 4dc51b709b..09c30acfa8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -171,18 +171,18 @@ jobs: export LEO=/home/circleci/project/project/bin/leo ./project/.circleci/leo-login-logout.sh - leo-clone: - docker: - - image: cimg/rust:1.51.0 - resource_class: xlarge - steps: - - attach_workspace: - at: /home/circleci/project/ - - run: - name: leo clone - command: | - export LEO=/home/circleci/project/project/bin/leo - ./project/.circleci/leo-clone.sh +# leo-clone: +# docker: +# - image: cimg/rust:1.51.0 +# resource_class: xlarge +# steps: +# - attach_workspace: +# at: /home/circleci/project/ +# - run: +# name: leo clone +# command: | +# export LEO=/home/circleci/project/project/bin/leo +# ./project/.circleci/leo-clone.sh leo-publish: docker: diff --git a/.circleci/leo-clone.sh b/.circleci/leo-clone.sh index 6b3be3d492..c625b8d355 100755 --- a/.circleci/leo-clone.sh +++ b/.circleci/leo-clone.sh @@ -1,18 +1,18 @@ -## leo clone -# -## Clone the test-app package. -#export PACKAGE="$ALEO_PM_USERNAME/test-app" -#$LEO clone $PACKAGE -# -## Assert that the 'test-app' folder is not empty -# -#cd test-app || exit 1 -#if [ "$(ls -A $DIR)" ]; then -# echo "$DIR is not empty" -#else -# echo "$DIR is empty" -# exit 1 -#fi -# -#ls -la -#$LEO run +# leo clone + +# Clone the test-app package. +export PACKAGE="$ALEO_PM_USERNAME/test-app" +$LEO clone $PACKAGE + +# Assert that the 'test-app' folder is not empty + +cd test-app || exit 1 +if [ "$(ls -A $DIR)" ]; then + echo "$DIR is not empty" +else + echo "$DIR is empty" + exit 1 +fi + +ls -la +$LEO run