summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/geo/bin
AgeCommit message (Collapse)AuthorFilesLines
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-5/+5
- create a .pre-commit-config.yaml configuration file with * gitlint * trailing blanks linter * tabs removal linter - exclude .git folder from it - exclude Makefiles since tabs are mandatory by default in them - create a tox pre-commit profile to run it from tox note gitlint is not runnable at this pre-commit stage - create pre-commit-install and pre-commit-uninstall tox profiles to (un)install hooks locally and (un)perform tests at each "git commit" call (i.e. without calling manually the pre-commit tox profile) - precise pre-commit stages/types in the pre-commit configuration file so that hooks are installed correctly. This avoids messages about skipped tests when they are run at a wrong stage. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ie95bb4f6f90be80b05a1398973caffeff7936881
2021-06-24[COMMON] Fix some bashismsGuillaume Lambert1-2/+2
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
2021-06-23[COMMON] Revert "[COMMON] Fix a few bashisms"Krzysztof Opasiak1-2/+2
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
2021-06-15[COMMON] Fix a few bashismsGuillaume Lambert1-2/+2
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
2021-04-14[COMMON] Fix function declarations bashismsGuillaume Lambert1-1/+1
pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "^possible .*'function' is useless " | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/functio n \\\([^ ()]*\\\) *(\\\?)\\\?/\\\1 ()/\' -e '\2s/(){/() {/' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41c8ba8288b7a90db9f5775cd601c09ff2ab663
2020-10-21[SDNC] change comment styleJakub Latusek5-0/+10
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia390319f744931f435615af49246c0e13cdb8564 Issue-ID: OOM-2562
2018-09-13Resource Limits for sdnctoshrajbhardwaj1-1/+1
Issue-ID: OOM-1162 Change-Id: Ifb06ba4377152148ab817ec48e8cdd62bbff7f5d Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
2018-09-07fix sdnc.cluster script to use new NodePort prefixjmac1-1/+1
Change-Id: Ie2c84aad411e26019eb38cb9262ff98096345ad6 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1379
2018-07-15SDN-C Multi-site High-availability - Auto-failoverMohammadreza Pasandideh6-86/+163
Change-Id: I4e028b31ce7a60154d2c04c63431c5ea996de8f8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-213
2018-05-14Fix Geo ConfigTrevor Tait1-1/+1
Issue-ID: SDNC-290 Change-Id: I68776259f5950d07e3b2c76b046d2b8b596bbc34 Signed-off-by: Trevor Tait <rtait@amdocs.com>
2018-05-11General cleanup of SDNC chartsjmac1-2/+2
Addressing issues like: - missing property files - hard-coded ports - hard-coded ODL passwords - improper configMap mounts - incorrect service names Change-Id: I74726ffedbfc20e164a814ca8777a699b92b3d65 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-310
2018-04-05Multi-site High-availability Manual Failover (PoC)Neha Jain4-0/+163
Change-Id: I0d5644790441099434322d486f4ba014fd8bc1f7 Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214