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

feat: automate Crossplane generation process #26

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

yfodil
Copy link
Contributor

@yfodil yfodil commented Dec 5, 2023

No description provided.

@yfodil yfodil added the enhancement New feature or request label Dec 5, 2023
@yfodil yfodil self-assigned this Dec 5, 2023
@remyleone remyleone added the priority:high New features label Jan 11, 2024
@@ -11,7 +11,7 @@ on:

env:
# Common versions
GO_VERSION: '1.19'
GO_VERSION: '1.21'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you try in go 1.22 if it is possible?

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you try in 1.22 ?


const initialConfigTemplate = `package {{ .PackageName }}

import "github.com/upbound/upjet/pkg/config"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could all those templates be put in a single tmpl file? In addition to potential syntaxical coloration, it could also be helpful to have a unified view of what the template look like.
Feel free to use additional templating function if useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants