Skip to content

Commit

Permalink
Dummy changes to trigger CI/CD
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kokhan <andriy.kokhan@gmail.com>
  • Loading branch information
andriy-kokhan committed Jul 13, 2023
1 parent b443146 commit 3d311bc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/sc-standalone-deb11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
DOCKER_THRIFT: 'npu/broadcom/BCM56850/saivs/Dockerfile.saithrift'

jobs:
check-changes:
check_changes:
runs-on: ubuntu-20.04

steps:
Expand All @@ -41,12 +41,28 @@ jobs:
build-sc-stadalone:
name: Build SAI Challenger standalone image
runs-on: ubuntu-20.04
needs: [check-changes]
needs: [check_changes]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Update submodules
run: git submodule update --init

- name: Check what files were updated
id: check_changes
run: echo "changed_files=$(git diff --name-only HEAD~1)" >> "$GITHUB_OUTPUT"
#run: echo "::set-output name=changed_files::$(git diff --name-only HEAD~1)"

#- name: Setup upterm session
# uses: lhotari/action-upterm@v1

#- name: Setup upterm session
# run: echo "$CHANGED_FILES"

- name: Setup upterm session
run: echo "${{ contains(steps.check_changes.outputs.changed_files, '^($DOCKER_BASE|$DOCKER_REDIS)($|\\s)') }}"

- name: Build standalone Docker image
run: ./build.sh -i standalone -o deb11
if: ${{ contains(steps.check_changes.outputs.changed_files, '^($DOCKER_BASE|$DOCKER_REDIS)($|\\s)') }}
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ RUN echo ". /sai-challenger/scripts/sai-cli-completion.sh" >> /root/.bashrc
COPY scripts/redis-cmd-listener.py /sai-challenger/scripts/redis-cmd-listener.py

# Install SAI Challenger
RUN pip3 install /sai-challenger/common /sai-challenger
RUN pip3 install /sai-challenger/common /sai-challenger

WORKDIR /sai-challenger/tests

Expand Down

0 comments on commit 3d311bc

Please sign in to comment.