From 540219e10628c57dd55145474a4a4e6197a36adf Mon Sep 17 00:00:00 2001 From: collin Date: Thu, 15 Apr 2021 11:29:27 -0700 Subject: [PATCH] comment out leo-clone ci check yaml --- .circleci/config.yml | 24 ++++++++++++------------ .circleci/leo-clone.sh | 36 ++++++++++++++++++------------------ 2 files changed, 30 insertions(+), 30 deletions(-) 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