login.sh,start_container.sh,stop_container.sh: allow 2nd arguments to be passed as date or release.
This commit is contained in:
parent
0cd42c8eaa
commit
f1f19d771c
6
HOWTO.md
6
HOWTO.md
@ -49,11 +49,17 @@ There are some auxiliary bash scripts to run docker container locally.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# start an Odoo release container
|
# start an Odoo release container
|
||||||
|
$ bash start_container.sh 9.0 2016-11-23
|
||||||
|
# or
|
||||||
$ bash start_container.sh 9.0 20161123
|
$ bash start_container.sh 9.0 20161123
|
||||||
|
|
||||||
# open interactive session on the Odoo container
|
# open interactive session on the Odoo container
|
||||||
|
$ bash login.sh 9.0 2016-11-23
|
||||||
|
# or
|
||||||
$ bash login.sh 9.0 20161123
|
$ bash login.sh 9.0 20161123
|
||||||
|
|
||||||
# stop and destroy
|
# stop and destroy
|
||||||
|
$ bash stop_container.sh 9.0 2016-11-23
|
||||||
|
# or
|
||||||
$ bash stop_container.sh 9.0 20161123
|
$ bash stop_container.sh 9.0 20161123
|
||||||
```
|
```
|
||||||
|
2
login.sh
2
login.sh
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
ODOO_VERSION="$1"
|
ODOO_VERSION="$1"
|
||||||
ODOO_RELEASE="$2"
|
ODOO_RELEASE=$(echo "${2}" | tr -d '-')
|
||||||
|
|
||||||
|
|
||||||
validation() {
|
validation() {
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
# #####
|
# #####
|
||||||
|
|
||||||
|
|
||||||
ODOO_VERSION="$1"
|
ODOO_VERSION="${1}"
|
||||||
ODOO_RELEASE="$2"
|
ODOO_RELEASE=$(echo "${2}" | tr -d '-')
|
||||||
|
|
||||||
|
|
||||||
validation() {
|
validation() {
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
# #####
|
# #####
|
||||||
|
|
||||||
|
|
||||||
ODOO_VERSION="$1"
|
ODOO_VERSION="${1}"
|
||||||
ODOO_RELEASE="$2"
|
ODOO_RELEASE=$(echo "${2}" | tr -d '-')
|
||||||
|
|
||||||
|
|
||||||
validation() {
|
validation() {
|
||||||
|
Loading…
Reference in New Issue
Block a user