{"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692340275", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692340275, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjM0MDI3NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T22:09:35Z", "updated_at": "2020-09-14T22:09:35Z", "author_association": "OWNER", "body": "I'm going to cross my fingers and hope that this works - I don't want to leave this issue open until Datasette 0.50.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692339645", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692339645, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzOTY0NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T22:07:58Z", "updated_at": "2020-09-14T22:07:58Z", "author_association": "OWNER", "body": "I shipped the Docker build manually by running the following in a tmate session:\r\n\r\n docker login\r\n # Typed my username and password interactively\r\n export REPO=datasetteproject/datasette \r\n docker build -f Dockerfile -t $REPO:0.49 . \r\n docker tag $REPO:0.49 $REPO:latest\r\n docker push $REPO \r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692337397", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692337397, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzNzM5Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T22:01:56Z", "updated_at": "2020-09-14T22:01:56Z", "author_association": "OWNER", "body": "I'm going to switch to using this logic to decide if I should ship to Docker: https://github.community/t/release-prerelease-action-triggers/17275/2\r\n\r\n if: \"!github.event.release.prerelease\"", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692336564", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692336564, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzNjU2NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T21:59:40Z", "updated_at": "2020-09-14T21:59:40Z", "author_association": "OWNER", "body": "Using https://github.com/marketplace/actions/debugging-with-tmate to manually submit a new build from within an interactive GitHub Actions session.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692332430", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692332430, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzMjQzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T21:48:59Z", "updated_at": "2020-09-14T21:48:59Z", "author_association": "OWNER", "body": "So now I've released Datasette 0.49 but failed to push a new Docker image. This is bad, and I need to fix it.\r\n\r\nI'd like to push to Docker from GitHub Actions, so I think I'm going to create a one-off workflow task for doing that.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692331919", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692331919, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzMTkxOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T21:47:39Z", "updated_at": "2020-09-14T21:47:39Z", "author_association": "OWNER", "body": "I bet that's because the `github.ref` actually looks like this:\r\n\r\n`${GITHUB_REF#refs/tags/}`\r\n\r\nAnd the `refs/tags/` part has an `a` in it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-692331349", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 692331349, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MjMzMTM0OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T21:46:11Z", "updated_at": "2020-09-14T21:46:11Z", "author_association": "OWNER", "body": "Just release Datasette 0.49 - which shipped to PyPI just fine but skipped the Docker step for some reason!\r\n\r\nhttps://github.com/simonw/datasette/runs/1114585275?check_suite_focus=true\r\n\r\n\"Release_0_49_\u00b7_simonw_datasette_c024952\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-691781345", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 691781345, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MTc4MTM0NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T02:53:25Z", "updated_at": "2020-09-14T02:53:49Z", "author_association": "OWNER", "body": "That worked: https://github.com/simonw/datasette/runs/1110040212?check_suite_focus=true ran and deployed https://pypi.org/project/datasette/0.49a1/ to PyPI but it skipped the push to Docker step because there was an \"a\" in the tag.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-691779693", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 691779693, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MTc3OTY5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T02:46:39Z", "updated_at": "2020-09-14T02:46:39Z", "author_association": "OWNER", "body": "I think those should be single quoted.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-691779510", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 691779510, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MTc3OTUxMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T02:45:53Z", "updated_at": "2020-09-14T02:45:53Z", "author_association": "OWNER", "body": "This bit here: https://github.com/simonw/datasette/blob/c18117cf08ad67c704dab29e3cb3b88f1de4026b/.github/workflows/publish.yml#L58-L62", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-691779361", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 691779361, "node_id": "MDEyOklzc3VlQ29tbWVudDY5MTc3OTM2MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-14T02:45:04Z", "updated_at": "2020-09-14T02:45:04Z", "author_association": "OWNER", "body": "Package deploys are still broken, just got this error trying to ship 0.49a1: https://github.com/simonw/datasette/actions/runs/253099665\r\n\r\n> The workflow is not valid. .github/workflows/publish.yml (Line: 61, Col: 9): Unexpected symbol: '\"a\"'. Located at position 24 within expression: !(contains(github.ref, \"a\") || contains(github.ref, \"b\"))\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-675538586", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 675538586, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NTUzODU4Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-18T15:11:36Z", "updated_at": "2020-08-18T15:11:36Z", "author_association": "OWNER", "body": "I tested this new publish pattern (running the tests in parallel before the deploy step) on `github-to-sqlite` - skipping the Docker step - and it worked: https://github.com/dogsheep/github-to-sqlite/actions/runs/213809864", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-675253373", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 675253373, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NTI1MzM3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-18T05:10:17Z", "updated_at": "2020-08-18T05:10:17Z", "author_association": "OWNER", "body": "I'll close this after the next release successfully goes out.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-675251613", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 675251613, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NTI1MTYxMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-18T05:05:15Z", "updated_at": "2020-08-18T05:05:15Z", "author_association": "OWNER", "body": "I think this is ready. I'll only know for sure the first time I push a release through it though!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-674590583", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 674590583, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NDU5MDU4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-16T23:15:51Z", "updated_at": "2020-08-18T05:04:43Z", "author_association": "OWNER", "body": "This example of jobs depending on each other and sharing data via artifacts looks relevant: https://docs.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts#passing-data-between-jobs-in-a-workflow", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-675250280", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 675250280, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NTI1MDI4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-18T05:01:34Z", "updated_at": "2020-08-18T05:01:42Z", "author_association": "OWNER", "body": "I think `${GITHUB_REF#refs/tags/}` is the equivalent of `$TRAVIS_TAG`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-674589472", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 674589472, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NDU4OTQ3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-16T23:05:57Z", "updated_at": "2020-08-16T23:05:57Z", "author_association": "OWNER", "body": "When I figure this out I'll update the https://github.com/simonw/datasette-plugin/blob/main/datasette-%7B%7Bcookiecutter.hyphenated%7D%7D/.github/workflows/publish.yml default workflow to do this - right now it runs the tests once on just a single version of Python as part of the package deploy to PyPI step.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-674589321", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 674589321, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NDU4OTMyMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-16T23:04:34Z", "updated_at": "2020-08-16T23:04:34Z", "author_association": "OWNER", "body": "https://docs.github.com/en/actions/getting-started-with-github-actions/core-concepts-for-github-actions#job\r\n\r\n> A set of steps that execute on the same runner. You can define the dependency rules for how jobs run in a workflow file. Jobs can run at the same time in parallel or run sequentially depending on the status of a previous job. For example, a workflow can have two sequential jobs that build and test code, where the test job is dependent on the status of the build job. If the build job fails, the test job will not run.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-674589035", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 674589035, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NDU4OTAzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-16T23:02:23Z", "updated_at": "2020-08-16T23:02:23Z", "author_association": "OWNER", "body": "I'd like to set these up as different workflows that depend on each other, if that's possible.\r\n\r\nI want to start three test runs in parallel (on three different Python versions), then if all three pass kick off the PyPI push (without running more tests), then if that passes do the Docker build and push.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/940#issuecomment-674566618", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/940", "id": 674566618, "node_id": "MDEyOklzc3VlQ29tbWVudDY3NDU2NjYxOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-16T19:20:58Z", "updated_at": "2020-08-16T19:20:58Z", "author_association": "OWNER", "body": "I need to figure out how to build and push the Docker image on releases. Here's the Travis code for that: https://github.com/simonw/datasette/blob/52eabb019d4051084b21524bd0fd9c2731126985/.travis.yml#L38-L47", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 679808124, "label": "Move CI to GitHub Issues"}, "performed_via_github_app": null}