Skip to content

Commit

Permalink
refactor(marketplace): Delete Old marketplace code (#9164)
Browse files Browse the repository at this point in the history
Needs to be coordinated with Infra PR
Significant-Gravitas/AutoGPT_cloud_infrastructure#20

DO NOT MERGE WITHOUT SYNCING BOTH CHANGES

### Changes 🏗️

- Delete marketplace
  • Loading branch information
Swiftyos authored Jan 7, 2025
1 parent 7e80401 commit 0b9c0c9
Show file tree
Hide file tree
Showing 40 changed files with 0 additions and 5,501 deletions.
22 changes: 0 additions & 22 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,28 +89,6 @@ updates:
- "minor"
- "patch"

# market (Poetry project)
- package-ecosystem: "pip"
directory: "autogpt_platform/market"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
target-branch: "dev"
commit-message:
prefix: "chore(market/deps)"
prefix-development: "chore(market/deps-dev)"
groups:
production-dependencies:
dependency-type: "production"
update-types:
- "minor"
- "patch"
development-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"


# GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/platform-autgpt-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
env:
DATABASE_URL: ${{ secrets.BACKEND_DATABASE_URL }}

- name: Run Market Migrations
working-directory: ./autogpt_platform/market
run: |
python -m prisma migrate deploy
env:
DATABASE_URL: ${{ secrets.MARKET_DATABASE_URL }}

trigger:
needs: migrate
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/platform-autogpt-deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ jobs:
env:
DATABASE_URL: ${{ secrets.BACKEND_DATABASE_URL }}

- name: Run Market Migrations
working-directory: ./autogpt_platform/market
run: |
python -m prisma migrate deploy
env:
DATABASE_URL: ${{ secrets.MARKET_DATABASE_URL }}

trigger:
needs: migrate
runs-on: ubuntu-latest
Expand Down
126 changes: 0 additions & 126 deletions .github/workflows/platform-market-ci.yml

This file was deleted.

45 changes: 0 additions & 45 deletions autogpt_platform/docker-compose.platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,51 +144,6 @@ services:
networks:
- app-network

market:
build:
context: ../
dockerfile: autogpt_platform/market/Dockerfile
develop:
watch:
- path: ./
target: autogpt_platform/market/
action: rebuild
depends_on:
db:
condition: service_healthy
market-migrations:
condition: service_completed_successfully
environment:
- SUPABASE_URL=http://kong:8000
- SUPABASE_JWT_SECRET=your-super-secret-jwt-token-with-at-least-32-characters-long
- SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
- DATABASE_URL=postgresql://postgres:your-super-secret-and-long-postgres-password@db:5432/postgres?connect_timeout=60&schema=market
- BACKEND_CORS_ALLOW_ORIGINS="http://localhost:3000,http://127.0.0.1:3000"
ports:
- "8015:8015"
networks:
- app-network

market-migrations:
build:
context: ../
dockerfile: autogpt_platform/market/Dockerfile
command: ["sh", "-c", "poetry run prisma migrate deploy"]
develop:
watch:
- path: ./
target: autogpt_platform/market/
action: rebuild
depends_on:
db:
condition: service_healthy
environment:
- SUPABASE_URL=http://kong:8000
- SUPABASE_JWT_SECRET=your-super-secret-jwt-token-with-at-least-32-characters-long
- SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
- DATABASE_URL=postgresql://postgres:your-super-secret-and-long-postgres-password@db:5432/postgres?connect_timeout=60&schema=market
networks:
- app-network
# frontend:
# build:
# context: ../
Expand Down
12 changes: 0 additions & 12 deletions autogpt_platform/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,6 @@ services:
file: ./docker-compose.platform.yml
service: websocket_server

market:
<<: *agpt-services
extends:
file: ./docker-compose.platform.yml
service: market

market-migrations:
<<: *agpt-services
extends:
file: ./docker-compose.platform.yml
service: market-migrations

# frontend:
# <<: *agpt-services
# extends:
Expand Down
12 changes: 0 additions & 12 deletions autogpt_platform/market/.env.example

This file was deleted.

6 changes: 0 additions & 6 deletions autogpt_platform/market/.gitignore

This file was deleted.

75 changes: 0 additions & 75 deletions autogpt_platform/market/Dockerfile

This file was deleted.

37 changes: 0 additions & 37 deletions autogpt_platform/market/README.md

This file was deleted.

Loading

0 comments on commit 0b9c0c9

Please sign in to comment.