Skip to content

Commit

Permalink
report bundle state
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jun 28, 2024
1 parent 81a38ea commit 0713f60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bundle-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ jobs:
env:
LUCEE_CLI_PRINTEXCEPTIONS: TRUE
LUCEE_ENABLE_BUNDLE_DOWNLOAD: FALSE
LUCEE_ADMIN_PASSWORD: lucee

10 changes: 10 additions & 0 deletions custom/bundle-test/index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,15 @@
systemOutput( "Argon", true );
generateArgon2Hash( "lucee" );
systemOutput( "", true );
admin
type="server"
password="lucee"
action="getBundles"
returnvariable="bundles";
for ( bundle in bundles ){
systemOutput( "#chr(9)# #bundle.symbolicName#, #bundles.version#, #bundles.state#", true );
}
systemOutput( "--- finished ---- " );
</cfscript>

0 comments on commit 0713f60

Please sign in to comment.