You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/bin/verify.sh
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -81,17 +81,22 @@ echo """
81
81
}
82
82
83
83
""">"${DOWNLOAD_LOCATION}/custom-repos.gradle"
84
+
echo"✅ Custom repo script written"
85
+
86
+
echo"Bootstrap Gradle ..."
87
+
cd"${DOWNLOAD_LOCATION}/grails/gradle-bootstrap"
88
+
gradlew
89
+
echo"✅ Gradle Bootstrapped"
90
+
91
+
echo"Verifying Reproducible Build ..."
92
+
verify-reproducible.sh "${DOWNLOAD_LOCATION}"
93
+
echo"✅ Reproducible Build Verified"
84
94
85
95
echo"Be sure to do the following:"
86
96
echo"☑️ Run the wrapper ShellApp: cd ${DOWNLOAD_LOCATION}/apache-grails-wrapper-${VERSION}-incubating-bin/ShellApp && ./gradlew bootRun --init-script ~/grails-verify/custom-repos.gradle"
87
97
echo"☑️ Run the wrapper ForgeApp: cd ${DOWNLOAD_LOCATION}/apache-grails-wrapper-${VERSION}-incubating-bin/ForgeApp && ./gradlew bootRun --init-script ~/grails-verify/custom-repos.gradle"
88
98
echo"☑️ Run the cli ShellApp: cd ${DOWNLOAD_LOCATION}/apache-grails-${VERSION}-incubating-bin/ShellApp && ./gradlew bootRun --init-script ~/grails-verify/custom-repos.gradle"
89
99
echo"☑️ Run the cli ForgeApp: cd ${DOWNLOAD_LOCATION}/apache-grails-${VERSION}-incubating-bin/ForgeApp && ./gradlew bootRun --init-script ~/grails-verify/custom-repos.gradle"
90
-
echo"☑️ run the reproducible build test (see below)"
91
-
92
-
# I have no idea why this needs done manually, but if it's run from this script gradle happily ignores the settings.gradle and tries to build (so it fails)
93
-
echo" Unable to bootstrap gradle manually. Please bootstrap by running the gradle 'wrapper' task in grails & grails/grails-gradle."
94
-
echo" After bootstrapping, call verify-reproducible.sh '${DOWNLOAD_LOCATION}'"
95
-
echo""
100
+
echo"☑️ Run the shell cli from one of the applications and ensure all commands show as expected - pay attention to the scaffolding ones since they are dynamically loaded"
96
101
97
102
echo"✅✅✅ Verification finished, see above instructions for remaining manual testing."
0 commit comments