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

Add circleci config generate command #948

Merged

Conversation

skaasten
Copy link
Contributor

@skaasten skaasten commented Jun 9, 2023

Checklist

=========

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have checked for similar issues and haven't found anything relevant.
  • This is not a security issue (which should be reported here: https://circleci.com/security/)
  • I have read Contribution Guidelines.

Internal Checklist

  • I am requesting a review from my own team as well as the owning team
  • I have a plan in place for the monitoring of the changes that I am making (this can include new monitors, logs to be aware of, etc...)

Changes

=======

  • Import circleci-config library
  • Add new command for generating a config based on repo contents
  • Update golangci-lint version to v1.51.0, required to support go 1.20 features

Rationale

=========

Enable users to automatically generate a basic circleci config for select supported frameworks

polymeris and others added 3 commits June 9, 2023 15:54
This library implements config generation (aka Inference)
This command takes a directory path and prints
an automatically generated CircleCI config for
the codebase in that directory to stdout
@skaasten skaasten requested a review from a team as a code owner June 9, 2023 19:25
@skaasten skaasten changed the title Add circleci config generate config Add circleci config generate command Jun 9, 2023
Required to support go 1.20
Copy link
Contributor

@JulesFaucherre JulesFaucherre left a comment

Choose a reason for hiding this comment

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

Woah! tested it, amazing feature! Would be very glad to talk about it! Great work

@JulesFaucherre JulesFaucherre merged commit 26ed5cd into CircleCI-Public:develop Jun 12, 2023
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.

4 participants