Scheduling infrastructure for absolutely everyone.
Removes Snaplet actions for now
zomars19b1f8a05f0c
diff --git a/.github/workflows/cleanup-preview-databases.yml b/.github/workflows/cleanup-preview-databases.ymldeleted file mode 100644index a8be8db1d35..00000000000--- a/.github/workflows/cleanup-preview-databases.yml+++ /dev/null@@ -1,20 +0,0 @@-name: Cleanup Preview Databases--env:- SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}- SNAPLET_PROJECT_ID: cl4u26bwz7962859ply7ibuo43t--on:- pull_request:- types: [closed]- branches:- - main--jobs:- delete:- runs-on: ubuntu-latest- steps:- - uses: snaplet/action@v1- if: ${{ env.SNAPLET_ACCESS_TOKEN && env.SNAPLET_PROJECT_ID }}- with:- delete: truediff --git a/.github/workflows/db-preview.yml b/.github/workflows/db-preview.ymldeleted file mode 100644index 6604523f4ce..00000000000--- a/.github/workflows/db-preview.yml+++ /dev/null@@ -1,37 +0,0 @@-# .github/workflows/preview.yml--name: Preview Environment--env:- SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}- SNAPLET_PROJECT_ID: ${{ secrets.SNAPLET_PROJECT_ID }}- VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }}- VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}--on:- pull_request:- types: [opened, synchronize, closed]- branches:- - main--jobs:- db-preview-deploy:- if: ${{ github.event.action == 'opened' || github.event.action == 'synchronize' }}- runs-on: ubuntu-latest- steps:- - id: snaplet- uses: snaplet/action@v1- - uses: snaplet/vercel-action@v1- with:- env: |- DATABASE_URL=${{ steps.snaplet.outputs.database-url }}- db-preview-delete:- if: ${{ github.event.action == 'closed' }}- runs-on: ubuntu-latest- steps:- - uses: snaplet/action@v1- with:- delete: true- - uses: snaplet/vercel-action@v1- with:- delete: truediff --git a/.github/workflows/db-staging-snapshot.yml b/.github/workflows/db-staging-snapshot.ymldeleted file mode 100644index c31beb1693c..00000000000--- a/.github/workflows/db-staging-snapshot.yml+++ /dev/null@@ -1,18 +0,0 @@-name: Staging DB Snapshot-on:- schedule:- - cron: "0 4 * * 1-5" # At 04:00 on every day-of-week from Monday through Friday.- workflow_dispatch:-jobs:- db-staging-snapshot:- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v3- - name: Install Snaplet CLI- run: curl -sL https://app.snaplet.dev/get-cli/ | bash- - name: Restore Snapshot- run: snaplet snapshot restore -y- env:- SNAPLET_DATABASE_URL: ${{ secrets.SNAPLET_DATA_TARGET_DB_URL }}- SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}- SNAPLET_DATABASE_ID: ${{ secrets.SNAPLET_DATABASE_ID }}