From ff66e972219a50e9065da24a5756269fcb0b861c Mon Sep 17 00:00:00 2001 From: blooming <37789413+Bloomingg@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:20:54 +0800 Subject: [PATCH] fix: rm e2e in ci (#2449) --- .github/workflows/build-docker-image.yml | 42 ++++++++--------- .github/workflows/openimci.yml | 58 ++++++++++++------------ 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 63982a012..d0b9dddbc 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -121,29 +121,29 @@ jobs: exit 0 fi - - name: Checkout e2e - if: success() - uses: actions/checkout@v4 - with: - repository: "openimsdk/test-e2e" - path: e2e-repo - - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: '3.9' + # - name: Checkout e2e + # if: success() + # uses: actions/checkout@v4 + # with: + # repository: "openimsdk/test-e2e" + # path: e2e-repo + + # - name: Set up Python 3.9 + # uses: actions/setup-python@v4 + # with: + # python-version: '3.9' - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y xvfb libxi6 libgconf-2-4 - cd ${{ github.workspace }}/e2e-repo - pip install -r requirements.txt + # - name: Install dependencies + # run: | + # sudo apt-get update + # sudo apt-get install -y xvfb libxi6 libgconf-2-4 + # cd ${{ github.workspace }}/e2e-repo + # pip install -r requirements.txt - - name: Run tests - run: | - cd ${{ github.workspace }}/e2e-repo - xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' pytest -v -s ./script + # - name: Run tests + # run: | + # cd ${{ github.workspace }}/e2e-repo + # xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' pytest -v -s ./script - name: Extract metadata (tags, labels) for Docker if: success() diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 9952a1381..8f3630dd0 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -71,17 +71,17 @@ jobs: run: sudo bash bootstrap.sh timeout-minutes: 20 - - name: Get Internal IP Address - id: get-ip - run: | - IP=$(hostname -I | awk '{print $1}') - echo "The IP Address is: $IP" - echo "::set-output name=ip::$IP" + # - name: Get Internal IP Address + # id: get-ip + # run: | + # IP=$(hostname -I | awk '{print $1}') + # echo "The IP Address is: $IP" + # echo "::set-output name=ip::$IP" - - name: Update .env - run: | - sed -i 's|externalAddress:.*|externalAddress: "http://${{ steps.get-ip.outputs.ip }}:10005"|' config/minio.yml - cat config/minio.yml + # - name: Update .env + # run: | + # sed -i 's|externalAddress:.*|externalAddress: "http://${{ steps.get-ip.outputs.ip }}:10005"|' config/minio.yml + # cat config/minio.yml - name: Build, Start, Check Services and Print Logs for Linux run: | @@ -109,27 +109,27 @@ jobs: sudo mage start sudo mage check - - name: Checkout e2e repository - uses: actions/checkout@v4 - with: - repository: "openimsdk/test-e2e" - path: e2e-repo + # - name: Checkout e2e repository + # uses: actions/checkout@v4 + # with: + # repository: "openimsdk/test-e2e" + # path: e2e-repo - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: '3.9' + # - name: Set up Python 3.9 + # uses: actions/setup-python@v4 + # with: + # python-version: '3.9' - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y xvfb libxi6 libgconf-2-4 - cd ${{ github.workspace }}/e2e-repo - pip install -r requirements.txt + # - name: Install dependencies + # run: | + # sudo apt-get update + # sudo apt-get install -y xvfb libxi6 libgconf-2-4 + # cd ${{ github.workspace }}/e2e-repo + # pip install -r requirements.txt - - name: Run tests - run: | - cd ${{ github.workspace }}/e2e-repo - xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' pytest -v -s ./script + # - name: Run tests + # run: | + # cd ${{ github.workspace }}/e2e-repo + # xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' pytest -v -s ./script \ No newline at end of file