-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Experimental ci with github actions #2269
Conversation
d267175
to
e75936d
Compare
|
9240d7d
to
1e11e76
Compare
.github/workflows/doc.yml
Outdated
if: success() | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to create this token somewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like it is under the repo settings if you are an admin?
with: | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: target/doc # The folder the action should deploy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means we need to change the documentation link on our web page
This seems to work now modulo the expected nightly failures, so it's ready to get comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good since most config is ported from pipelines' and actions seem to work fine (the log is hard a bit to check though). About doc.yml
, I'd like to hear sgrif's opinion.
Just got a mail that says we need to change our azure pipeline config till March 23. (Have to update some runner image versions till then at least.) |
fe82bb3
to
29cab6d
Compare
If that actually works I'm proposing moving all of our ci/automation to this service, because of: * Integration with github seems to be vastly better + No need to click n times to go to logs + Rerun a failed job is easier + Maybe? Inline error messages in PR's * Error messages are automatically extracted * I think they have 20 free concurrent jobs, azure has only 10 (so faster CI) (Most of the config is copied from wundergraph)
8a3018a
to
3dfe32c
Compare
Related things that should be fixed before merging: |
crates.io doesn't display CI-related badge now so we could just remove them. |
* Lower all dependencies to `-Z minimal-versions` in CI * Raise the following public dependencies: * bigdecimal to 0.0.13 to drop support for old num versions * chrono to 0.4.1 because it pulls in a really old num from before the rust 1.0 release * pq-sys to 0.4.0 because 0.3.x pulls in a old bindgen version * mysqlclient-sys to 0.3.0 for the same reason * Bump this internal dependencies: * syn to 1.0.1 because we require at least that version * num-* to 0.2.0 to match bigdecimal version * bcrypt to 0.2.0 because it would pull in rustc-serialize otherwise * tempfile to 3.0.0 because otherwise it pulls in winapi 0.0.1!!! * bitflags to 1.2.0 because of deprecation warnings regarding to try!
@diesel-rs/reviewers Should be ready for a final review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Left some comments, feel free to apply them if you like.
eaaee89
to
9d7c587
Compare
8bd5cb0
to
2bbeb04
Compare
97844bc
to
22aa391
Compare
If that actually works I'm proposing moving all of our ci/automation
to this service, because of:
faster CI)
(Most of the config is copied from wundergraph)