Skip to content

Commit

Permalink
Merge branch 'master' into reinier/open-765-do-not-run-profile-genera…
Browse files Browse the repository at this point in the history
…tor-on-agent-creation
  • Loading branch information
Pwuts committed May 24, 2024
2 parents ad22bc5 + 46c1762 commit eb6e386
Show file tree
Hide file tree
Showing 903 changed files with 52,155 additions and 63,956 deletions.
28 changes: 28 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Ignore everything by default, selectively add things to context
*

# AutoGPT
!autogpt/autogpt/
!autogpt/pyproject.toml
!autogpt/poetry.lock
!autogpt/README.md
!autogpt/tests/

# Benchmark
!benchmark/agbenchmark/
!benchmark/pyproject.toml
!benchmark/poetry.lock
!benchmark/README.md

# Forge
!forge/forge/
!forge/pyproject.toml
!forge/poetry.lock
!forge/README.md

# Frontend
!frontend/build/web/

# Explicitly re-ignore some folders
.*
**/__pycache__
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
frontend/build/* linguist-generated
frontend/build/** linguist-generated

**/poetry.lock linguist-generated

docs/_javascript/** linguist-vendored
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.github/workflows/ @Significant-Gravitas/devops
autogpts/autogpt/ @Significant-Gravitas/maintainers
autogpts/forge/ @Significant-Gravitas/forge-maintainers
autogpt/ @Significant-Gravitas/maintainers
forge/ @Significant-Gravitas/forge-maintainers
benchmark/ @Significant-Gravitas/benchmark-maintainers
frontend/ @Significant-Gravitas/frontend-maintainers
8 changes: 2 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
AutoGPT Agent:
- changed-files:
- any-glob-to-any-file: autogpts/autogpt/**
- any-glob-to-any-file: autogpt/**

Forge:
- changed-files:
- any-glob-to-any-file: autogpts/forge/**
- any-glob-to-any-file: forge/**

Benchmark:
- changed-files:
Expand All @@ -14,10 +14,6 @@ Frontend:
- changed-files:
- any-glob-to-any-file: frontend/**

Arena:
- changed-files:
- any-glob-to-any-file: arena/**

documentation:
- changed-files:
- any-glob-to-any-file: docs/**
169 changes: 0 additions & 169 deletions .github/workflows/arena-intake.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/autogpt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
branches: [ master, development, ci-test* ]
paths:
- '.github/workflows/autogpt-ci.yml'
- 'autogpts/autogpt/**'
- '!autogpts/autogpt/tests/vcr_cassettes'
- 'autogpt/**'
- '!autogpt/tests/vcr_cassettes'
pull_request:
branches: [ master, development, release-* ]
paths:
- '.github/workflows/autogpt-ci.yml'
- 'autogpts/autogpt/**'
- '!autogpts/autogpt/tests/vcr_cassettes'
- 'autogpt/**'
- '!autogpt/tests/vcr_cassettes'

concurrency:
group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}
Expand All @@ -21,7 +21,7 @@ concurrency:
defaults:
run:
shell: bash
working-directory: autogpts/autogpt
working-directory: autogpt

jobs:
lint:
Expand All @@ -48,7 +48,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('autogpts/autogpt/pyproject.toml') }}-${{ steps.get_date.outputs.date }}
key: ${{ runner.os }}-poetry-${{ hashFiles('autogpt/pyproject.toml') }}-${{ steps.get_date.outputs.date }}

- name: Install Python dependencies
run: |
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}
key: poetry-${{ runner.os }}-${{ hashFiles('autogpts/autogpt/poetry.lock') }}
key: poetry-${{ runner.os }}-${{ hashFiles('autogpt/poetry.lock') }}

- name: Install Poetry (Unix)
if: runner.os != 'Windows'
Expand Down Expand Up @@ -293,4 +293,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: test-logs
path: autogpts/autogpt/logs/
path: autogpt/logs/
2 changes: 1 addition & 1 deletion .github/workflows/autogpt-docker-cache-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Build image
uses: docker/build-push-action@v5
with:
context: autogpts/autogpt
file: Dockerfile.autogpt
build-args: BUILD_TYPE=${{ matrix.build-type }}
load: true # save to docker images
# use GHA cache as read-only
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/autogpt-docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ on:
branches: [ master, development ]
paths:
- '.github/workflows/autogpt-docker-ci.yml'
- 'autogpts/autogpt/**'
- '!autogpts/autogpt/tests/vcr_cassettes'
- 'autogpt/**'
- '!autogpt/tests/vcr_cassettes'
pull_request:
branches: [ master, development, release-* ]
paths:
- '.github/workflows/autogpt-docker-ci.yml'
- 'autogpts/autogpt/**'
- '!autogpts/autogpt/tests/vcr_cassettes'
- 'autogpt/**'
- '!autogpt/tests/vcr_cassettes'

concurrency:
group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

defaults:
run:
working-directory: autogpts/autogpt
working-directory: autogpt

env:
IMAGE_NAME: auto-gpt
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
name: Build image
uses: docker/build-push-action@v5
with:
context: autogpts/autogpt
file: Dockerfile.autogpt
build-args: BUILD_TYPE=${{ matrix.build-type }}
tags: ${{ env.IMAGE_NAME }}
labels: GIT_REVISION=${{ github.sha }}
Expand Down Expand Up @@ -84,7 +84,6 @@ jobs:
vars_json: ${{ toJSON(vars) }}

run: .github/workflows/scripts/docker-ci-summary.sh >> $GITHUB_STEP_SUMMARY
working-directory: ./
continue-on-error: true

test:
Expand Down Expand Up @@ -119,7 +118,7 @@ jobs:
name: Build image
uses: docker/build-push-action@v5
with:
context: autogpts/autogpt
file: Dockerfile.autogpt
build-args: BUILD_TYPE=dev # include pytest
tags: >
${{ env.IMAGE_NAME }},
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/autogpt-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
type: boolean
description: 'Build from scratch, without using cached layers'

defaults:
run:
working-directory: autogpts/autogpt

env:
IMAGE_NAME: auto-gpt
DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt
Expand Down Expand Up @@ -48,7 +44,7 @@ jobs:
name: Build image
uses: docker/build-push-action@v5
with:
context: autogpts/autogpt
file: Dockerfile.autogpt
build-args: BUILD_TYPE=release
load: true # save to docker images
# push: true # TODO: uncomment when this issue is fixed: https://github.com/moby/buildkit/issues/1555
Expand Down Expand Up @@ -87,5 +83,4 @@ jobs:
vars_json: ${{ toJSON(vars) }}

run: .github/workflows/scripts/docker-release-summary.sh >> $GITHUB_STEP_SUMMARY
working-directory: ./
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/autogpts-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Benchmark ${{ matrix.agent-name }}
run: |
./run agent start ${{ matrix.agent-name }}
cd autogpts/${{ matrix.agent-name }}
cd ${{ matrix.agent-name }}
set +e # Do not quit on non-zero exit codes
poetry run agbenchmark run -N 3 \
Expand Down

0 comments on commit eb6e386

Please sign in to comment.