File tree 5 files changed +27
-8
lines changed
5 files changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ COMPOSE_FILE=docker/default.yml:docker/local.override.yml
11
11
12
12
# local development with elasticsearch container
13
13
#COMPOSE_FILE=docker/default.yml:docker/local.override.yml:docker/elasticsearch.yml
14
+
15
+ # If you want to run a specific version, populate this
16
+ # REACT_APP_INTELOWL_VERSION="1.5.1"
Original file line number Diff line number Diff line change 1
1
# Checklist for creating a new release
2
2
3
- - [ ] Change version number in ` docker/.version `
3
+ - [ ] Change version number in ` docker/.version ` and in ` .env_template `
4
4
- [ ] Verify CI Tests
5
5
- [ ] Verify that the PR is named with a correct version number like x.x.x
6
6
- [ ] Merge the PR to the ` main ` branch. The release will be done automatically by the CI
Original file line number Diff line number Diff line change 1
- REACT_APP_GREEDYBEAR_VERSION="1.5.0 "
1
+ REACT_APP_GREEDYBEAR_VERSION="1.5.1 "
Original file line number Diff line number Diff line change
1
+ # you have to populate the ENV variable REACT_APP_INTELOWL_VERSION in the .env file to have this work
2
+ services :
3
+ uwsgi :
4
+ image : intelowlproject/greedybear:${REACT_APP_INTELOWL_VERSION}
5
+
6
+ nginx :
7
+ image : intelowlproject/greedybear_nginx:${REACT_APP_INTELOWL_VERSION}
8
+
9
+ celery_beat :
10
+ image : intelowlproject/greedybear:${REACT_APP_INTELOWL_VERSION}
11
+
12
+ celery_worker_default :
13
+ image : intelowlproject/greedybear:${REACT_APP_INTELOWL_VERSION}
Original file line number Diff line number Diff line change 5
5
6
6
def removeDdospot (apps , schema_editor ):
7
7
GeneralHoneypot = apps .get_model ("greedybear" , "GeneralHoneypot" )
8
- ddospot = GeneralHoneypot .objects .get (name__iexact = "Ddospot" )
9
- IOC = apps .get_model ("greedybear" , "IOC" )
10
- # do nothing if Ddospot is in active use
11
- if ddospot .active and IOC .objects .filter (general_honeypot = ddospot ).exists ():
12
- return
13
- ddospot .delete ()
8
+ try :
9
+ ddospot = GeneralHoneypot .objects .get (name__iexact = "Ddospot" )
10
+ IOC = apps .get_model ("greedybear" , "IOC" )
11
+ # do nothing if Ddospot is in active use
12
+ if ddospot .active and IOC .objects .filter (general_honeypot = ddospot ).exists ():
13
+ return
14
+ ddospot .delete ()
15
+ except GeneralHoneypot .DoesNotExist as e :
16
+ pass
14
17
15
18
16
19
class Migration (migrations .Migration ):
You can’t perform that action at this time.
0 commit comments