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

Chore: create pipeline #6

Merged
merged 4 commits into from
Nov 18, 2021
Merged

Chore: create pipeline #6

merged 4 commits into from
Nov 18, 2021

Conversation

ciarams87
Copy link
Member

This creates the initial pipeline to enable linting, unit testing (although there are no tests yet), codeQL, fossa (including adding the badge to the README), dependabot, and trivy security scanning.

It also adds new linting and formatting make targets, and fixes some linting errors that showed up once the tool was ran.

Happy to add/ remove/ amend as needed!

Makefile Outdated Show resolved Hide resolved
Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

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

👍 (pending f5yacobucci's comments)

@ciarams87 ciarams87 force-pushed the chore/create-pipeline branch 3 times, most recently from fce5f02 to b760c7e Compare November 16, 2021 11:18
@ciarams87
Copy link
Member Author

Lint and unit-tests are failing with "undeclared name: GatewayV1alpha1Client (typecheck)" in the generated client code @pleshakov @f5yacobucci - I'm not sure how to rectify this.

@pleshakov
Copy link
Contributor

pleshakov commented Nov 16, 2021

@ciarams87 this is probably because that missing type is defined here https://github.com/nginxinc/nginx-gateway-kubernetes/blob/b760c7e749b0001d54a8676b1a853e25ad9ce991/pkg/client/clientset/versioned/typed/v1alpha1/_client.go , which starts with _, which gets ignored according to https://github.com/golang/go/blob/master/src/go/build/build.go#L530

I will prepare a fix

update: @f5yacobucci is working on the fix

@ciarams87 ciarams87 merged commit e6019d0 into main Nov 18, 2021
@ciarams87 ciarams87 deleted the chore/create-pipeline branch November 18, 2021 15:58
@pammecrandall pammecrandall added the chore Pull requests for routine tasks label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants