Reference - CLI - extension
Command
./adop extension <subcommand> [<options>]
Used for running ADOP extension related commands.
Subcommands
load
Subcommand | |
---|---|
load [<options>] | Loads an extension into ADOP stack. |
Option | |
-u [<GIT_URL>] | Sets the Git repository to load the extension from, where <GIT_URL> is the URL to the Git repository (required). |
-r [<GIT_REF>] | Sets the Git reference name, where <GIT_REF> is the reference name (optional) (default: master). |
-c [<AWS_CREDENTIALS>] | Sets the Amazong Web Services Credentials, where <AWS_CREDENTIALS> is the CREDENTIAL_ID which you can setup using add_credentials command (required). |
load_collections
Subcommand | |
---|---|
load_collections [<options>] | Loads an the collection of extensions into ADOP stack. |
Option | |
-u [<EXTENSION_COLLECTION_URL>] | Sets the URL to a JSON file defining the extension collection, where <EXTENSION_COLLECTION_URL> is the URL to the JSON file(required). |
-c [<AWS_CREDENTIALS>] | Sets the Amazong Web Services Credentials, where <AWS_CREDENTIALS> is the CREDENTIAL_ID which you can setup using add_credentials command (required). |
add_credentials
Subcommand | |
---|---|
add_credentials [<options>] | Adds the credentials to Jenkins in ADOP stack. |
Option | |
-u [<USERNAME>] | Sets the username for Jenkins credentials, where <USERNAME> is any generic username (i.e. "aws-user") (required). |
-p [<PASSWORD>] | Sets the password for Jenkins credentials, where <PASSWORD> is any generic password (for added security use alphanumeric combination as well as special characters)(required). |
-p [<CREDENTIAL_ID>] | Sets the ID with which the credentials will be saved to Jenkins, where <CREDENTIAL_ID> is any generic name (i.e. -i basic-auth)(required) (must be unique). |
help | Prints help information. |
Examples [WIP]
./adop extension load -u https://github.com/Accenture/adop-platform-extension-specification -c aws