Commit 93cb4a3b authored by François Agneray's avatar François Agneray
Browse files

Add build conf files for svom-sdb (LAL & CC)

parent 791185de
Pipeline #4130 passed with stages
in 11 minutes and 52 seconds
......@@ -16,6 +16,8 @@ list:
@echo " report > open the code coverage report in a browser (only available for Linux)"
@echo " build > generate the angular dist application (html, css, js)"
@echo " build-sdb-lam > generate the angular dist application (SDB LAM Prod Version)"
@echo " build-sdb-lal > generate the angular dist application (SDB LAL Prod Version)"
@echo " build-sdb-cc > generate the angular dist application (SDB CC Prod Version)"
@echo " logs > display $(NAME_APP) container logs"
@echo " shell > shell into $(NAME_APP) container"
@echo ""
......@@ -59,6 +61,16 @@ build-sdb-lam:
-v $(CURDIR):/project \
-w /project anis-node ng build --configuration=sdb-lam --base-href /sdb/admin/
build-sdb-lal:
@docker build -t anis-node conf-dev && docker run --init -it --rm --user $(UID):$(GID) \
-v $(CURDIR):/project \
-w /project anis-node ng build --configuration=sdb-lal --base-href /sdb/admin/
build-sdb-cc:
@docker build -t anis-node conf-dev && docker run --init -it --rm --user $(UID):$(GID) \
-v $(CURDIR):/project \
-w /project anis-node ng build --configuration=sdb-cc --base-href /sdb/admin/
logs:
@docker logs -f -t $(NAME_APP)
......
......@@ -69,6 +69,22 @@
"with": "src/environments/environment.sdb-lam.ts"
}
]
},
"sdb-lal": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.sdb-lal.ts"
}
]
},
"sdb-cc": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.sdb-cc.ts"
}
]
}
}
},
......
export const environment = {
production: true,
apiUrl: '/sdb/server',
baseHref: '/sdb/admin',
ssoAuthUrl: 'https://admin.svom.eu/keycloak/',
ssoRealm: 'svom-fsc',
ssoClientId: 'FSC_SPA_WEB',
ssoLoginRedirectUri: '/',
ssoLogoutRedirectUri: '/login'
};
export const environment = {
production: true,
apiUrl: '/sdb/server',
baseHref: '/sdb/admin',
ssoAuthUrl: 'https://admin.svom.eu/keycloak/',
ssoRealm: 'svom-fsc',
ssoClientId: 'FSC_SPA_WEB_LAL',
ssoLoginRedirectUri: '/',
ssoLogoutRedirectUri: '/login'
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment