github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138653 | 1 | 27827 | 611552758 | actions/checkout@v3 | |||||
138655 | 3 | 27827 | 611552758 | Install dependencies | pip install '.[test]' | ||||
138656 | 4 | 27827 | 611552758 | Run tests | pytest | ||||
138657 | 1 | 27828 | 611552758 | actions/checkout@v3 | |||||
138659 | 3 | 27828 | 611552758 | Install dependencies | pip install setuptools wheel twine build | ||||
138660 | 4 | 27828 | 611552758 | Publish | python -m build twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138661 | 1 | 27829 | 611552758 | actions/checkout@v3 | |||||
138663 | 3 | 27829 | 611552758 | Install dependencies | pip install '.[test]' | ||||
138664 | 4 | 27829 | 611552758 | Run tests | pytest | ||||
138665 | 5 | 27829 | 611552758 | Check if README is up-to-date | cog --check README.md | ||||
138666 | 1 | 27830 | 197431109 | actions/checkout@v2 | |||||
138669 | 4 | 27830 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138670 | 5 | 27830 | 197431109 | Run tests | pytest -v | ||||
138671 | 1 | 27831 | 197431109 | actions/checkout@v2 | |||||
138674 | 4 | 27831 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
138675 | 5 | 27831 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138676 | 1 | 27832 | 197431109 | actions/checkout@v2 | |||||
138679 | 4 | 27832 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138680 | 5 | 27832 | 197431109 | Run tests | pytest -v | ||||
138681 | 1 | 27833 | 256834907 | actions/checkout@v2 | |||||
138684 | 4 | 27833 | 256834907 | Install dependencies | python -m pip install --upgrade pip pip install -e .[test] | ||||
138685 | 5 | 27833 | 256834907 | Test with pytest | pytest | ||||
138686 | 1 | 27834 | 303218369 | actions/checkout@v2 | |||||
138689 | 4 | 27834 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138690 | 5 | 27834 | 303218369 | Run tests | pytest | ||||
138691 | 1 | 27835 | 303218369 | actions/checkout@v2 | |||||
138694 | 4 | 27835 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
138695 | 5 | 27835 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138696 | 1 | 27836 | 303218369 | actions/checkout@v2 | |||||
138699 | 4 | 27836 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138700 | 5 | 27836 | 303218369 | Run tests | pytest | ||||
138701 | 1 | 27837 | 207052882 | actions/checkout@v2 | Check out repo | ||||
138704 | 4 | 27837 | 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 | ||||
138705 | 5 | 27837 | 207052882 | Create auth.json | echo "{\"github_personal_token\": \"$GITHUB_ACCESS_TOKEN\"}" > auth.json | { "GITHUB_ACCESS_TOKEN": "${{ secrets.GH_TOKEN }}" } |
|||
138706 | 6 | 27837 | 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') | |||
138707 | 7 | 27837 | 207052882 | Fetch the repos | github-to-sqlite repos github.db dogsheep sqlite-utils tables --counts github.db | ||||
138708 | 8 | 27837 | 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 | ||||
138711 | 11 | 27837 | 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 | ||||
138712 | 1 | 27838 | 207052882 | actions/checkout@v2 | |||||
138715 | 4 | 27838 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
138716 | 5 | 27838 | 207052882 | Run tests | pytest | ||||
138717 | 1 | 27839 | 207052882 | actions/checkout@v2 | |||||
138720 | 4 | 27839 | 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
138721 | 5 | 27839 | 207052882 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138722 | 1 | 27840 | 207052882 | actions/checkout@v2 | Check out repo | ||||
138723 | 2 | 27840 | 207052882 | Update TOC | npx markdown-toc README.md -i | ||||
138724 | 3 | 27840 | 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 | ||||
138725 | 1 | 27841 | 207052882 | actions/checkout@v2 | |||||
138728 | 4 | 27841 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
138729 | 5 | 27841 | 207052882 | Run tests | pytest | ||||
138730 | 1 | 27842 | 248903544 | actions/checkout@v2 | |||||
138733 | 4 | 27842 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138734 | 5 | 27842 | 248903544 | Run tests | pytest | ||||
138735 | 1 | 27843 | 248903544 | actions/checkout@v2 | |||||
138738 | 4 | 27843 | 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
138739 | 5 | 27843 | 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138740 | 1 | 27844 | 248903544 | actions/checkout@v2 | |||||
138743 | 4 | 27844 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138744 | 5 | 27844 | 248903544 | Run tests | pytest | ||||
138745 | 1 | 27845 | 197882382 | actions/checkout@v2 | |||||
138748 | 4 | 27845 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138749 | 5 | 27845 | 197882382 | Run tests | pytest | ||||
138750 | 1 | 27846 | 197882382 | actions/checkout@v2 | |||||
138753 | 4 | 27846 | 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
138754 | 5 | 27846 | 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138755 | 1 | 27847 | 197882382 | actions/checkout@v2 | |||||
138758 | 4 | 27847 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138759 | 5 | 27847 | 197882382 | Run tests | pytest | ||||
138760 | 1 | 27848 | 213286752 | actions/checkout@v3 | |||||
138762 | 3 | 27848 | 213286752 | Install dependencies | pip install '.[test]' | ||||
138763 | 4 | 27848 | 213286752 | Run tests | pytest | ||||
138764 | 1 | 27849 | 213286752 | actions/checkout@v3 | |||||
138766 | 3 | 27849 | 213286752 | Install dependencies | pip install setuptools wheel twine build | ||||
138767 | 4 | 27849 | 213286752 | Publish | python -m build twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138768 | 1 | 27850 | 213286752 | actions/checkout@v3 | |||||
138770 | 3 | 27850 | 213286752 | Install dependencies | pip install '.[test]' | ||||
138771 | 4 | 27850 | 213286752 | Run tests | pytest | ||||
138772 | 1 | 27851 | 205429375 | actions/checkout@v3 | |||||
138774 | 3 | 27851 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
138775 | 4 | 27851 | 205429375 | Run tests | pytest | ||||
138776 | 1 | 27852 | 205429375 | actions/checkout@v3 | |||||
138778 | 3 | 27852 | 205429375 | Install dependencies | pip install setuptools wheel twine | ||||
138779 | 4 | 27852 | 205429375 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138780 | 1 | 27853 | 205429375 | actions/checkout@v3 | |||||
138782 | 3 | 27853 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
138783 | 4 | 27853 | 205429375 | Run tests | pytest | ||||
138784 | 1 | 27854 | 206156866 | actions/checkout@v2 | |||||
138787 | 4 | 27854 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138788 | 5 | 27854 | 206156866 | Run tests | pytest | ||||
138789 | 1 | 27855 | 206156866 | actions/checkout@v2 | |||||
138792 | 4 | 27855 | 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
138793 | 5 | 27855 | 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138794 | 1 | 27856 | 206156866 | actions/checkout@v2 | Check out repo | ||||
138795 | 2 | 27856 | 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
138796 | 3 | 27856 | 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 | ||||
138797 | 1 | 27857 | 206156866 | actions/checkout@v2 | |||||
138800 | 4 | 27857 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138801 | 5 | 27857 | 206156866 | Run tests | pytest | ||||
138802 | 1 | 27858 | 107914493 | actions/checkout@v3 | |||||
138804 | 3 | 27858 | 107914493 | Install dependencies | pip install datasette-publish-vercel | ||||
138805 | 4 | 27858 | 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 }}" } |