-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
Hey @barry-jin , Thanks for submitting the PR
CI supported jobs: [edge, website, unix-cpu, sanity, windows-gpu, windows-cpu, centos-gpu, centos-cpu, unix-gpu, clang, miscellaneous] Note: |
ci/docker/runtime_functions.sh
Outdated
@@ -1219,7 +1219,7 @@ build_docs() { | |||
|
|||
# copy the full site for this version to versions folder | |||
mkdir -p html/versions/master | |||
for f in 404.html api assets blog community ecosystem features feed.xml get_started index.html; do | |||
for f in 404.html api assets blog community ecosystem features feed.xml get_started index.html .asf.yaml; do |
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.
The .asf.yaml
would already be in html/
. Do we need to copy it to html/versions/master
?
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.
Thanks for pointing it out. If .asf.yaml is already in html/ then we do not need to pack it into versions/master again.
@mxnet-bot run ci [centos-cpu, unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu, centos-cpu] |
Ran the beta pipeline on this PR branch https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-website-build-master-beta/detail/restricted-website-build-master-beta/4/pipeline |
@barry-jin I dont think jekyll build is picking up .asf.yaml file https://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/restricted-website-build-master-beta/runs/4/nodes/113/steps/153/log/?start=0 So it's not published to incubator-mxnet-site |
I'm forcing inclusion of .asf.yaml because dotfiles are excluded by default. reference: https://jekyllrb.com/docs/configuration/options/ |
@mxnet-bot run ci [centos-gpu, unix-cpu, unix-gpu, website] |
@mxnet-bot run ci [unix-cpu] |
Jenkins CI successfully triggered : [unix-cpu] |
# Force include .asf.yaml | ||
include: | ||
- .asf.yaml | ||
- .htaccess |
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.
why are we adding this? it was already included in Jekyll build.
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.
The log shows html/.htaccess is not included during building jekyll docs.
https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-website-build-master-beta/detail/restricted-website-build-master-beta/5/pipeline/219
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.
Probably because we update the include
in config, which overrides the default config that includes .htaccess
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.
thanks. that makes sense. can we also add a similar check for .asf.yaml here?
https://github.com/apache/incubator-mxnet/blob/e359bcd65e453d4bc86d3d8e5b1dee3916a2e426/ci/docker/runtime_functions.sh#L1207
Looks like the final step of publishing website in beta-pipeline is using the artifact from "restricted-website-build-master" instead of "restricted-website-build-master-beta". But I have checked the logs and .asf.yaml is already packed in the artifact. |
@mxnet-bot run ci [centos-gpu] |
Jenkins CI successfully triggered : [centos-gpu] |
* fix website publish * update * remove .asf.yaml from version/master * force include .asf.yaml * include .htaccess * add .asf.yaml check in CI
…ctions (#20592) * [Website] Fix website publish (#20573) * fix website publish * update * remove .asf.yaml from version/master * force include .asf.yaml * include .htaccess * add .asf.yaml check in CI * change linalg & statical funcs * add vecdot * changes made * changes made * changes made * changes made * delete test vecdot * fixed lint add radd rand ror rxor * fixed lint error * fixed lint error * fixed problems * delete 'vecdot' in __all__ * fixed acosh doc * fixed tensordot bug add vecdot notes * add line in line 58 * add line in line 4254 * add line in 5423,9080 in multiarray add line in 260 in test_numpy_op * Update python/mxnet/numpy/multiarray.py Co-authored-by: Zhenghui Jin <69359374+barry-jin@users.noreply.github.com> * solve typo * add wrap_data_api_linalg_func in line 1335 & 1205 Co-authored-by: Zhenghui Jin <69359374+barry-jin@users.noreply.github.com>
Description
Add .asf.yaml
@mseth10 @szha
Checklist
Essentials
Changes
Comments