You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/03/11 12:32:42 UTC

[GitHub] [incubator-nuttx-website] liuguo09 opened a new pull request #18: Initial checkin nuttx website github action workflow

liuguo09 opened a new pull request #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18
 
 
   Nuttx website github action workflow:
   1. Checkout nuttx website
   2. Install essential tools
   3. Run publish.sh and push asf-site branch
   
   Signed-off-by: liuhaitao <li...@xiaomi.com>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-599184023
 
 
   for the author and email, prior to running `publish.sh` we can get them like this:
   ```
   username=`git log -1 --pretty=format:'%an'`
   email=`git log -1 --pretty=format:'%ae'`
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-597982320
 
 
   @btashton please help review again. Seems comments gone after I force pushed to update PR : (
   
   To summarize:
   1. I remove the additional sudo apt install bundle line you commented
   2. Keep sudo ./publish.sh, or it would fail as below:
   ERROR:  While executing gem ... (Gem::FilePermissionError)
       You don't have write permissions for the /var/lib/gems/2.5.0 directory.
   ##[error]Process completed with exit code 1.
   More details in https://github.com/liuguo09/incubator-nuttx-website/pull/5/checks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-599182562
 
 
   @btashton You are right. I update with the export cmds you provide before calling publish.sh and it works. As below,
   https://github.com/liuguo09/incubator-nuttx-website/blob/master/.github/workflows/main.yml
   But it must come with a git author email and name before git push asf-site. Now I hard coded with my own info. But I think it would be better to use some official or fake email/name instead. What's your idea?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-597992567
 
 
   I'll take another look. I run publish without sudo locally and everything ends up in the working directory. I'll fork it and take a look at what's up. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton merged pull request #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
btashton merged pull request #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-597610928
 
 
   One of the github action CI in my own fork as below:
   https://github.com/liuguo09/incubator-nuttx-website/pull/8/checks 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
liuguo09 commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-599186612
 
 
   > for the author and email, prior to running `publish.sh` we can get them like this:
   > 
   > ```
   > username=`git log -1 --pretty=format:'%an'`
   > email=`git log -1 --pretty=format:'%ae'`
   > ```
   
   Good idea! Update done, please take a look. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton commented on issue #18: Initial checkin nuttx website github action workflow

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #18: Initial checkin nuttx website github action workflow
URL: https://github.com/apache/incubator-nuttx-website/pull/18#issuecomment-599154649
 
 
   @liuguo09 Ok I finally got around to sorting out what what up using a ubuntu:18.04 container which I think is close to the github environment.  I installed the system packages that you have and then before calling publish I create a local GEM_HOME and exporting the bin path in it so the bundler application is available.
   ```
   export GEM_HOME=$HOME/.gem
   export PATH=$PATH:$GEM_HOME/bin
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services