Skip to content

Commit

Permalink
Merge pull request #1263 from rashley-iqt/master
Browse files Browse the repository at this point in the history
release 0.6.5
  • Loading branch information
cglewis authored Aug 2, 2019
2 parents 9f64430 + 9f8a8be commit 6ab2cae
Show file tree
Hide file tree
Showing 10 changed files with 110 additions and 101 deletions.
28 changes: 14 additions & 14 deletions .vent_startup.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
https://github.com/cyberreboot/vent:
file_drop:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
network_tap:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
rabbitmq:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
redis:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
rq_dashboard:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
rq_worker:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
settings:
instances: 4
syslog:
branch: v0.9.5
branch: v0.9.6
build: yes
start: yes
https://github.com/cyberreboot/poseidon:
'@':
branch: v0.6.4
branch: v0.6.5
build: yes
start: yes
api:
branch: v0.6.4
branch: v0.6.5
build: yes
start: yes
https://github.com/cyberreboot/vent-plugins:
pcap_to_node_pcap:
branch: v0.1.1
branch: v0.1.2
build: yes
p0f:
branch: v0.1.1
branch: v0.1.2
build: yes
tcprewrite_dot1q:
branch: v0.1.1
branch: v0.1.2
build: yes
https://github.com/cyberreboot/crviz:
'@':
branch: v0.3.6
branch: v0.3.8
build: yes
start: yes
https://github.com/cyberreboot/networkml:
'@':
branch: v0.3.4
branch: v0.3.5
build: yes
vent.cfg:
build-options:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.6.5 (2019-08-02)

- Updated versions of cmd2, pika, redis, and pyyaml
- introduced release scripts

# v0.6.4 (2019-07-12)

- Updated versions of cmd2, pytest, flask, and texttable
Expand Down
67 changes: 35 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,38 @@ build_debian:
cp .vent_startup.yml installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R .git installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R bin/* installers/debian/$(TAG)-$(VERSION)/usr/bin/
docker pull cyberreboot/vent:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.5
docker pull cyberreboot/vent-file-drop:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-file-drop.tar cyberreboot/vent-file-drop:v0.9.5
docker pull cyberreboot/vent-network-tap:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-network-tap.tar cyberreboot/vent-network-tap:v0.9.5
docker pull cyberreboot/vent-rabbitmq:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar cyberreboot/vent-rabbitmq:v0.9.5
docker pull cyberreboot/vent-redis:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-redis.tar cyberreboot/vent-redis:v0.9.5
docker pull cyberreboot/vent-rq-dashboard:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar cyberreboot/vent-rq-dashboard:v0.9.5
docker pull cyberreboot/vent-rq-worker:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-worker.tar cyberreboot/vent-rq-worker:v0.9.5
docker pull cyberreboot/vent-syslog:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-syslog.tar cyberreboot/vent-syslog:v0.9.5
docker pull cyberreboot/poseidon-api:v0.6.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon-api.tar cyberreboot/poseidon-api:v0.6.4
docker pull cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.1
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.1
docker pull cyberreboot/vent-plugins-p0f:v0.1.1
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar cyberreboot/vent-plugins-p0f:v0.1.1
docker pull cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.1
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-tcprewrite-dot1q.tar cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.1
docker pull cyberreboot/crviz:v0.3.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-crviz.tar cyberreboot/crviz:v0.3.6
docker pull cyberreboot/networkml:v0.3.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-networkml.tar cyberreboot/networkml:v0.3.4
docker pull cyberreboot/poseidon:v0.6.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon.tar cyberreboot/poseidon:v0.6.4
docker pull cyberreboot/vent:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.6

docker pull cyberreboot/poseidon:v0.6.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon.tar cyberreboot/poseidon:v0.6.5
docker pull cyberreboot/networkml:v0.3.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-networkml.tar cyberreboot/networkml:v0.3.5
docker pull cyberreboot/vent-file-drop:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-file-drop.tar cyberreboot/vent-file-drop:v0.9.6
docker pull cyberreboot/vent-rabbitmq:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar cyberreboot/vent-rabbitmq:v0.9.6
docker pull cyberreboot/vent-syslog:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-syslog.tar cyberreboot/vent-syslog:v0.9.6
docker pull cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.2
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.2
docker pull cyberreboot/vent-rq-worker:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-worker.tar cyberreboot/vent-rq-worker:v0.9.6
docker pull cyberreboot/vent-network-tap:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-network-tap.tar cyberreboot/vent-network-tap:v0.9.6
docker pull cyberreboot/crviz:v0.3.8
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-crviz.tar cyberreboot/crviz:v0.3.8
docker pull cyberreboot/poseidon-api:v0.6.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon-api.tar cyberreboot/poseidon-api:v0.6.5
docker pull cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.2
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-tcprewrite-dot1q.tar cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.2
docker pull cyberreboot/vent-redis:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-redis.tar cyberreboot/vent-redis:v0.9.6
docker pull cyberreboot/vent-rq-dashboard:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar cyberreboot/vent-rq-dashboard:v0.9.6
docker pull cyberreboot/vent-plugins-p0f:v0.1.2
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar cyberreboot/vent-plugins-p0f:v0.1.2

mkdir -p dist
docker build -t poseidon-dpkg -f Dockerfile.dpkg .
docker run --rm poseidon-dpkg > dist/$(TAG)-$(VERSION).deb
Expand All @@ -89,8 +91,9 @@ build_debian_net:
cp .vent_startup.yml installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R .git installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R bin/* installers/debian/$(TAG)-$(VERSION)/usr/bin/
docker pull cyberreboot/vent:v0.9.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.5
docker pull cyberreboot/vent:v0.9.6
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.6

mkdir -p dist
docker build -t poseidon-dpkg --build-arg PKG_NAME=poseidon-net -f Dockerfile.dpkg .
docker run --rm poseidon-dpkg > dist/$(TAG)-$(VERSION)-net.deb
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ NEW: If you have used the .DEB installer previously, it is worth noting that Pos
After installation you'll have a new command `poseidon` available for looking at the status, logs, changing the configuration, or stopping and starting the service.
```
$ poseidon help
Poseidon 0.6.4, an application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. For more info visit: https://github.com/CyberReboot/poseidon
Poseidon 0.6.5, an application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. For more info visit: https://github.com/CyberReboot/poseidon
Usage: poseidon [option]
Options:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.5.dev
0.6.5
2 changes: 1 addition & 1 deletion bin/poseidon
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function check_args()
echo "Checking volumes..."
check_files
echo "Starting Poseidon..."
docker run -dit --rm -v /var/run/docker.sock:/var/run/docker.sock -v /opt/vent_files:/opt/vent_files -v /opt/poseidon/.plugin_config.yml:/root/.plugin_config.yml -v /opt/poseidon/.vent_startup.yml:/root/.vent_startup.yml --env-file /etc/poseidon/default.conf --name vent cyberreboot/vent:v0.9.5
docker run -dit --rm -v /var/run/docker.sock:/var/run/docker.sock -v /opt/vent_files:/opt/vent_files -v /opt/poseidon/.plugin_config.yml:/root/.plugin_config.yml -v /opt/poseidon/.vent_startup.yml:/root/.vent_startup.yml --env-file /etc/poseidon/default.conf --name vent cyberreboot/vent:v0.9.6
until [ "$(docker ps -q -f name=-poseidon-)" ] && [ "$(docker ps -q -f name=-poseidon- | head -1 | xargs docker container inspect -f \{\{.State.Health.Status\}\})" = "healthy" ]
do
# TODO do more checks and be verbose in here
Expand Down
4 changes: 2 additions & 2 deletions installers/debian/control
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Package: poseidon
Version: 0.6.5.dev
Version: 0.6.5
Section: base
Priority: optional
Architecture: all
Depends: debconf (>= 1.5.0), mininet (>= 2.2.1), netcat-openbsd
Maintainer: Charlie Lewis <[email protected]>
Description: Poseidon
Poseidon is a python-based application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. The machine learning algorithms classify and predict both the type of device and if the device is acting normally or abnormally.
Poseidon is a python-based application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. The machine learning algorithms classify and predict both the type of device and if the device is acting normally or abnormally.
79 changes: 40 additions & 39 deletions installers/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -239,81 +239,82 @@ if db_go; then

# load or pull required images
if [ ! -f /opt/poseidon/dist/cyberreboot-vent.tar ]; then
docker pull cyberreboot/vent:v0.9.5
docker pull cyberreboot/vent:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-vent.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-file-drop.tar ]; then
docker pull cyberreboot/vent-file-drop:v0.9.5
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon.tar ]; then
docker pull cyberreboot/poseidon:v0.6.5
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-file-drop.tar
docker load -i /opt/poseidon/dist/cyberreboot-poseidon.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-network-tap.tar ]; then
docker pull cyberreboot/vent-network-tap:v0.9.5
if [ ! -f /opt/poseidon/dist/cyberreboot-networkml.tar ]; then
docker pull cyberreboot/networkml:v0.3.5
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-network-tap.tar
docker load -i /opt/poseidon/dist/cyberreboot-networkml.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-file-drop.tar ]; then
docker pull cyberreboot/vent-file-drop:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-file-drop.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar ]; then
docker pull cyberreboot/vent-rabbitmq:v0.9.5
docker pull cyberreboot/vent-rabbitmq:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-redis.tar ]; then
docker pull cyberreboot/vent-redis:v0.9.5
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-syslog.tar ]; then
docker pull cyberreboot/vent-syslog:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-redis.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-syslog.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar ]; then
docker pull cyberreboot/vent-rq-dashboard:v0.9.5
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar ]; then
docker pull cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.2
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rq-worker.tar ]; then
docker pull cyberreboot/vent-rq-worker:v0.9.5
docker pull cyberreboot/vent-rq-worker:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rq-worker.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-syslog.tar ]; then
docker pull cyberreboot/vent-syslog:v0.9.5
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-syslog.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon-api.tar ]; then
docker pull cyberreboot/poseidon-api:v0.6.4
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-network-tap.tar ]; then
docker pull cyberreboot/vent-network-tap:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-poseidon-api.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-network-tap.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar ]; then
docker pull cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.1
if [ ! -f /opt/poseidon/dist/cyberreboot-crviz.tar ]; then
docker pull cyberreboot/crviz:v0.3.8
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar
docker load -i /opt/poseidon/dist/cyberreboot-crviz.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar ]; then
docker pull cyberreboot/vent-plugins-p0f:v0.1.1
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon-api.tar ]; then
docker pull cyberreboot/poseidon-api:v0.6.5
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar
docker load -i /opt/poseidon/dist/cyberreboot-poseidon-api.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-plugins-tcprewrite-dot1q.tar ]; then
docker pull cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.1
docker pull cyberreboot/vent-plugins-tcprewrite-dot1q:v0.1.2
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-plugins-tcprewrite-dot1q.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-crviz.tar ]; then
docker pull cyberreboot/crviz:v0.3.6
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-redis.tar ]; then
docker pull cyberreboot/vent-redis:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-crviz.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-redis.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-networkml.tar ]; then
docker pull cyberreboot/networkml:v0.3.4
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar ]; then
docker pull cyberreboot/vent-rq-dashboard:v0.9.6
else
docker load -i /opt/poseidon/dist/cyberreboot-networkml.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon.tar ]; then
docker pull cyberreboot/poseidon:v0.6.4
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar ]; then
docker pull cyberreboot/vent-plugins-p0f:v0.1.2
else
docker load -i /opt/poseidon/dist/cyberreboot-poseidon.tar
docker load -i /opt/poseidon/dist/cyberreboot-vent-plugins-p0f.tar
fi


# start poseidon service
systemctl enable poseidon
systemctl start poseidon
Expand Down
20 changes: 10 additions & 10 deletions release/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ def parse_cfg_from_yml(yml_dict):

# take the version of the
if repo == "vent" and not "vent" in cfg_dict:
cfg_dict["vent"] = {'repo': 'cyberreboot', 'version': branch}
cfg_dict["vent"] = {'owner': owner, 'repo': 'vent', 'version': branch}

cfg_dict[tool] = {'repo': repo, 'version': branch}
cfg_dict[tool] = {'owner': owner, 'repo': repo, 'version': branch}



return cfg_dict

def generate_makefile(cfg_dict):
vent = cfg_dict["vent"]
vent_cmd = "docker pull {0}/{1}:{2}\n\t".format(vent["repo"], "vent", vent["version"])
vent_cmd += "docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/{0}-{1}.tar {0}/{1}:{2}\n\t".format(vent["repo"], "vent", vent["version"])
vent_cmd = "docker pull {0}/{1}:{2}\n\t".format(vent["owner"], "vent", vent["version"])
vent_cmd += "docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/{0}-{1}.tar {0}/{1}:{2}\n\t".format(vent["owner"], "vent", vent["version"])

tool_cmd = ""
for key in list(cfg_dict.keys())[1:]:
value = cfg_dict[key]
tool_cmd += "docker pull {0}/{1}:{2}\n\t".format(value["repo"], key, value["version"])
tool_cmd += "docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/{0}-{1}.tar {0}/{1}:{2}\n\t".format(value["repo"], key, value["version"])
tool_cmd += "docker pull {0}/{1}:{2}\n\t".format(value["owner"], key, value["version"])
tool_cmd += "docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/{0}-{1}.tar {0}/{1}:{2}\n\t".format(value["owner"], key, value["version"])
cmds = vent_cmd + tool_cmd
with open("./release/templates/make", "r") as tf:
temp_str = tf.read()
Expand All @@ -65,10 +65,10 @@ def generate_deb_postinst(cfg_dict):
tool_cmd = ""
for key in cfg_dict.keys():
value = cfg_dict[key]
tool_cmd += " if [ ! -f /opt/poseidon/dist/{0}-{1}.tar ]; then\n".format(value["repo"], key)
tool_cmd += " docker pull {0}/{1}:{2}\n".format(value["repo"], key, value["version"])
tool_cmd += " if [ ! -f /opt/poseidon/dist/{0}-{1}.tar ]; then\n".format(value["owner"], key)
tool_cmd += " docker pull {0}/{1}:{2}\n".format(value["owner"], key, value["version"])
tool_cmd += " else\n"
tool_cmd += " docker load -i /opt/poseidon/dist/{0}-{1}.tar\n".format(value["repo"], key)
tool_cmd += " docker load -i /opt/poseidon/dist/{0}-{1}.tar\n".format(value["owner"], key)
tool_cmd += " fi\n"

with open("./release/templates/deb_postinst", "r") as dp:
Expand Down Expand Up @@ -102,7 +102,7 @@ def generate_readme(poseidon_version):
rf.write(replaced)

def generate_bin_poseidon(vent_data):
vent_slug = "{0}/{1}:{2}".format(vent_data["repo"], "vent", vent_data["version"])
vent_slug = "{0}/{1}:{2}".format(vent_data["owner"], "vent", vent_data["version"])
with open("./release/templates/bin_poseidon", "r") as bp:
temp_str = bp.read()
template = Template(temp_str)
Expand Down
Loading

0 comments on commit 6ab2cae

Please sign in to comment.