Compare commits

..

15 Commits

Author SHA1 Message Date
d7af784926 Merge branch 'develop' into dist/risotto/risotto-2.7.1/develop 2020-08-12 08:32:11 +02:00
80bcc8821f refactor import of seed files 2020-08-12 08:30:58 +02:00
71bbc42786 Merge branch 'develop' into dist/risotto/risotto-2.7.1/develop 2020-08-07 17:09:40 +02:00
a69d0f7386 fixer les permissions avant le démarrage de risotto 2020-08-07 17:09:22 +02:00
93db38dc7f Merge branch 'develop' into dist/risotto/risotto-2.7.1/develop 2020-08-05 17:11:47 +02:00
2ce388eaf9 comment unuse column in applicationservice table 2020-08-05 17:11:30 +02:00
138d6d9e06 Delete changelog 2020-08-05 09:20:36 +02:00
68add009e2 Fixes syntax error in debian/control 2020-08-05 09:08:17 +02:00
761c112ad4 Temporary dependencies 2020-08-05 08:57:23 +02:00
a5a5ca875b package number in changelog 2020-07-22 16:48:04 +02:00
73ec33377c Merge branch 'master' into dist/eole/2.7.1/master 2020-07-03 09:22:18 +02:00
7cc19606c1 Use postgresql template0 as database template 2020-06-30 10:39:48 +02:00
ad7b3dcfd8 Upgrade specification of applicationservice 2020-04-09 16:06:55 +02:00
34bd8c648c Merge branch 'master' into dist/eole/2.7.1/master 2020-04-09 10:13:27 +02:00
dc9454bc75 add pythonpath to use good tiramisu's version 2020-04-09 09:09:26 +02:00
7 changed files with 27 additions and 9 deletions

View File

@ -61,7 +61,7 @@ CREATE TABLE Server (
CREATE TABLE Source (
SourceId SERIAL PRIMARY KEY,
SourceName VARCHAR(255) NOT NULL UNIQUE,
SourceURL TEXT
SourceDirectory TEXT
);
-- Release
@ -97,6 +97,9 @@ CREATE TABLE Applicationservice (
ApplicationserviceName VARCHAR(255) NOT NULL,
ApplicationserviceDescription VARCHAR(255) NOT NULL,
ApplicationserviceReleaseId INTEGER NOT NULL,
--ApplicationserviceLVIS VARCHAR(255) NOT NULL,
--ApplicationserviceLVIP VARCHAR(255) NOT NULL,
--ApplicationserviceLVMP VARCHAR(255) NOT NULL,
OS JSON,
UNIQUE (ApplicationserviceName, ApplicationserviceReleaseId)
);

5
debian/changelog vendored
View File

@ -1,5 +0,0 @@
eole-risotto (0.1) unstable; urgency=medium
* Création du paquet
-- Cadoles <contact@cadoles.com> Thu, 02 Apr 2020 10:43:03 +0200

17
debian/control vendored
View File

@ -10,7 +10,22 @@ Vcs-Browser: https://forge.cadoles.com/Infra/risotto
Package: eole-risotto
Architecture: any
Depends: ${misc:Depends},
Depends: ${misc:Depends},
eole-db,
eole-postgresql,
python3-aiohttp,
risotto-user,
risotto-setting,
risotto-provider,
risotto-message,
risotto-infra,
cadoles-risotto-seed,
risotto,
tiramisu,
tiramisu-api,
rougail,
cucchiaiata,
tiramisu-cmdline-parser
Description: configuration pour lintégration de risotto dans EOLE
.
Pour toute information complémentaire, veuillez vous rendre sur le

View File

@ -2,6 +2,8 @@
set -e
systemctl start postgresql.service
psql -Upostgres -c "grant all on all tables in schema public to risotto" risotto
psql -Upostgres -c "grant all on all sequences in schema public to risotto" risotto
psql -Upostgres -c "grant all on all functions in schema public to risotto" risotto
@ -9,4 +11,6 @@ psql -Upostgres -c "grant all on all tables in schema public to tiramisu" tirami
psql -Upostgres -c "grant all on all sequences in schema public to tiramisu" tiramisu
psql -Upostgres -c "grant all on all functions in schema public to tiramisu" tiramisu
systemctl stop postgresql.service
exit 0

View File

@ -12,3 +12,4 @@ DB_ADDRESS=%%getVar('risotto_db_address')
MESSAGE_PATH=%%getVar('risotto_messages_dir')
CACHE_ROOT_PATH=%%getVar('risotto_cache_dir')
SRV_SEED_PATH=%%getVar('risotto_seed_dir')
PYTHONPATH="/usr/lib/python3.6/dist-packages:$PYTHONPATH"

View File

@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres
dbname: %%dbname
template: 'postgres'
template: 'template0'
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
pwd_files:
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='}

View File

@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres
dbname: %%getVar('risotto_tiramisu_dbname')
template: 'postgres'
template: 'template0'
pwd_files:
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'TIRAMISU_DB_PASSWORD='}