-
Notifications
You must be signed in to change notification settings - Fork 161
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
Use generic deploy.sh everywhere #11
Comments
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
- Updates to the deduplicated deploy script; part of whatwg/meta#11 - As such, stops deploying commit snapshots for branches - Fixes .travis.yml syntax; part of whatwg/meta#4 - Adds .gitattributes and .editorconfig; part of whatwg/meta#7
I updated OP with what is remaining. They all require changes to the deploy script. |
Now with the reduplicated deploy.sh script and no more commit snapshots for commits not on master. See whatwg/meta#11. Fixes #119.
Now with the reduplicated deploy.sh script and no more commit snapshots for commits not on master. See whatwg/meta#11. Fixes #119.
I believe URL no longer has extra resources and so could be converted. |
URL has |
For encoding, in addition to the extra resources, there's also a script (visualize.py) that needs to run. Perhaps rather than the EXTRA_FILES approach in whatwg/whatwg.org#68 we should let the shared deploy.sh invoke an optional per-repository post-build.sh that takes as an argument a directory and a mode (master/commit-snapshot/branch-snapshot) to perform extra steps? To enable commit snapshots and shared deploy for books and figures, we could also look for a build.sh, which if present is used instead of https://api.csswg.org/bikeshed/. How does that sound, is there anything that still couldn't share the common deploy script then? |
I think I like this, although the simplicity of EXTRA_FILES is also quite nice, and maybe should be left as a 90% case?
That seems OK, although I am not too concerned about Books and Figures.
We should check that the Node stuff in console/streams works here. I think a post-build.sh would do the trick, but I am unsure why I used index.intermediate.html instead of index.html. index.intermediate.html does not fit well in a post-build framework. |
So, leaving non-Bikeshed specs (including HTML) to the side for the moment, perhaps instead of a file by a specific name, we have an EXTRA_BUILD_STEP that could either do something simple, or invoke a script for something more complicated. I'll give it a shot. |
@annevk, for encoding the HTML checker bits are also a bit special, with a CHECKER_PARAMS in .travis.yml. Is there any behavior there that needs to be preserved, or is the shared checker logic OK? |
@foolip that needs to be preserved. We added it to ensure we don't miss any actual errors. |
Are these errors specific to encoding, or can it be moved to the common deploy script? |
Specific warnings. We'd probably not want to allow those warnings elsewhere. |
Is it also important that the checker runs on all changes and not just on master deploys as in the common build script? If there's too much to fix, I'll probably just set up double-deploy in encoding's deploy.sh instead :) |
We should maybe fix the common script to run the checker on PRs as well. That's the point where you'd want to catch any validation errors. |
Usage example for encoding: POST_BUILD_STEP="python visualize.py \$DIR/" Part of whatwg/meta#11.
Usage example for encoding, in .travis.yml: - POST_BUILD_STEP="python visualize.py \"$DIR/\"" Part of whatwg/meta#11.
Usage example for encoding, in .travis.yml: - POST_BUILD_STEP="python visualize.py \"$DIR/\"" Part of whatwg/meta#11.
Usage example for encoding, in .travis.yml: - POST_BUILD_STEP="python visualize.py \"$DIR/\"" Part of whatwg/meta#11.
Updated the description about console, now only extra images are needed. And I was wrong about the checker only running on master deploys, it runs for all Travis jobs that attempt to deploy. |
This has been done, woohoo! |
With the groundwork in #6 landed, we now need to make sure all standards start using it. We also need to further tweak the script for that to happy completely, since a couple standards have additional requirements.
These are left:
(There's also Books, Figures, Loader, and HTML Differences.)
The text was updated successfully, but these errors were encountered: