Skip to content

Commit

Permalink
run
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 5, 2023
1 parent aea6ae0 commit 2818bbd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2818bbd

Please sign in to comment.