Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1501

Merged
Created Jan 11, 2024 by Titouan Soulard@tsoulardDeveloper

software/rapid-cdn: make re6st-verification-url optional

  • Overview 8
  • Commits 1
  • Pipelines 6
  • Changes 23

While working on deploying a frontend without Internet access, I noticed that a promise, re6st-connectivity.py, was failing every time. This promise tries to access to the URL http://[2001:67c:1254:4::1]/index.html and fails if it cannot. I am unsure of why this promise existed at the first place, but it seems that we might want to keep it to check for Internet connection on the frontend.

What this MR aims at doing is therefore to make the parameter optional: it will default to nothing, and the promise section will not be generated in instance.cfg when the parameter is unset, which by default will make the frontend work even without Internet access, or access to a filtered Internet, while also allowing to check for network connectivity if needed.

I am quite unsure if I did things right for this MR, so feel free to comment about anything. Tests are running, so we will see if it breaks anything.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: for-mr-rabbit
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7