You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ak...@apache.org on 2022/03/22 11:07:13 UTC

[buildstream] branch abderrahim/test-ci updated (fa0dffd -> dd9f1c4)

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

akitouni pushed a change to branch abderrahim/test-ci
in repository https://gitbox.apache.org/repos/asf/buildstream.git.


 discard fa0dffd  test CI
     new dd9f1c4  test CI

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   (fa0dffd)
            \
             N -- N -- N   refs/heads/abderrahim/test-ci (dd9f1c4)

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/ci.yml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

[buildstream] 01/01: test CI

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

akitouni pushed a commit to branch abderrahim/test-ci
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit dd9f1c4c797d3bbf58108c69d001c915a6ad8e52
Author: Abderrahim Kitouni <ak...@gnome.org>
AuthorDate: Sun Mar 20 18:27:59 2022 +0100

    test CI
---
 .github/compose/ci.docker-compose.yml |   2 +-
 .github/workflows/ci.yml              | 160 +++++++++++++++++++++-------------
 2 files changed, 98 insertions(+), 64 deletions(-)

diff --git a/.github/compose/ci.docker-compose.yml b/.github/compose/ci.docker-compose.yml
index dacf6d5..e4a1496 100644
--- a/.github/compose/ci.docker-compose.yml
+++ b/.github/compose/ci.docker-compose.yml
@@ -2,7 +2,7 @@ version: '3.4'
 
 x-tests-template: &tests-template
     image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:35-${CI_IMAGE_VERSION:-latest}
-    command: tox -vvvvv -- --color=yes --integration
+    command: 
     environment:
       TOXENV: ${CI_TOXENV_ALL}
 
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7e8bee7..b868652 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,84 +27,118 @@ concurrency:
 jobs:
   tests:
     runs-on: ubuntu-20.04
+    container: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-${{matrix.test-name}}-master
     continue-on-error: ${{ matrix.allow-failure || false }}
 
     strategy:
       fail-fast: false
       matrix:
-
-        # The names here should map to a valid service defined in
-        # "../compose/ci.docker-compose.yml"
         test-name:
-          - debian-10
-          - fedora-34
-          - fedora-35
-          - fedora-missing-deps
-          - lint
-          - mypy
-
-        include:
-          - test-name: plugins-master
-            allow-failure: true
+          - debian:10
+          - fedora:34
+          - fedora:35
+          - fedora:minimal
 
     steps:
-      - name: Check out repository
-        uses: actions/checkout@v2
-        # BuildStream requires tags to be able to find its version.
-        with:
-          fetch-depth: 0
-
-      - name: Run tests with Docker Compose
+      - name: test
         run: |
-          ${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}
+          echo ${{ github.workspace }}
+          echo $GITHUB_WORKSPACE
+          echo $GITHUB_CONTEXT
+          ls -l /
 
-  # Matrix of tests which run against remote services which we bring up adjacently
-  service-tests:
-    runs-on: ubuntu-20.04
-
-    strategy:
-      matrix:
-
-        # The names here map to valid services defined in "../compose/ci.docker-compose.yml",
-        # and they also map to corresponding filenames of services which are expected
-        # to be run in the background
-        test-name:
-          - buildbarn
-          - buildgrid
-
-    steps:
       - name: Check out repository
         uses: actions/checkout@v2
         # BuildStream requires tags to be able to find its version.
         with:
           fetch-depth: 0
 
-      - name: Bring up the RE cluster
+      - name: Run tests
         run: |
-          ${GITHUB_WORKSPACE}/.github/run-ci.sh --service ${{ matrix.test-name }}
-
-  docs:
-    runs-on: ubuntu-20.04
-    steps:
-      - name: Check out repository
-        uses: actions/checkout@v2
-        # BuildStream requires tags to be able to find its version.
-        with:
-          fetch-depth: 0
-
-      - name: Give `testuser` ownership of the source directory
-        run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}
+          ls -l
+          ls -l src/buildstream/_protos/build
+          tox -vvvvv -- --color=yes --integration
+
+  # tests:
+  #   runs-on: ubuntu-20.04
+  #   continue-on-error: ${{ matrix.allow-failure || false }}
+
+  #   strategy:
+  #     fail-fast: false
+  #     matrix:
+
+  #       # The names here should map to a valid service defined in
+  #       # "../compose/ci.docker-compose.yml"
+  #       test-name:
+  #         - debian-10
+  #         - fedora-34
+  #         - fedora-35
+  #         - fedora-missing-deps
+  #         - lint
+  #         - mypy
+
+  #       include:
+  #         - test-name: plugins-master
+  #           allow-failure: true
+
+  #   steps:
+  #     - name: Check out repository
+  #       uses: actions/checkout@v2
+  #       # BuildStream requires tags to be able to find its version.
+  #       with:
+  #         fetch-depth: 0
+
+  #     - name: Run tests with Docker Compose
+  #       run: |
+  #         ${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}
 
-      - name: Build documentation using Docker Compose
-        run: |
-          docker-compose \
-            --env-file ${GITHUB_WORKSPACE}/.github/common.env \
-            --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \
-            run \
-            docs
-
-      - name: Upload artifacts
-        uses: actions/upload-artifact@v2
-        with:
-          name: docs
-          path: doc/build/html
+  # Matrix of tests which run against remote services which we bring up adjacently
+  # service-tests:
+  #   runs-on: ubuntu-20.04
+
+  #   strategy:
+  #     matrix:
+
+  #       # The names here map to valid services defined in "../compose/ci.docker-compose.yml",
+  #       # and they also map to corresponding filenames of services which are expected
+  #       # to be run in the background
+  #       test-name:
+  #         - buildbarn
+  #         - buildgrid
+
+  #   steps:
+  #     - name: Check out repository
+  #       uses: actions/checkout@v2
+  #       # BuildStream requires tags to be able to find its version.
+  #       with:
+  #         fetch-depth: 0
+
+  #     - name: Bring up the RE cluster
+  #       run: |
+  #         ${GITHUB_WORKSPACE}/.github/run-ci.sh --service ${{ matrix.test-name }}
+
+  # docs:
+  #   runs-on: ubuntu-20.04
+  #   steps:
+  #     - name: Check out repository
+  #       uses: actions/checkout@v2
+  #       # BuildStream requires tags to be able to find its version.
+  #       with:
+  #         fetch-depth: 0
+
+  #     - name: Give `testuser` ownership of the source directory
+  #       run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}
+
+  #     - name: Build documentation using Docker Compose
+  #       run: |
+  #         docker-compose \
+  #           --env-file ${GITHUB_WORKSPACE}/.github/common.env \
+  #           --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \
+  #           run \
+  #           docs
+
+  #     - name: Upload artifacts
+  #       uses: actions/upload-artifact@v2
+  #       with:
+  #         name: docs
+  #         path: doc/build/html