Compare commits

..

13 Commits

4 changed files with 19 additions and 10 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,9 +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,
--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-1) unstable; urgency=medium
* Création du paquet
-- Cadoles <contact@cadoles.com> Thu, 02 Apr 2020 10:43:03 +0200

12
debian/control vendored
View File

@ -10,7 +10,17 @@ Vcs-Browser: https://forge.cadoles.com/Infra/risotto
Package: eole-risotto
Architecture: any
Depends: ${misc:Depends},
Depends: ${misc:Depends},
eole-db,
eole-postgresql,
python3-risotto-user,
python3-risotto-setting,
python3-risotto-provider,
python3-risotto-infra,
risotto-message,
cadoles-risotto-seed,
cucchiaiata,
risotto
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