You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/02 07:00:27 UTC

[GitHub] [apisix-dashboard] Jaycean opened a new pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Jaycean opened a new pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [x] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   - Related issues
   #1415 
   ___
   ### Bugfix
   - Description
   
   At present, the Dockerfile-apisix in the dashboard are maintained locally. The relevant dependencies of `apisix` were modified. The dashboard failed to synchronize in time, resulting in CI errors. 
   
   - How to fix?
   
    Pull the Dockerfile from the `apisix-docker`
   


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



[GitHub] [apisix-dashboard] nic-chen commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
nic-chen commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771440904


   @Jaycean 
   
   we should remove `Dockerfile-apisix` from this repo since we are downloading it from `apisix-docker` repo


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



[GitHub] [apisix-dashboard] Jaycean commented on a change in pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on a change in pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#discussion_r568379640



##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix
+        working-directory: ./api/test/docker
+        run: |
+          curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/all-in-one/apisix/Dockerfile

Review comment:
       Thks, I may try the @imjoey method, so that I don't need to modify the yaml file, I just need to modify the docker compose file.
   After modification, we only need to maintain the docker file of apisix-docker. At present, apisix Dockerfile is modified, and apiSix-dashboard Dockerfile-apisix also needs to be modified repeatedly.




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



[GitHub] [apisix-dashboard] juzhiyuan commented on a change in pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on a change in pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#discussion_r568374373



##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix

Review comment:
       ```suggestion
         - name: download the Dockerfile-apisix file
   ```

##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix
+        working-directory: ./api/test/docker
+        run: |
+          curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/all-in-one/apisix/Dockerfile

Review comment:
       Not sure if it's ok to use the latest APISIX's Dockerfile 😳




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



[GitHub] [apisix-dashboard] Jaycean commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771451081


   > @Jaycean
   > 
   > we should remove `Dockerfile-apisix` from this repo since we are downloading it from `apisix-docker` repo
   
   Thks, I plan to use the method mentioned by @imjoey to directly modify the docker-compose file, so that I can directly delete the Dockerfile-apisix.


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



[GitHub] [apisix-dashboard] Jaycean commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771419491


   > @Jaycean Hi, please try the way mentioned in [#1415 (comment)](https://github.com/apache/apisix-dashboard/issues/1415#issuecomment-771414595) , we could remove the local duplicated Dockerfile since then. Thank you.
   
   Thank you for your help. I'll give it a try


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



[GitHub] [apisix-dashboard] nic-chen merged pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
nic-chen merged pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416


   


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



[GitHub] [apisix-dashboard] liuxiran commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
liuxiran commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-772031795


   fe test failed, rerun, related pr: https://github.com/apache/apisix-dashboard/pull/1414


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



[GitHub] [apisix-dashboard] Jaycean commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771435853


   At present, apisix-docker needs to modify Dockerfile because apisix needs to modify luajit environment. After solving this problem, the CI of PR can pass.


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



[GitHub] [apisix-dashboard] juzhiyuan commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771683857


   need @imjoey @nic-chen to confirm.


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



[GitHub] [apisix-dashboard] nic-chen commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
nic-chen commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771440904


   @Jaycean 
   
   we should remove `Dockerfile-apisix` from this repo since we are downloading it from `apisix-docker` repo


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



[GitHub] [apisix-dashboard] Jaycean commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771419491






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



[GitHub] [apisix-dashboard] imjoey commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
imjoey commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-772135375


   /lgtm
   
   We need to fix the backend e2e test failure in prior. Just locate the relevant ongoing PR https://github.com/apache/apisix-docker/pull/125 for tracing, we can re-run the CI once it gets merged.
   


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



[GitHub] [apisix-dashboard] Jaycean commented on a change in pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
Jaycean commented on a change in pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#discussion_r568379640



##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix
+        working-directory: ./api/test/docker
+        run: |
+          curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/all-in-one/apisix/Dockerfile

Review comment:
       Thks, I may try the @imjoey method, so that I don't need to modify the yaml file, I just need to modify the docker compose file.
   After modification, we only need to maintain the docker file of apisix-docker. At present, apisix Dockerfile is modified, and apiSix-dashboard Dockerfile-apisix also needs to be modified repeatedly.




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



[GitHub] [apisix-dashboard] juzhiyuan commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771683857


   need @imjoey @nic-chen to confirm.


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



[GitHub] [apisix-dashboard] imjoey edited a comment on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
imjoey edited a comment on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-772135375


   /lgtm
   
   We need to fix the backend e2e test failure in prior. Just locate the relevant ongoing PR https://github.com/apache/apisix-docker/pull/125 here for tracing, we can re-run the CI once it gets merged.
   


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



[GitHub] [apisix-dashboard] imjoey commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
imjoey commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771417600


   @Jaycean Hi, please try the way mentioned in https://github.com/apache/apisix-dashboard/issues/1415#issuecomment-771414595 , we could remove the local duplicated Dockerfile since then. Thank you. 😄 


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



[GitHub] [apisix-dashboard] imjoey commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
imjoey commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-771417600


   @Jaycean Hi, please try the way mentioned in https://github.com/apache/apisix-dashboard/issues/1415#issuecomment-771414595 , we could remove the local duplicated Dockerfile since then. Thank you. 😄 


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



[GitHub] [apisix-dashboard] liuxiran commented on pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
liuxiran commented on pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#issuecomment-772031795


   fe test failed, rerun, related pr: https://github.com/apache/apisix-dashboard/pull/1414


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



[GitHub] [apisix-dashboard] juzhiyuan commented on a change in pull request #1416: fix(be): CI uses the apisix-docker project dockerfile to build apisix

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on a change in pull request #1416:
URL: https://github.com/apache/apisix-dashboard/pull/1416#discussion_r568374373



##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix

Review comment:
       ```suggestion
         - name: download the Dockerfile-apisix file
   ```

##########
File path: .github/workflows/backend-e2e-test.yml
##########
@@ -20,6 +20,11 @@ jobs:
         with:
           go-version: '1.13'
 
+      - name: download file Dockerfile-apisix
+        working-directory: ./api/test/docker
+        run: |
+          curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/all-in-one/apisix/Dockerfile

Review comment:
       Not sure if it's ok to use the latest APISIX's Dockerfile 😳




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