mirror of https://github.com/CIRCL/AIL-framework
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
commit
e6d63e3b8f
|
@ -31,6 +31,7 @@ export PATH=$AIL_KVROCKS:$PATH
|
|||
export PATH=$AIL_BIN:$PATH
|
||||
export PATH=$AIL_FLASK:$PATH
|
||||
|
||||
function isup {
|
||||
isredis=`screen -ls | egrep '[0-9]+.Redis_AIL' | cut -d. -f1`
|
||||
isardb=`screen -ls | egrep '[0-9]+.ARDB_AIL' | cut -d. -f1`
|
||||
iskvrocks=`screen -ls | egrep '[0-9]+.KVROCKS_AIL' | cut -d. -f1`
|
||||
|
@ -40,6 +41,9 @@ is_ail_2_ail=`screen -ls | egrep '[0-9]+.AIL_2_AIL' | cut -d. -f1`
|
|||
isscripted=`screen -ls | egrep '[0-9]+.Script_AIL' | cut -d. -f1`
|
||||
isflasked=`screen -ls | egrep '[0-9]+.Flask_AIL' | cut -d. -f1`
|
||||
isfeeded=`screen -ls | egrep '[0-9]+.Feeder_Pystemon' | cut -d. -f1`
|
||||
}
|
||||
|
||||
isup
|
||||
|
||||
function helptext {
|
||||
echo -e $YELLOW"
|
||||
|
@ -69,6 +73,7 @@ function helptext {
|
|||
LAUNCH.sh
|
||||
[-l | --launchAuto] LAUNCH DB + Scripts
|
||||
[-k | --killAll] Kill DB + Scripts
|
||||
[-kl | --killLaunch] Kill All & launchAuto
|
||||
[-ks | --killscript] Scripts
|
||||
[-u | --update] Update AIL
|
||||
[-ut | --thirdpartyUpdate] Update UI/Frontend
|
||||
|
@ -692,6 +697,10 @@ while [ "$1" != "" ]; do
|
|||
;;
|
||||
-k | --killAll ) killall;
|
||||
;;
|
||||
-kl | --killLaunch ) killall;
|
||||
isup;
|
||||
launch_all "automatic";
|
||||
;;
|
||||
-ks | --killscript ) killscript;
|
||||
;;
|
||||
-m | --menu ) menu_display;
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
- name: Clone the AIL repository
|
||||
git:
|
||||
repo: 'https://github.com/CIRCL/AIL-framework.git'
|
||||
repo: 'https://github.com/ail-project/AIL-framework.git'
|
||||
dest: /opt/AIL-framework
|
||||
update: yes
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ curl https://get.docker.com | /bin/bash
|
|||
|
||||
2. Type these commands to build the Docker image:
|
||||
```bash
|
||||
git clone https://github.com/CIRCL/AIL-framework.git
|
||||
git clone https://github.com/ail-project/AIL-framework.git
|
||||
cd AIL-framework
|
||||
cp -r ./other_installers/docker/Dockerfile ./other_installers/docker/docker_start.sh ./other_installers/docker/pystemon ./
|
||||
cp ./configs/update.cfg.sample ./configs/update.cfg
|
||||
|
|
|
@ -43,7 +43,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>AIL Version</td>
|
||||
{%if ail_version is not none %}
|
||||
<td>{{current_version}}<a target="_blank" href="https://github.com/ail-project/ail-framework/releases/tag/{{current_version}}" class="text-info"><small> (release note)</small></a></td>
|
||||
{%else%}
|
||||
<td>{{git_metadata['current_branch']}}</td>
|
||||
{%endif%}
|
||||
</tr>
|
||||
<tr
|
||||
{%if git_metadata['current_branch'] != 'master'%}
|
||||
|
@ -121,7 +125,7 @@
|
|||
<h4 class="alert-heading">New Version Available!</h4>
|
||||
<hr class="my-0">
|
||||
<p>A new version is available, new version: <strong>{{git_metadata['last_remote_tag']}}</strong></p>
|
||||
<a target="_blank" href="https://github.com/CIRCL/AIL-framework/releases/tag/{{git_metadata['last_remote_tag']}}"> Check last release note.</a>
|
||||
<a target="_blank" href="https://github.com/ail-project/AIL-framework/releases/tag/{{git_metadata['last_remote_tag']}}"> Check last release note.</a>
|
||||
</div>
|
||||
{%endif%}
|
||||
|
||||
|
@ -130,7 +134,7 @@
|
|||
<h4 class="alert-heading">New Update Available!</h4>
|
||||
<hr class="my-0">
|
||||
<p>A new update is available, new commit ID: <strong>{{git_metadata['last_remote_commit']}}</strong></p>
|
||||
<a target="_blank" href="https://github.com/CIRCL/AIL-framework/commit/{{git_metadata['last_remote_commit']}}"> Check last commit content.</a>
|
||||
<a target="_blank" href="https://github.com/ail-project/AIL-framework/commit/{{git_metadata['last_remote_commit']}}"> Check last commit content.</a>
|
||||
</div>
|
||||
{%endif%}
|
||||
|
||||
|
|
|
@ -43,7 +43,11 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>AIL Version</td>
|
||||
{%if ail_version is not none %}
|
||||
<td>{{ail_version}}<a target="_blank" href="https://github.com/ail-project/ail-framework/releases/tag/{{ail_version}}" class="text-info"><small> (release note)</small></a></td>
|
||||
{%else%}
|
||||
<td>{{git_metadata['current_branch']}}</td>
|
||||
{%endif%}
|
||||
</tr>
|
||||
<tr
|
||||
{%if git_metadata['current_branch'] != 'master'%}
|
||||
|
@ -121,7 +125,7 @@
|
|||
<h4 class="alert-heading">New Version Available!</h4>
|
||||
<hr class="my-0">
|
||||
<p>A new version is available, new version: <strong>{{git_metadata['last_remote_tag']}}</strong></p>
|
||||
<a target="_blank" href="https://github.com/CIRCL/AIL-framework/releases/tag/{{git_metadata['last_remote_tag']}}"> Check last release note.</a>
|
||||
<a target="_blank" href="https://github.com/ail-project/AIL-framework/releases/tag/{{git_metadata['last_remote_tag']}}"> Check last release note.</a>
|
||||
</div>
|
||||
{%endif%}
|
||||
|
||||
|
@ -130,7 +134,7 @@
|
|||
<h4 class="alert-heading">New Update Available!</h4>
|
||||
<hr class="my-0">
|
||||
<p>A new update is available, new commit ID: <strong>{{git_metadata['last_remote_commit']}}</strong></p>
|
||||
<a target="_blank" href="https://github.com/CIRCL/AIL-framework/commit/{{git_metadata['last_remote_commit']}}"> Check last commit content.</a>
|
||||
<a target="_blank" href="https://github.com/ail-project/AIL-framework/commit/{{git_metadata['last_remote_commit']}}"> Check last commit content.</a>
|
||||
</div>
|
||||
{%endif%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue