Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test pull request #1

Open
wants to merge 124 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
e84378d
Update README.md
javimoya Jun 21, 2016
3a66d2f
Updated ADOP CLI extension to fix the bug with load_collection operat…
Jun 21, 2016
b7ec724
Merge pull request #105 from SachinKSingh28/master
nickdgriffin Jun 28, 2016
29e4408
Add Gitter badge to README
anton-kasperovich Jun 28, 2016
0eedda0
Merge pull request #110 from anton-kasperovich/patch-1
nickdgriffin Jun 28, 2016
f1703ab
Updating check job status function with more checks
Jun 27, 2016
4f06099
Merge pull request #109 from dsingh07/feature/doa-cli
nickdgriffin Jun 28, 2016
1a7c682
Update version of ADOP SonarQube docker image to 0.2.0
Jul 13, 2016
e236b1a
Update cli.md
kramos Jul 18, 2016
8350ae2
Merge pull request #113 from anton-kasperovich/feature/upgrade_sonar_…
nickdgriffin Jul 26, 2016
a6ebce7
Adding maintainer rules
nickdgriffin Jul 27, 2016
0c21363
Replaced NAT Instances with NAT Gateways
Jul 27, 2016
a6baa7a
Removed unnecessary environment variables from outer proxy
Jul 27, 2016
e274951
Merge pull request #118 from nickdgriffin/feature/maintainers
anton-kasperovich Jul 27, 2016
de9da0b
Update quickstart.md
kramos Jul 27, 2016
4276d0f
Update cli.md
kramos Jul 27, 2016
fce303e
Merge pull request #120 from Accenture/kramos-wiki-change
anton-kasperovich Jul 29, 2016
443cde8
Adding countdown timer, sleeps are now 30 seconds, default EBS storag…
kramos Jul 29, 2016
b2f7e7a
Added the goodness from this README.md change: PR 106
kramos Aug 1, 2016
9e50624
Merge pull request #122 from Accenture/kramos-PR106
anton-kasperovich Aug 2, 2016
eaf2196
Merge pull request #106 from javimoya/patch-1
anton-kasperovich Aug 2, 2016
5545461
Adding instructions for publishing the documentation site
nickdgriffin Jul 27, 2016
e8e1819
Merge pull request #119 from nickdgriffin/feature/site_publish
SachinKSingh28 Aug 2, 2016
9e984be
Fixing the user feedback part of the README
nickdgriffin Aug 2, 2016
f7b6abe
Upgrading the Slave to 0.1.4
nickdgriffin Aug 2, 2016
31c9aa6
Merge pull request #126 from nickdgriffin/feature/slave-upgrade
SachinKSingh28 Aug 3, 2016
e65a396
Merge pull request #125 from nickdgriffin/feature/README-fixes
anton-kasperovich Aug 4, 2016
4e36bbe
Replacing syslog-tag with tag
nickdgriffin Aug 4, 2016
f6a12f2
Merge pull request #131 from nickdgriffin/fix/115
SachinKSingh28 Aug 4, 2016
c43ff22
Adding a sleep loop for Nginx during init
nickdgriffin Aug 3, 2016
cdfc3a2
Merge pull request #130 from nickdgriffin/fix/121
anton-kasperovich Aug 5, 2016
b001f97
Removing checking if target URL contains an IP
nickdgriffin Aug 3, 2016
83c9261
Upgrading Compose to 1.6.2 for bug fixes
nickdgriffin Aug 3, 2016
0ae7346
Adding prerequisite information around versions
nickdgriffin Aug 4, 2016
5b8a4de
Merge pull request #128 from nickdgriffin/feature/compose-1.6.2
anton-kasperovich Aug 8, 2016
414836d
Merge pull request #112 from kramos/master
anton-kasperovich Aug 8, 2016
95992ea
Merge pull request #129 from nickdgriffin/feature/adop-target-fix
anton-kasperovich Aug 10, 2016
3edbefc
Adding option to skip Load_Platform
nickdgriffin May 20, 2016
527c72f
Merge pull request #124 from nickdgriffin/feature/skip-init
SachinKSingh28 Aug 11, 2016
d5171aa
Fixing docs
nickdgriffin Aug 11, 2016
3ae8855
Merge pull request #132 from SachinKSingh28/feature/NAT
anton-kasperovich Aug 12, 2016
993584f
Adding cartridge subcommand to CLI and bat tests
kramos Aug 18, 2016
921fc94
Modifying LDAP parameters in docker-compose.yml to be read from env.c…
Aug 22, 2016
e6aa74b
Update CF-ADOP-Cluster.json
AlexPinhel Aug 31, 2016
2bec109
Merge pull request #135 from mihail-dev/master
anton-kasperovich Sep 1, 2016
c95cc14
Adding version checking of secrets file
Sep 8, 2016
359c485
Merge pull request #139 from dsingh07/feature/credentials
nickdgriffin Sep 9, 2016
5120085
Removing direct usage of AWS credential and config files
nickdgriffin Jun 15, 2016
0233acc
Fix: Adjusting error handling to prevent the CLI from being called af…
nickdgriffin Sep 8, 2016
4bbeed9
Merge pull request #137 from kx74/patch-2
nickdgriffin Sep 9, 2016
9e272ec
Adding random password generation for ldap admin
Sep 7, 2016
8bd42a0
Updating version number of LDAP image
Sep 8, 2016
85bbc77
Merge pull request #138 from dsingh07/master
nickdgriffin Sep 9, 2016
41d7fee
Merge pull request #103 from nickdgriffin/remove-aws-credential-file
nickdgriffin Sep 9, 2016
40d8205
Updating Operating Documentation
Sep 14, 2016
6c3e977
Updating Reference Documentation for CLI
Sep 14, 2016
e6ad053
Updating Developing Documentation
Sep 14, 2016
68f161d
Added images and updated contents file
Sep 14, 2016
b449289
Removing preview junk and fixing typo in help as per dsingh07s kind r…
kramos Sep 15, 2016
654d053
Moved Content from Operating to Developing (more appropriate), remove…
Sep 16, 2016
4177720
Merge pull request #140 from IrmantasM/master
nickdgriffin Sep 16, 2016
4d08016
Update to ensure that all documentation content is up-to-date
Sep 16, 2016
5d9a523
Merge pull request #141 from IrmantasM/master
nickdgriffin Sep 16, 2016
883e83d
Merge pull request #134 from kramos/master
nickdgriffin Sep 20, 2016
51eab14
Updated readme to use adop cli to provision adop stack with swarm tem…
Sep 18, 2016
3decab6
Merge pull request #142 from SachinKSingh28/master
nickdgriffin Sep 20, 2016
3ba808b
Change NGINX countdown timer to pretty one
Sep 24, 2016
09f8a3a
Update Selenium Hub and Nodes to 2.53.0 version, added REMOTE_HOST se…
Sep 25, 2016
1ae0719
Update adop-outer-proxy 0.2.1 to fix Amazon ELB in Swarm cluster temp…
Sep 25, 2016
6ef652f
Merge pull request #143 from anton-kasperovich/feature/nginx_countdow…
nickdgriffin Sep 26, 2016
44d46c8
Merge pull request #144 from anton-kasperovich/feature/selenium_2_53_0
nickdgriffin Sep 26, 2016
aff11b5
Change Jenkins (2.7.4 LTS) image version on 0.2.0 release
Sep 30, 2016
9671bc8
Merge pull request #149 from anton-kasperovich/jenkins_release
nickdgriffin Sep 30, 2016
b957e93
Fixing url to add jenkins credentials via CLI
Oct 6, 2016
f49b850
Adding error handling around curl command to post request to add jenk…
Oct 6, 2016
0b50739
Merge pull request #151 from dsingh07/master
SachinKSingh28 Oct 6, 2016
31ed0b0
Merge pull request #145 from anton-kasperovich/feature/update_swarm_o…
nickdgriffin Oct 8, 2016
1f066ad
Export port 50000 JNLP to host to enable slaves outside of the contai…
RobertNorthard Oct 10, 2016
83e0021
Updated compose cli to check for both http and https protocol
SachinKSingh28 Sep 26, 2016
427ec9e
Merge pull request #152 from SachinKSingh28/feature/fix_target_host
anton-kasperovich Oct 15, 2016
cbe6332
Added the sonar username and password as environment variables
Oct 17, 2016
4ae078b
Merge pull request #154 from SachinKSingh28/master
anton-kasperovich Oct 18, 2016
7654876
Merge pull request #153 from RobertNorthard/feature/jnlp-port-expose
SachinKSingh28 Oct 20, 2016
7f3123f
Adding CLI option to not use logging driver
Oct 24, 2016
3f142ab
Updating nexus image version
Oct 24, 2016
ea6a6fa
Merge pull request #156 from dsingh07/feature/nexus
anton-kasperovich Oct 25, 2016
4fe876b
Cross-linking the cartridge cookbook
nickdgriffin Oct 27, 2016
85cb37b
Merge pull request #160 from nickdgriffin/feature/cartridge_cookbook
anton-kasperovich Oct 27, 2016
75bc872
Merge pull request #157 from dsingh07/master
anton-kasperovich Oct 27, 2016
d64a01c
Upgrading Sensu image to 0.2.0
nickdgriffin Nov 8, 2016
58b7116
Merge pull request #164 from nickdgriffin/master
anton-kasperovich Nov 9, 2016
6df0d81
Updating Gerrit image version number
Nov 29, 2016
05c16ea
Merge pull request #168 from dsingh07/master
anton-kasperovich Nov 30, 2016
4c33b17
Clarifying pre-requisites
nickdgriffin Dec 5, 2016
54ff0cf
Merge pull request #171 from nickdgriffin/master
dsingh07 Dec 21, 2016
1d1a648
Updating versions
nickdgriffin Jan 5, 2017
7c7defb
Merge pull request #180 from nickdgriffin/feature/prereqs
anton-kasperovich Jan 6, 2017
c2caf1b
Removing selenium host mounting
nickdgriffin Jan 10, 2017
c81ab73
Merge pull request #182 from nickdgriffin/feature/remove_selenium_vol…
anton-kasperovich Jan 10, 2017
8af31ca
upgrade nodejs to 6.9.2 LTS
Dec 11, 2016
8f2c496
Updating jenkins image version
Jan 19, 2017
9a2ed23
Merge pull request #173 from m4m51m/feature/upgrade-nodejs-6.9.2-LTS
anton-kasperovich Jan 23, 2017
b5ccb10
Merge pull request #186 from dsingh07/master
nickdgriffin Feb 10, 2017
278e7e0
Updating jenkins image version (#187)
dsingh07 Feb 10, 2017
76a3b02
Fix for using multiple flags with adop compose init
Nov 22, 2016
acd56db
Merge pull request #166 from statlus/feature/composefix
nickdgriffin Feb 15, 2017
690d8f8
Added local Docker Registry and Certbot script to support generation …
Sep 19, 2016
5161f52
Merge pull request #123 from anton-kasperovich/letsencrypt_certbot_ssl
nickdgriffin Feb 19, 2017
e766747
Removing ADOP_PLATFORM_MANAGEMENT_VERSION
nickdgriffin Jan 12, 2017
ae03254
Merge pull request #185 from nickdgriffin/feature/remove_plat_man_ver…
dsingh07 Feb 20, 2017
e6d8d8e
Added new system variable for cartridge sources and changed Jenkins i…
Feb 7, 2017
57b37ba
Merge pull request #188 from DavideVi/master
dsingh07 Feb 22, 2017
0c29946
Added default Groovy installation version.
Feb 22, 2017
754aae0
Merge pull request #192 from RobertNorthard/feature/add-groovy-profil…
dsingh07 Feb 23, 2017
0d123dd
Updated Jenkins image to 0.2.5
Feb 23, 2017
7473b5e
Merge pull request #194 from RobertNorthard/master
nickdgriffin Feb 23, 2017
6188ec1
Updating jenkins image version
Feb 24, 2017
a2d9812
Merge pull request #195 from IrmantasM/master
RobertNorthard Feb 24, 2017
219d120
GET request to load_cartridge job to load defaults params.
Mar 10, 2017
44bd3b0
Merge pull request #198 from RobertNorthard/master
dsingh07 Mar 13, 2017
017cbf9
Adding roadmap link to README (#200)
kramos Mar 13, 2017
f5147e8
Expose LDAP container port to host.
Mar 20, 2017
ab9b568
Merge pull request #202 from RobertNorthard/feature/expose-ldap-port-…
nickdgriffin Mar 21, 2017
0e6af4b
Removing example Swarm template (#209)
nickdgriffin Apr 4, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:

env:
global:
- DOCKER_COMPOSE_VERSION=1.6.0
- DOCKER_COMPOSE_VERSION=1.6.2
- INITIAL_ADMIN_USER=admin.user
- INITIAL_ADMIN_PASSWORD_PLAIN=admin123
- COMPOSE_FILES="-f site/docker-compose.yml"
Expand Down
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/Accenture/adop-docker-compose.svg?branch=master)](https://travis-ci.org/Accenture/adop-docker-compose)
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/Accenture/ADOP)

# The DevOps Platform: Overview

Expand All @@ -20,7 +21,7 @@ Once you have explored this the next step is to create your own Workspace and Pr

# Quickstart Instructions

These instructions will spin up an instance in a single server in AWS (for evaluation purposes).
These instructions will spin up an instance in a single server in AWS (for evaluation purposes). Please check the [prerequisites](http://accenture.github.io/adop-docker-compose/docs/prerequisites/).

NB. the instructions will also work in anywhere supported by [Docker Machine](https://docs.docker.com/machine/), just follow the relevant Docker Machine instructions for your target platform and then start at step 3 below and (you can set the AWS_VPC_ID to NA).

Expand All @@ -36,7 +37,7 @@ NB. the instructions will also work in anywhere supported by [Docker Machine](ht
Usage: ./quickstart.sh -t aws
-m <MACHINE_NAME>
-c <AWS_VPC_ID>
-r <AWS_DEFAULT_REGION>(optional)
-r <AWS_DEFAULT_REGION>
-z <VPC_AVAIL_ZONE>(optional)
-a <AWS_ACCESS_KEY>(optional)
-s <AWS_SECRET_ACCESS_EY>(optional)
Expand Down Expand Up @@ -78,9 +79,11 @@ NB. the instructions will also work in anywhere supported by [Docker Machine](ht
Password: YOUR_PASSWORD
```
1. Log in using the username and password you specified in the quickstart script:
```
```
<INITIAL_ADMIN_USER> / <INITIAL_ADMIN_PASSWORD>
```
```

1. Update the docker-machine security group in the AWS console to permit inbound http traffic on ports 80 and 443 (from the machine(s) from which you want to have access only), also UDP on 25826 and 12201 from 127.0.0.1/32.

# General Getting Started Instructions

Expand Down Expand Up @@ -120,8 +123,6 @@ eval $(docker-machine env <YOUR_MACHINE_NAME>)

Create a Docker Swarm that has a publicly accessible Engine with the label "tier=public" to bind Nginx and Logstash to that node

- Instruction to create a docker swarm cluster on AWS are [`here`](https://github.com/Accenture/adop-docker-compose/blob/master/provision/aws/swarm/README.md)

## Launching

- Run: export TARGET\_HOST=\<IP\_OF\_PUBLIC\_HOST\>
Expand Down Expand Up @@ -188,21 +189,23 @@ Note : For Windows run this command from a terminal (Git Bash) as administrator.
Kibana 4 does not provide a configuration property that allow to define the default index pattern so the following manual procedure should be adopted in order to define an index pattern:

- Navidate to Settings > Indices using Kibana dashboard
- Set index name or pattern as "logstash-*"
- Set index name or pattern as "logstash-\*"
- For the below drop-down select @timestamp for the Time-field name
- Click on create button

# User feedback
# User Feedback

## Documentation
Documentation can be found under the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.
Documentation can be found [on our GitHub Pages site](http://accenture.github.io/adop-docker-compose).

## Issues
If you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/Accenture/adop-docker-compose/issues).
If you have any problems with or questions about this project, please contact us through [Gitter](https://gitter.im/Accenture/ADOP) or a [GitHub issue](https://github.com/Accenture/adop-docker-compose/issues).

## Contribute
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can. You can find more information in our [documentation](http://accenture.github.io/adop-docker-compose/docs/contributing/).

Before you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/Accenture/adop-docker-compose/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

## Roadmap
We use this working [Roadmap](https://github.com/Accenture/adop-docker-compose/wiki/Roadmap) to evolve and summarise plans for future features and the merge of existing PRs.

200 changes: 200 additions & 0 deletions cmd/cartridge
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
#!/bin/bash -e

SUB_CMD_NAME="cartridge"
source ${CLI_DIR}/lib/adop_lib.sh

# Templates to build the cartridge from\
declare -A templates
templates['example']=https://github.com/Accenture/adop-cartridge-skeleton.git
# TODO actually need a node template!
templates['node']=https://github.com/Accenture/adop-cartridge-skeleton.git
templates['java']=https://github.com/Accenture/adop-cartridge-java.git
templates['docker']=https://github.com/Accenture/adop-cartridge-docker.git
templates['chef']=https://github.com/Accenture/adop-cartridge-chef.git


list_init_templates() {
printf "\nThe following templates can be used to build your inital cartridge. (The default is example.)\n\n"
for name in ${!templates[@]}; do
printf "${name}:\t${templates[$name]}\n"
done
}

list_template_names() {
for name in ${!templates[@]}; do
printf "${name} "
done
}

list_template_urls() {
for name in ${templates[@]}; do
echo $name
done
}

cmd_desc() {
echo "For creating cartridges."
}

cmd_usage() {
echo "usage: ${CMD_NAME} ${SUB_CMD_NAME} <subcommand>"
}

help() {
cmd_usage
echo
echo "Available subcommands are:"
printf " %-30s %s\n" "init [<options>]" "Create a cartridge skeleton in the current directory."
printf " %-30s %s\n" "list_init_templates [<options>]" "List the templates that can be used to initialise a new cartridge in your currently working directory."
echo
echo "Try '${CMD_NAME} ${SUB_CMD_NAME} <subcommand> -h' for details."
echo "HINT: Run '${CMD_NAME} ${SUB_CMD_NAME} init' to create a cartridge in the current directory"
echo
}

init_help() {
echo
echo "usage: ${CMD_NAME} ${SUB_CMD_NAME} init [<options>]"
printf " %-2s %s\n" "" "Options:"
printf " %-3s %s\n" "" "-s <SUBDIR> : Name of subfolder create the cartridge in (Optional) (Default : adop)"
printf " %-3s %s\n" "" "-t <TEMPLATE> : Cartridge template to use. Do not combine with -c. (Optional, options: $(list_template_names)) (Default : 'example = https://github.com/Accenture/adop-cartridge-skeleton.git')"
printf " %-3s %s\n" "" "-c <SKELURL> : URL of skeleton cartidge to re-use (Optional) (Default : defers to -t option/)"
printf " %-3s %s\n" "" "-h : Prints this help."
echo
echo "HINT: Run '${CMD_NAME} ${SUB_CMD_NAME} init' to create a cartridge in the current directory"
echo "HINT: If you are looking to load a cartridge, instead try: adop platform cartridge"
echo
}

init() {

local OPTIND
# If the parameters are provided from command line.
while getopts "c:s:t:h" opt; do
case $opt in
s)
export SUBDIR=${OPTARG}
;;
c)
export SKELURL=${OPTARG}
;;
t)
export TEMPLATE=${OPTARG}
;;
h)
init_help
exit 0
;;
*)
echo "Invalid parameter(s) or option(s)."
init_help
exit 1
;;
esac
done

# Validate c and t aren't both provided (or set as env vars)
if [ ! -z "${SKELURL}" ] && [ ! -z "${TEMPLATE}" ]; then
echo "ERROR: Both a template name ${TEMPLATE} and a skeleton repo URL ${SKELURL} were provided. Please state just one or neither."
exit 1
fi

# Default t if neither are provided (or set as env vars)
if [ -z "${SKELURL}" ] && [ -z "${TEMPLATE}" ]; then
export TEMPLATE=${TEMPLATE:-"example"}
fi

#Find url for template
if [ ! -z "${TEMPLATE}" ]; then
export SKELURL=${templates[$TEMPLATE]}
if [ -z $SKELURL ]; then
echo "ERROR: $TEMPLATE type not yet supported"
list_init_templates
exit 1;
fi
fi

# Default s if not provided as an arg or available as an env var
export SUBDIR=${SUBDIR:-"adop"}

# Not the current directory if it contains a git repo (because the clone would collide with the current repo)
if [[ "${SUBDIR}" == "." ]] && [ -d .git ]; then
echo "ERROR: cannot create cartridge in the current directory because it is a git repo."
exit 1
fi

# No paths outside the current dir
if [[ "${SUBDIR}" == *".."* ]]; then
echo "ERROR: the cartridge subdirectory name must not contain '..'."
exit 1
fi

# No absolulte paths
if [[ "${SUBDIR}" == "/"* ]]; then
echo "ERROR: the cartridge subdirectory name must not be supplied as an absolute path."
exit 1;
fi

# Clone the template cartridge
echo "Creating a cartridge skeleton in:" $SUBDIR "using:" $SKELURL

git clone --depth=1 $SKELURL $SUBDIR

# Attempt to customise the cartridge template
if [ ! -d ".git" ]; then
echo "WARNING: it doesn't appear that your are running this from the root directory of a git repository. Therefore unable to pre-populate src/urls.txt in your cartridge. Please do this manually. See http://accenture.github.io/adop-docker-compose/docs/developing/cartridges/#developing-cartridge-content"
else
THIS_URL=`git remote -v | grep push | awk '{print $2}'`
if [ ! -z "$THIS_URL" ]; then
# pre-populate the urls.txt with this repo
echo "Adding $THIS_URL to ${SUBDIR}/src/urls.txt"
#TODO would this work better as a sed substitution for some cartridge templates - might need to support comments in urls.txt
echo `git remote -v | grep push | awk '{print $2}'` >> ${SUBDIR}/src/urls.txt

# infer this repo name
THIS_REPO_NAME=`echo $THIS_URL | sed 's/.*\/\([^.]\+\)\(\.git\)\?/\1/'`
# attempt to customise job DSL
echo "Adding $THIS_URL to ${SUBDIR}/src/urls.txt"
find ${SUBDIR}/jenkins/jobs/dsl/*.groovy | while read DSLFILE; do
CKSUMB4=`cksum $DSLFILE`
# TODO add more sed rules here to support other templates
sed -i'' -e "s/def referenceAppgitRepo \+= \+.*/def referenceAppgitRepo = \"${THIS_REPO_NAME}\"/g" ${DSLFILE}
if [[ `cksum $DSLFILE` != $CKSUMB4 ]]; then
echo Customised git URL in: $DSLFILE to point to $THIS_REPO_NAME
fi
done

else
echo "WARNING: your git repository doesn't have any remotes. Therefore unable to pre-populate src/urls.txt in your cartridge. Please do this manually. See http://accenture.github.io/adop-docker-compose/docs/developing/cartridges/#developing-cartridge-content"
fi
fi


# We don't want the cartridge dir to be it's own git repo
rm -rf ${SUBDIR}/.git

printf "\nCartridge skeleton successfully created.\n\nYou can now load it into an ADOP instance: http://accenture.github.io/adop-docker-compose/docs/developing/cartridges/#testing-the-cartridge\n"

}


shift $(($OPTIND -1))
SUBCOMMAND_OPT="${1:-help}"

# Only shift if there are other parameters
if [ $# -ge 1 ]; then
shift
fi

case ${SUBCOMMAND_OPT} in
"cmd_desc"|"help"|"init"|"list_init_templates"|"list_template_urls")

${SUBCOMMAND_OPT} "$@"
;;
*)
echo "Invalid parameter(s) or option(s)."
help
exit 1
;;
esac

Loading