You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2019/11/22 13:35:16 UTC

[skywalking] branch docker/ext updated (5f26562 -> 56873da)

This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a change to branch docker/ext
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


 discard 5f26562  Add container checker
     new 56873da  Add container checker

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5f26562)
            \
             N -- N -- N   refs/heads/docker/ext (56873da)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/docker-ci.yaml | 1 +
 1 file changed, 1 insertion(+)


[skywalking] 01/01: Add container checker

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch docker/ext
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 56873da2fdc13905912b0e695d27c8a7ebd0f5b9
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Fri Nov 22 21:24:17 2019 +0800

    Add container checker
---
 .github/workflows/docker-ci.yaml | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml
index 23d5dc1..285fde4 100644
--- a/.github/workflows/docker-ci.yaml
+++ b/.github/workflows/docker-ci.yaml
@@ -18,7 +18,8 @@ name: docker-ci
 
 on: [push]
 env:
-  SCRIPTS_DIR: ./test/scripts
+  SKIP_TEST: true
+  DOCKER_DIR: ./docker
   LOG_DIR: /tmp/skywalking
 jobs:
   build:
@@ -27,5 +28,23 @@ jobs:
       - uses: actions/checkout@v1
       - name: Build docker image
         run: make docker
-      - name: Start oap
-        run: docker run --name oap skywalking/oap
+      - name: Bootstrap cluster
+        run: cd ${DOCKER_DIR} && docker-compose up -d
+      - name: Check port avaliable
+        run: |
+          echo "Waiting for OAP ready"
+          for i in $(seq 1 15); do nc -z -w3 localhost 11800 && exit 0 || sleep 3; done; exit 1
+          echo "OAP is ready"
+          echo "Waiting for UI ready"
+          for i in $(seq 1 15); do nc -z -w3 localhost 8080 && exit 0 || sleep 3; done; exit 1
+           echo "UI is ready"
+      - name: Collect logs
+        run: |
+          mkdir -p ${LOG_DIR}
+          docker-compose logs oap > ${LOG_DIR}/oap.txt
+          docker-compose logs ui > ${LOG_DIR}/ui.txt
+          docker-compose logs elasticsearch > ${LOG_DIR}/es.txt
+      - uses: actions/upload-artifact@v1.0.0
+        with:
+          name: logs
+          path: /tmp/skywalking