Remove 'timestamp' argument, include all rulesets in repo #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
Ready for review
In the initial version of this container we specifically only included the rulesets files with a specified timestamp (in CI this was read out of
latest-rulesets-timestamp
). This isn't necessary, and is actually a change from the current git-based deployment which checks out the entire repo.I don't think it's likely that a client would request an old file (maybe it failed to fetch the timestamp), but it's probably safest to keep the existing behavior in case it does and would fail open on a 404.
If we don't pass in an arg that depends on the repo content, it would simplify our build logic and enable some deduplication of CI config between various containers.
Review Checklist
onboarded.txt
default.rulesets.TIMESTAMP.gz
index.html
Additional check:
curl -I https://securedrop.org/https-everywhere/default.rulesets.1588004096.gz
returns a 200, somake serve
should show the same result fromlocalhost:4080
.