Skip to content

Just Run Autogpt

Just Run Autogpt #14

Workflow file for this run

name: Just Run Autogpt
on:
workflow_dispatch : #only run when requested
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@master
with:
submodules: 'true'
- name: Run mock openai server
run: docker-compose up --no-build -d mockopenai
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
- name: docker ps
run: docker ps -a --no-trunc
- 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 ||
env:
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: "jmikedupont2/ai-ticket"
- name: stop mock openai server, just in case
run: docker-compose down mockopenai