diff --git a/.github/workflows/aws_destroy.yaml b/.github/workflows/aws_destroy.yaml index de87017..dad26ce 100644 --- a/.github/workflows/aws_destroy.yaml +++ b/.github/workflows/aws_destroy.yaml @@ -1,7 +1,7 @@ name: SETUP - AWS on: workflow_dispatch: - workflows: ["DEPLOY - AWS"] + # workflows: ["DEPLOY - AWS"] # pull_request: # branches: # - develop diff --git a/.github/workflows/aws_test_develop.yaml b/.github/workflows/aws_test_develop.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/python_anywhere_deploy.yaml b/.github/workflows/python_anywhere_deploy.yaml deleted file mode 100644 index 2c2aa8b..0000000 --- a/.github/workflows/python_anywhere_deploy.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: Deploy pythonanywhere Hyperdrive -on: - workflow_dispatch: -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - name: Reload webapp - uses: jensvog/pythonanywhere-webapp-reload-action@v1 - with: - host: ' hyperdrive.pythonanywhere.com' - username: ${{ secrets.PYAW_USERNAME }} - api-token: ${{ secrets.PYAW_API_TOKEN }} - domain-name: ${{ secrets.PYAW_DOMAIN_NAME }} \ No newline at end of file diff --git a/.github/workflows/test_hyperdrive.yml b/.github/workflows/test_hyperdrive.yml deleted file mode 100644 index e7a27f8..0000000 --- a/.github/workflows/test_hyperdrive.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Test HyperDrive - -# on: [push] -on: - # allows you to manually execute this pipeline from the Actions tab. - workflow_dispatch: - - # pull_request: - # branches: - # - develop - -jobs: - build: - # if: ${{ github.head_ref == 'develop'}} - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.10"] - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - # pip install ruff pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - - name: Start Hyperdrive - run: | - cd app - python api_server.py - - - name: Test HyperDrive with pytest - run: | - pytest tests/unit diff --git a/.github/workflows/vercel_deploy.yaml b/.github/workflows/vercel_deploy.yaml deleted file mode 100644 index 8285427..0000000 --- a/.github/workflows/vercel_deploy.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Deploy to Vercel -env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} -on: - workflow_dispatch: - # push: - # branches: - # - main -jobs: - Deploy-Develop: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install Vercel CLI - run: npm install --global vercel@latest - - name: Pull Vercel Environment Information - run: vercel pull --yes --environment=development --token=${{ secrets.VERCEL_TOKEN }} - - name: Build Project Artifacts - run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - - name: Deploy Project Artifacts to Vercel - run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/docker/Dockerfile b/docker/Dockerfile index 8ab4701..033b8fe 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8.12-slim-buster +FROM python:3.8 # create app directory RUN mkdir -p /usr/src/hyperdrive