Skip to content

delegator/footsmoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

footsmoke

This container gets the sitemap.xml file at the URL you provide, parses it to get all possible URLs, and then checks for the text you provide in the <footer>.

Usage

docker run --rm \
  --env FOOTSMOKE_URL=https://google.com \
  --env FOOTSMOKE_TEXT="Google, Inc." \
  theutz/footsmoke:latest

Environment Variables

  • Required
    • FOOTSMOKE_URL: the root URL from which to search for the sitemap.xml file.
    • FOOTSMOKE_TEXT: the text to search for.
  • Optional
    • FOOTSMOKE_SELECTOR: the CSS selector used to identify where to search for the text. (Defaults to footer)
    • FOOTSMOKE_WORKERS: the number of processes to run simultaneously. (Defaults to auto-detect)
    • FOOTSMOKE_RETRIES: the number of retries per failed test to attempt. (Defaults to 2)
    • FOOTSMOKE_TIMEOUT: the amount of time in ms to wait per test before failing. (Defaults to 30000, or 30 seconds)

Testing

Nothing yet. Use at your own risk!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published