From 2818bbd1e652e272c57667faafe8183fa34b70b3 Mon Sep 17 00:00:00 2001 From: mike dupont Date: Thu, 5 Oct 2023 10:36:18 -0400 Subject: [PATCH] run --- .github/workflows/run.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 97f6cf1..7a6cbb9 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -21,9 +21,27 @@ jobs: - name: docker compose run: docker-compose logs -t mockopenai + + - name: docker inspect + run: docker inspect ai-ticket_mockopenai_1 || fail + - name: Run ip address + run: ip address ||echo no + - name: Run ip address + run: apt install -y net-tools || echo ok + - name: Run ifconfig + run: ifconfig ||echo ok + + - name: Run curl + run: curl --fail http://mockopenai:8080/v1/models || echo ignore + - name: Run curl + run: curl --fail http://ai-ticket_mockopenai_1:8080/v1/models || echo ignore + - name: Run curl + run: curl --fail http://mockopenai_1:8080/v1/models || echo ignore + - name: Run curl + run: curl --fail http://localhost:8080/v1/models || echo ignore - name: Run autogpt in docker - run: curl --fail http://mockopenai:8080/v1/models && docker-compose up --no-build --abort-on-container-exit autogpt + run: curl --fail http://mockopenai:8080/v1/models && docker-compose up --no-build --abort-on-container-exit autogpt || env: GITHUB_PAT: ${{ secrets.PAT }} GITHUB_REPO: "jmikedupont2/ai-ticket"