Skip to content
Snippets Groups Projects
Commit e151e03d authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

Merge branch '3-move-doc-to-openshift' into 'master'

Resolve "Move doc to openshift"

See merge request !40
parents 79642b76 ef080c54
No related branches found
No related tags found
1 merge request!40Resolve "Move doc to openshift"
Pipeline #62774 failed
...@@ -30,6 +30,8 @@ deploy_master: ...@@ -30,6 +30,8 @@ deploy_master:
- master - master
before_script: before_script:
- NAMESPACE=ns-cpd-p01-syn - NAMESPACE=ns-cpd-p01-syn
- echo $READ_REGISTRY_TOKEN
- echo $KUBE_CONFIG_CPD_PROD
- export KUBECONFIG=$KUBE_CONFIG_CPD_PROD - export KUBECONFIG=$KUBE_CONFIG_CPD_PROD
script: script:
- oc create secret -n $NAMESPACE docker-registry forge-secret --docker-server=$CI_REGISTRY --docker-username=forge-secret --docker-password=$READ_REGISTRY_TOKEN --dry-run=client -o yaml | oc apply -f - - oc create secret -n $NAMESPACE docker-registry forge-secret --docker-server=$CI_REGISTRY --docker-username=forge-secret --docker-password=$READ_REGISTRY_TOKEN --dry-run=client -o yaml | oc apply -f -
......
# [Self Data Grandlyon Documentation](https://doc.self-data.alpha.grandlyon.com/) # [Self Data Grandlyon Documentation](https://doc.self-data.apps.grandlyon.com/)
## Install dependencies ## Install dependencies
......
...@@ -236,7 +236,7 @@ All the data aggregated in the dacc can be visualized with a *Metabase* website ...@@ -236,7 +236,7 @@ All the data aggregated in the dacc can be visualized with a *Metabase* website
## Errors ## Errors
More here in [DJU](https://doc.self-data.alpha.grandlyon.com/ecolyo/functionalities/profile_type/). More here in [DJU](/ecolyo/functionalities/profile_type/#dju).
If there is an authentication error, the api will returns an error in html format to cozy, so you'll get from cozy an error 502 as following, because cozy expects a json response : If there is an authentication error, the api will returns an error in html format to cozy, so you'll get from cozy an error 502 as following, because cozy expects a json response :
......
...@@ -12,7 +12,7 @@ When the user connects for the first time to Ecolyo, onboarding screens will be ...@@ -12,7 +12,7 @@ When the user connects for the first time to Ecolyo, onboarding screens will be
First of all, we display the GCU screen, which allows user to read the General Condition of Use and the Legal Notice. The user should consent to all the terms to go further in the application. First of all, we display the GCU screen, which allows user to read the General Condition of Use and the Legal Notice. The user should consent to all the terms to go further in the application.
!!! note "About terms" !!! note "About terms"
More details are available on the [term section](/ecolyo/functionalities/terms.md). More details are available on the [term section](/ecolyo/functionalities/terms).
### Welcome modal ### Welcome modal
......
...@@ -52,7 +52,7 @@ Once the indicators is calculated we will: ...@@ -52,7 +52,7 @@ Once the indicators is calculated we will:
At the end of the service, the service will change the _aggregated_ flag to **true** for all events present in the array. At the end of the service, the service will change the _aggregated_ flag to **true** for all events present in the array.
More technical information are available [here](/ecolyo/services/aggregator_usage_events.md) More technical information are available [here](/ecolyo/technical/services/aggregator_usage_events)
## Remote doctype ## Remote doctype
......
...@@ -23,7 +23,7 @@ The service is responsible of : ...@@ -23,7 +23,7 @@ The service is responsible of :
As the remote doctype is not yet available for the service here are the remaining task to do: As the remote doctype is not yet available for the service here are the remaining task to do:
- In the manifest.webapp: - In the manifest.webapp:
- Declare the remote doctype [see here](/ecolyo/project_architecture/remote_doctypes.md) - Declare the remote doctype [see here](/ecolyo/technical/remote_doctypes)
- Define the cron to run every day: to check with cozy to ensure that all instances will not trigger the service at the same time - Define the cron to run every day: to check with cozy to ensure that all instances will not trigger the service at the same time
- Create the translation for "fr" and "en" - Create the translation for "fr" and "en"
- In the service: - In the service:
......
...@@ -18,7 +18,7 @@ A service is run every day to send instance information to the registry. ...@@ -18,7 +18,7 @@ A service is run every day to send instance information to the registry.
## Launch the service locally ## Launch the service locally
- Switch to Node 16 (using nvm or n) - Switch to Node 16 (using nvm or n)
- install local remote doctypes (details [here](https://doc.self-data.alpha.grandlyon.com/ecolyo/project_architecture/remote_doctypes/#local-remote-doctype)), add a folder named org.mps.registry.dev, inside it add a file named request with the following content : - install local remote doctypes (details [here](/ecolyo/project_architecture/remote_doctypes/#local-remote-doctype)), add a folder named org.mps.registry.dev, inside it add a file named request with the following content :
``` ```
POST https://cozy-registry.poc.self-data.alpha.grandlyon.com/api/pilote POST https://cozy-registry.poc.self-data.alpha.grandlyon.com/api/pilote
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment