Skip to main content

8. AN preparing the synchronization tests

These are the steps that will be taken before the tests: 


8.1. Backup before testing 

Perform a dump backup of the Scorpio data so we can restore it afterwards and delete the data of your DB. Remember to put it out of your docker or it will disappear if you restart your AN. 

How you could delete the data

kubectl get pvc -n <namespace>
kubectl delete pvc postgris-0
kubectl delete pod postgis-0 -n <namespace> --grace-period=0 --force

If you change any of your settings, be careful with the PVC's; they could interfere negatively. It's advisable to remove them whenever there's a major change.

8.2. Configuration for testing

Add the externalAccessNodesUrls configuration inside the APP block as shown on the image below, which should be adapted for these tests. (It will be reconfigured later to point to the correct location.)


externalAccessNodesUrls: 
  enableCustomUrls: true 
  customUrls: "https://desmos.dome-marketplace-lcl.org"

How it should looks

8.3. Review the values configuration and Trusted Lists registry

Verify that you complete all the steps above and your machine is correctly registered in the Trusted lists

Trusted Lists github 

8.4. Install AN 

After doing the previous steps, be sure that you installed your AN correctly. I'm leaving these commands here in case they're helpful. Remember that you need to throw these commands inside your values.yaml directory.

helm dependency build
helm install myaccessnode . -f values.yaml

If you already have the current AN installed, uninstall it to prevent any mixing between the new and old configurations.

helm uninstall myaccessnode

8.5. Desmos running without errors

Confirm that your desmos pod is working correctly. You could check it with 

kubectl logs desmos-648bdbc988-pl2ft -n <your-namespace> -c desmos

8.6. Send an email

Send an email to domesupport@in2.es informing them that everything is ready to perform the integration tests.