-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download BalenaOS images from URL #1132
base: master
Are you sure you want to change the base?
Conversation
function isUrl(filePath) { | ||
let pattern = new RegExp('^(https?:\\/\\/)?' + // protocol | ||
'(\\S+\\:\\S+@)?' + // optional user:pass authentication | ||
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
function isUrl(filePath) { | ||
let pattern = new RegExp('^(https?:\\/\\/)?' + // protocol | ||
'(\\S+\\:\\S+@)?' + // optional user:pass authentication | ||
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
function isUrl(filePath) { | ||
let pattern = new RegExp('^(https?:\\/\\/)?' + // protocol | ||
'(\\S+\\:\\S+@)?' + // optional user:pass authentication | ||
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
90dbe45
to
3f5ff3a
Compare
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
3f5ff3a
to
999db4d
Compare
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
999db4d
to
5d3fc08
Compare
The PR enables the use of an image URL in the config.js of the test suite for it to be later used to download a BalenaOS image.