github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136814 | 1 | 27456 | 611552758 | actions/checkout@v3 | |||||
136816 | 3 | 27456 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136817 | 4 | 27456 | 611552758 | Run tests | pytest | ||||
136818 | 1 | 27457 | 611552758 | actions/checkout@v3 | |||||
136820 | 3 | 27457 | 611552758 | Install dependencies | pip install setuptools wheel twine build | ||||
136821 | 4 | 27457 | 611552758 | Publish | python -m build twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136822 | 1 | 27458 | 611552758 | actions/checkout@v3 | |||||
136824 | 3 | 27458 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136825 | 4 | 27458 | 611552758 | Run tests | pytest | ||||
136826 | 5 | 27458 | 611552758 | Check if README is up-to-date | cog --check README.md | ||||
136827 | 1 | 27459 | 197431109 | actions/checkout@v2 | |||||
136830 | 4 | 27459 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136831 | 5 | 27459 | 197431109 | Run tests | pytest -v | ||||
136832 | 1 | 27460 | 197431109 | actions/checkout@v2 | |||||
136835 | 4 | 27460 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
136836 | 5 | 27460 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136837 | 1 | 27461 | 197431109 | actions/checkout@v2 | |||||
136840 | 4 | 27461 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136841 | 5 | 27461 | 197431109 | Run tests | pytest -v | ||||
136842 | 1 | 27462 | 256834907 | actions/checkout@v2 | |||||
136845 | 4 | 27462 | 256834907 | Install dependencies | python -m pip install --upgrade pip pip install -e .[test] | ||||
136846 | 5 | 27462 | 256834907 | Test with pytest | pytest | ||||
136847 | 1 | 27463 | 303218369 | actions/checkout@v2 | |||||
136850 | 4 | 27463 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136851 | 5 | 27463 | 303218369 | Run tests | pytest | ||||
136852 | 1 | 27464 | 303218369 | actions/checkout@v2 | |||||
136855 | 4 | 27464 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
136856 | 5 | 27464 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136857 | 1 | 27465 | 303218369 | actions/checkout@v2 | |||||
136860 | 4 | 27465 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136861 | 5 | 27465 | 303218369 | Run tests | pytest | ||||
136862 | 1 | 27466 | 207052882 | actions/checkout@v2 | Check out repo | ||||
136865 | 4 | 27466 | 207052882 | Install Python dependencies | python -m pip install --upgrade pip pip install sqlite-utils>=3.1 sqlite-utils --version pip install -e . pip install datasette pip install bs4 | ||||
136866 | 5 | 27466 | 207052882 | Create auth.json | echo "{\"github_personal_token\": \"$GITHUB_ACCESS_TOKEN\"}" > auth.json | {"GITHUB_ACCESS_TOKEN": "${{ secrets.GH_TOKEN }}"} | |||
136867 | 6 | 27466 | 207052882 | Fetch previous copy of database | # So we can keep track of when we first saw each dependent repo wget https://github-to-sqlite.dogsheep.net/github.db | !contains(github.event.head_commit.message, 'REFRESH_DB') | |||
136868 | 7 | 27466 | 207052882 | Fetch the repos | github-to-sqlite repos github.db dogsheep sqlite-utils tables --counts github.db | ||||
136869 | 8 | 27466 | 207052882 | Fetch releases, commits, issues, contributors | sqlite-utils github.db "select full_name from repos where owner = 53015001 union select 'simonw/datasette' as full_name union select 'simonw/sqlite-utils' as full_name" \ --csv --no-headers | while read repo; do github-to-sqlite releases \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite commits \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite tags \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite contributors \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issues \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite pull-requests \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issue-comments \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite stargazers \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite workflows \ github.db $(echo $repo | tr -d '\r'); sleep 10; done; # Scrape dependents github-to-sqlite scrape-dependents github.db simonw/datasette simonw/sqlite-utils -v sqlite-utils tables --counts github.db # Delete email addresses from raw_authors sqlite-utils github.db "update raw_authors set email = ''" # Fetch emojis github-to-sqlite emojis github.db --fetch # Rebuild FTS tables sqlite-utils rebuild-fts github.db # Populate _analyze_tables_ table sqlite-utils analyze-tables github.db --save | ||||
136872 | 11 | 27466 | 207052882 | Deploy to Cloud Run | gcloud config set run/region us-central1 gcloud config set project datasette-222320 datasette publish cloudrun github.db \ -m demo-metadata.json \ --service github-to-sqlite \ --install=datasette-search-all>=0.3 \ --install=datasette-render-markdown>=1.1.2 \ --install=datasette-pretty-json>=0.2.2 \ --install=datasette-json-html \ --install=datasette-vega \ --install=datasette-render-images \ --install=datasette-graphql \ --install=datasette-atom | ||||
136873 | 1 | 27467 | 207052882 | actions/checkout@v2 | |||||
136876 | 4 | 27467 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136877 | 5 | 27467 | 207052882 | Run tests | pytest | ||||
136878 | 1 | 27468 | 207052882 | actions/checkout@v2 | |||||
136881 | 4 | 27468 | 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
136882 | 5 | 27468 | 207052882 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136883 | 1 | 27469 | 207052882 | actions/checkout@v2 | Check out repo | ||||
136884 | 2 | 27469 | 207052882 | Update TOC | npx markdown-toc README.md -i | ||||
136885 | 3 | 27469 | 207052882 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
136886 | 1 | 27470 | 207052882 | actions/checkout@v2 | |||||
136889 | 4 | 27470 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136890 | 5 | 27470 | 207052882 | Run tests | pytest | ||||
136891 | 1 | 27471 | 248903544 | actions/checkout@v2 | |||||
136894 | 4 | 27471 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136895 | 5 | 27471 | 248903544 | Run tests | pytest | ||||
136896 | 1 | 27472 | 248903544 | actions/checkout@v2 | |||||
136899 | 4 | 27472 | 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
136900 | 5 | 27472 | 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136901 | 1 | 27473 | 248903544 | actions/checkout@v2 | |||||
136904 | 4 | 27473 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136905 | 5 | 27473 | 248903544 | Run tests | pytest | ||||
136906 | 1 | 27474 | 197882382 | actions/checkout@v2 | |||||
136909 | 4 | 27474 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
136910 | 5 | 27474 | 197882382 | Run tests | pytest | ||||
136911 | 1 | 27475 | 197882382 | actions/checkout@v2 | |||||
136914 | 4 | 27475 | 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
136915 | 5 | 27475 | 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136916 | 1 | 27476 | 197882382 | actions/checkout@v2 | |||||
136919 | 4 | 27476 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
136920 | 5 | 27476 | 197882382 | Run tests | pytest | ||||
136921 | 1 | 27477 | 213286752 | actions/checkout@v3 | |||||
136923 | 3 | 27477 | 213286752 | Install dependencies | pip install '.[test]' | ||||
136924 | 4 | 27477 | 213286752 | Run tests | pytest | ||||
136925 | 1 | 27478 | 213286752 | actions/checkout@v3 | |||||
136927 | 3 | 27478 | 213286752 | Install dependencies | pip install setuptools wheel twine build | ||||
136928 | 4 | 27478 | 213286752 | Publish | python -m build twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136929 | 1 | 27479 | 213286752 | actions/checkout@v3 | |||||
136931 | 3 | 27479 | 213286752 | Install dependencies | pip install '.[test]' | ||||
136932 | 4 | 27479 | 213286752 | Run tests | pytest | ||||
136933 | 1 | 27480 | 205429375 | actions/checkout@v3 | |||||
136935 | 3 | 27480 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
136936 | 4 | 27480 | 205429375 | Run tests | pytest | ||||
136937 | 1 | 27481 | 205429375 | actions/checkout@v3 | |||||
136939 | 3 | 27481 | 205429375 | Install dependencies | pip install setuptools wheel twine | ||||
136940 | 4 | 27481 | 205429375 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136941 | 1 | 27482 | 205429375 | actions/checkout@v3 | |||||
136943 | 3 | 27482 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
136944 | 4 | 27482 | 205429375 | Run tests | pytest | ||||
136945 | 1 | 27483 | 206156866 | actions/checkout@v2 | |||||
136948 | 4 | 27483 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136949 | 5 | 27483 | 206156866 | Run tests | pytest | ||||
136950 | 1 | 27484 | 206156866 | actions/checkout@v2 | |||||
136953 | 4 | 27484 | 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
136954 | 5 | 27484 | 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136955 | 1 | 27485 | 206156866 | actions/checkout@v2 | Check out repo | ||||
136956 | 2 | 27485 | 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
136957 | 3 | 27485 | 206156866 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
136958 | 1 | 27486 | 206156866 | actions/checkout@v2 | |||||
136961 | 4 | 27486 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136962 | 5 | 27486 | 206156866 | Run tests | pytest | ||||
136963 | 1 | 27487 | 107914493 | actions/checkout@v3 | |||||
136965 | 3 | 27487 | 107914493 | Install dependencies | pip install datasette-publish-vercel | ||||
136966 | 4 | 27487 | 107914493 | Deploy the preview | export BRANCH="${{ github.event.inputs.branch }}" wget https://latest.datasette.io/fixtures.db datasette publish vercel fixtures.db \ --branch $BRANCH \ --project "datasette-preview-$BRANCH" \ --token $VERCEL_TOKEN \ --scope datasette \ --about "Preview of $BRANCH" \ --about_url "https://github.com/simonw/datasette/tree/$BRANCH" | {"VERCEL_TOKEN": "${{ secrets.BRANCH_PREVIEW_VERCEL_TOKEN }}"} |