Skip to content

Add default Python starter kit and release CI packaging#112

Open
posborne wants to merge 1 commit into
mainfrom
posborne/starter-templates-as-release-artifacts
Open

Add default Python starter kit and release CI packaging#112
posborne wants to merge 1 commit into
mainfrom
posborne/starter-templates-as-release-artifacts

Conversation

@posborne
Copy link
Copy Markdown
Member

@posborne posborne commented Jun 3, 2026

Having starter kits (just the default for now) available as release artifacts provides a path for integration with the fastly CLI without creating additional repos.


For now, this is primarily exploring a concept and as a holding place for discussion of this approach as well as what we might want in the default SDK. I tested this locally as follows with my fork of the CLI and was able to initalize a project successfully (against a local http server).

I intentially do not include version numbers in the artifact names in order to support use of "latest" in the path as that is likely desired if to be directly integrated into the CLI. Depending on how we like the pattern, dynamic template discovery seems feasible as well.

CLI output from local test run
$ ../cli/fastly compute init --language python --from 'http://localhost:8000/starter-kit-python-default.zip'
Creating a new Compute project (using --from to locate package template).

Press ^C at any time to quit.

The current directory isn't empty. Are you sure you want to initialize a Compute project in /Users/paul.osborne/Projects/Fastly/new-python? [y/N] y

✓ Validating directory permissions

Name: [new-python] 

Description: 

Author (email): [...] 

✓ Fetching package template

✓ Reading fastly.toml
✓ Setting package name in manifest to "new-python"
✓ Setting description in manifest
✓ Setting authors in manifest to 'osbpau@gmail.com'
✓ Setting language in manifest to 'python'
✓ Saving manifest changes
✓ Initializing package

Initialized package new-python to:
        .../new-python

To publish the package (build and deploy), run:
        fastly compute publish

To learn about deploying Compute projects using third-party orchestration tools, visit:
        https://www.fastly.com/documentation/guides/integrations/orchestration

SUCCESS: Initialized package new-python

Having starter kits (just the default for now) available as
release artifacts provides a path for integration with the
fastly CLI without creating additional repos.
@posborne posborne requested review from erikrose and kpfleming June 3, 2026 20:20
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.

1 participant