You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/08 12:14:41 UTC

[GitHub] [airflow-site] louisguitton opened a new issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency

louisguitton opened a new issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency
URL: https://github.com/apache/airflow-site/issues/244
 
 
   Currently, if you run `./site.sh preview-landing-pages` the website doesn't start.
   The script stops at the following line with no output
   ```
   + docker exec --tty --interactive --workdir /opt/site/docs-archive/ airflow-site-c ./show_docs_index_json.sh
   ```
   Running that command outside the script shows:
   ```sh
   $ ./show_docs_index_json.sh: line 25: jq: command not found
   ./show_docs_index_json.sh: line 25: jq: command not found
   ```
   
   The workaround I found to still be able to preview the website when I make a change is to run 
   ```sh 
   docker exec --tty --interactive --workdir /opt/site/landing-pages/ airflow-site-c npm run preview
   ```

----------------------------------------------------------------
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] [airflow-site] louisguitton commented on issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency

Posted by GitBox <gi...@apache.org>.
louisguitton commented on issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency
URL: https://github.com/apache/airflow-site/issues/244#issuecomment-583732028
 
 
   Nevermind, I had an old docker image, and since this line doesn't force the rebuild, it was failing
   https://github.com/apache/airflow-site/blob/18b03b8227c7b84ade3c007f9f7d25d66e4ec214/site.sh#L66
   
   Running 
   ```sh 
   docker build -t airflow-site .
   ```
   fixed it

----------------------------------------------------------------
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] [airflow-site] mik-laj commented on issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency
URL: https://github.com/apache/airflow-site/issues/244#issuecomment-583756383
 
 
   There is also a ready command to build a new image -  `bash site.sh build-image`,  but I prefer to use `bash site.sh cleanup`. This forces you to build a new image when you start a new container.

----------------------------------------------------------------
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] [airflow-site] louisguitton closed issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency

Posted by GitBox <gi...@apache.org>.
louisguitton closed issue #244: ./site.sh preview-landing-pages silently fails because of missing dependency
URL: https://github.com/apache/airflow-site/issues/244
 
 
   

----------------------------------------------------------------
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