Skip to content

Implement Github Workflow generation for building and deploying a function to a k8 cluster. #3256

@twoGiants

Description

@twoGiants

Summary

Extend the func cli with the capability to generate a GitHub Actions workflow setup (with yaml file and directory) in the given function repo.

The workflow should contain:

  • a checkout of the code
  • get/setup of the func cli using the knative-func-action
  • and running func deploy|func deploy --remote

The user should have the option to create the workflow with different configurations for a local build in the Github action runner or a remote on-cluster build.

Subtask of #2024.

Resources

Pull Requests

  1. Fix typos in comments and documentation across the codebase. #3257
  2. Refactor: extract common loader/saver interfaces (Github Workflow generation prep). #3262
  3. Add func config ci command skeleton. #3266
  4. Feature: Implement GitHub workflow generation for func config ci. #3295
  5. Feature: Add registry login to CI workflows. #3297
  6. Feature: Add remote build and workflow dispatch options to CI workflows. #3128
  7. ...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions