-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb: development of debian package for ideam (#56)
* Fix: avoid pathlib requirement, use ideam.conf * Fix: cache failure in ubuntu-ssh image, issue: #57 Signed-off-by: Harish Anand <harishanand95@gmail.com>
- Loading branch information
1 parent
dad1eec
commit c84dca7
Showing
18 changed files
with
212 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
sudo: required | ||
dist: trusty | ||
before_install: | ||
- ./build/build.sh | ||
- ./tests/test_setup.sh | ||
- ./tests/install.sh | ||
language: python | ||
install: | ||
- python smartcity-middleware.py install -f middleware.conf | ||
- python smartcity-middleware.py start | ||
- ideam install | ||
- ideam start | ||
script: | ||
- python ./tests/pytest.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* | ||
*/ | ||
!debian/ | ||
!debian/* | ||
!.gitignore | ||
!build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
cd ./build/ | ||
mkdir ideam_0.0-1 | ||
mkdir -p ideam_0.0-1/usr/local/bin | ||
mkdir -p ideam_0.0-1/usr/share/ideam | ||
mkdir -p ideam_0.0-1/etc/ideam | ||
mkdir -p ideam_0.0-1/DEBIAN | ||
mkdir -p ideam_0.0-1/var/ideam/data/kong | ||
mkdir -p ideam_0.0-1/var/ideam/data/kong-config | ||
mkdir -p ideam_0.0-1/var/ideam/data/catalogue | ||
mkdir -p ideam_0.0-1/var/ideam/data/rabbitmq | ||
mkdir -p ideam_0.0-1/var/ideam/data/ldap | ||
mkdir -p ideam_0.0-1/var/ideam/data/tomcat | ||
mkdir -p ideam_0.0-1/var/ideam/data/logs/kong | ||
mkdir -p ideam_0.0-1/var/ideam/data/logs/rabbitmq | ||
mkdir -p ideam_0.0-1/var/ideam/data/logs/tomcat | ||
cp ../ideam.py ideam_0.0-1/usr/local/bin/ideam | ||
cp debian/control ideam_0.0-1/DEBIAN/control | ||
cp ../ideam.conf ideam_0.0-1/etc/ideam/ | ||
chmod +x ideam_0.0-1/usr/local/bin/ideam | ||
cd ../ | ||
tar --exclude='./build' --exclude='./.git' --exclude='./.idea' --exclude='*.retry' --exclude='*.tar.gz' --exclude='./ideam.tgz' --exclude='*.DS_Store' --exclude='./.gitignore' -zcvf ideam.tgz ./ | ||
tar -xvzf ideam.tgz -C build/ideam_0.0-1/usr/share/ideam/ | ||
cd build/ | ||
chmod -R 777 ideam_0.0-1/var/ideam/data/logs/kong | ||
dpkg-deb --build ideam_0.0-1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: ideam | ||
Version: 0.0-1 | ||
Section: devel | ||
Priority: optional | ||
Architecture: all | ||
Depends: ansible, python-pkg-resources, python-setuptools, docker-ce | ||
Maintainer: Harish Anand <harishanand95@gmail.com> | ||
Description: IoT Data Exchange And Middleware | ||
(IDEAM) for smartcities. |
Oops, something went wrong.