Age | Commit message (Collapse) | Author | Files | Lines |
|
Make fix to install Portal using OOM from scratch using user guide
Issue-ID: OOM-3032
Signed-off-by: Vladislav Sheshalevich <onlyselain@gmail.com>
Change-Id: I07f444d49c76b63abf889cc69b875795f84655d0
|
|
|
|
pointed out by checkbashisms.
shopt, and therefore all the options it provides (only nullglob here)
are not defined by POSIX and are bash-specific.
The specific option nullglob is well documented in the bash manual.
In short, it makes filename globbing patterns that do not match any
filenames simply expanded to nothing rather than remaining unexpanded.
$ echo my*file
my*file
$ shopt -s nullglob
$ echo my*file
This is actually useless in the script where it is used here
since no blob is used to expand such filenames.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Id336c17a46c6e5c0748562e7cd8f0efa5570ce6d
|
|
pointed out by checkbashisms.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I4940176970266238168009ffd56bce956c7ece69
|
|
pointed out by checkbashisms.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I949263ef21c3dd600b2040491428fdba6cba69ef
|
|
Variable attribute 'local' is not POSIX but is LSB supported.
It is available in other shells such as ash or dash.
And in ksh, local is the default scope of functions vaiables.
Though, the syntax "local var=XX" is only supported and found in bash.
Sadly, this is not detected by checkbashims.
- fix "local var=XX" bashisms
- add a manual command in tox.ini to detect them in the CI
https://wiki.ubuntu.com/DashAsBinSh#local
https://wiki.ubuntu.com/DashAsBinSh#declare_or_typeset
https://stackoverflow.com/questions/12000949/scope-of-variables-in-ksh
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iff26e50cd352eeb760d923a4740a6f92184fe0f2
|
|
with the following command
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} +
then realign manually what deserves it and in particular,
unindent some EOF scripting tags so they do not trigger errors.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
|
|
|
|
|
|
pointed out by checkbashisms
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic3162f08f39026bf15a2c5a990b0078635c1c918
|
|
pointed out by checkbashisms
Issue-ID: OOM-264
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ief3b2595a55f0e7a0a2e7ab05857848c99ce42f9
|
|
pointed out by checkbashisms
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: If162bba41eec0998bd6eaf321eebe2e7834aca29
|
|
pointed out by checkbashisms.
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I527f9b8dcad98a5dd9eb30390d26c95c1d918c09
|
|
pointed out by checkbashisms in docker-entrypoint.sh
- migrate to straight strings the arrays used to pass options
Arrays are supported in bash but are not POSIX compliant.
- remove useless double quotes in variables used to pass options
Double quotes are often used to avoid globbing and word splitting.
Since possibles values are strictly constrained here, they are not
required.
https://github.com/koalaman/shellcheck/wiki/Sc2086
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I4f75d8b5a00afb87b5982cb31559f29c8863c8a5
|
|
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242.
This commit introduced regression on portal db config job which is now
unable to start:
/usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `('
Issue-ID: OOM-1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
|
|
|
|
|
|
pointed out by checkbashisms.
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic9c4edc0fc6bd94a95bcb85d84379e868fb09930
|
|
pointed out by checkbashisms:
- variable name HOSTNAME
- source instead of .
- variable increments
- sleep with suffix
And migrate a few shebangs to /bin/sh
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00
|
|
pointed out by checkbashisms.
Note this kind of indirections can only be replaced directly in POSIX
by commands using eval.
Security risks must be evaluated for each context where eval is called.
For a safe use, the context must ensure that only a limited number of
possible constrainted values are passed to eval.
https://mywiki.wooledge.org/Bashism#Parameter_Expansions
https://mywiki.wooledge.org/BashFAQ/006#Indirection
Issue-ID: OOM-264
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Id27f3ffd1ddb092a9c038d3a45d9e3278720eb62
|
|
pointed out by checkbashisms.
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I958443b2e4b4f6391a74f957314d7d3fcf321cd0
|
|
Includes image updates to version 3.4.2 and
disabled A&AI Ui from portal platform
Issue-ID: OOM-2618
Signed-off-by: SandeepLinux <sandeep.shah@att.com>
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I98f4b477c3ac4d75ae9ef40387c6e931c1afb352
|
|
Update docker-entrypoint.sh file, since we
are going with the latest mariaDB version
10.5.5 and also updated with released images
Issue-ID: OOM-2587
Signed-off-by: SandeepLinux <Sandeep.Shah@att.com>
Change-Id: If903ccbfb5dc820219b7d0d28d274bd40b033887
Signed-off-by: statta <statta@att.com>
|
|
Creation of a non-root user for portal backend
mariaDB database. Update portal apps, such as
front-end app and sdk app, to use the non-root
user to access back-end mariaDB database
Issue-ID: OOM-2576
Signed-off-by: SandeepLinux <Sandeep.Shah@att.com>
Change-Id: Ie13c7d190c08a4075058b97b352f4b71bbb0aa47
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
|
|
The policy/engine GUI is being deprecated in Guilin and needs to be removed from Portal project as that docker image will no longer be shipped and will be removed from OOM charts soon.
Issue-ID: PORTAL-978
Change-Id: I8242f734dfd67c55146ea2952cad82bbd259da5b
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
|
|
In order to allow to define dependencies per subchart let's move all
of them to components and make sure that they can be build
independently.
Issue-ID: AAF-1134
Change-Id: Ia75ba66d9338dbacaea500c20f6a5b384d1685a1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
|