Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cog init to include a GitHub Actions workflow file #1671

Merged
merged 3 commits into from
May 21, 2024

Conversation

zeke
Copy link
Member

@zeke zeke commented May 17, 2024

This PR adds a "Push to Replicate" GitHub Actions workflow file to the cog init template, so users will have a smoother path to continuous delivery.

The workflow is configured to start users off with a manual "repository dispatch" so pushes are explicit and intentional. It also has some commented-out settings to support a more continuous workflow once they've kicked the tires, plus some pointers for common issues like running out of disk space.

$ ~/go/bin/cog init     

Setting up the current directory for use with Cog...

✅ Created /Users/z/Desktop/cog-init-test/cog.yaml
✅ Created /Users/z/Desktop/cog-init-test/predict.py
✅ Created /Users/z/Desktop/cog-init-test/.dockerignore
✅ Created /Users/z/Desktop/cog-init-test/.github/workflows/push.yaml

Done! For next steps, check out the docs at https://cog.run/getting-started

@zeke zeke requested review from mattt, corywilkerson, technillogue and a team May 17, 2024 17:59
@zeke zeke force-pushed the update-cog-init-to-include-an-actions-workflow-file branch from 62651a1 to 1da2d92 Compare May 17, 2024 18:03
@yorickvP
Copy link
Contributor

The test is failing because of formatting.

@zeke zeke force-pushed the update-cog-init-to-include-an-actions-workflow-file branch from 0085eb4 to 5fef87a Compare May 20, 2024 20:31
@zeke zeke changed the title update cog init to include an actions workflow file update cog init to include a GitHub Actions workflow file May 20, 2024
@zeke zeke requested a review from yorickvP May 20, 2024 21:31
Co-authored-by: technillogue <technillogue@gmail.com>
Signed-off-by: Zeke Sikelianos <zeke@sikelianos.com>
@zeke zeke merged commit c6e75bc into main May 21, 2024
15 checks passed
@zeke zeke deleted the update-cog-init-to-include-an-actions-workflow-file branch May 21, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants