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

[HOLD] Pre-commit Fizz Validation #2286

Closed
wants to merge 1 commit into from
Closed

Conversation

pjdufour-truss
Copy link
Contributor

@pjdufour-truss pjdufour-truss commented Jun 14, 2019

Description

Requires: gobuffalo/fizz#54

This PR adds pre-commit validation for our fizz files. Requires an update to the fizz git repo.

Reviewer Notes

Is there anything you would like reviewers to give additional scrutiny?

Setup

make bin/fizz-validate
pre-commit run -a fizz-validate

Code Review Verification Steps

  • Code follows the guidelines for Logging
  • The requirements listed in
    Querying the Database Safely
    have been satisfied.
  • Any new migrations/schema changes:
    • Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
    • Have been communicated to #dp3-engineering
    • Secure migrations have been tested using scripts/run-prod-migrations
  • There are no aXe warnings for UI.
  • This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
  • Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
  • User facing changes have been reviewed by design.
  • Request review from a member of a different team.
  • Have the Pivotal acceptance criteria been met for this change?

References

None

Screenshots

None

@pjdufour-truss pjdufour-truss changed the title Precommit fizz Pre-commit Fizz Validation Jun 14, 2019
@codecov
Copy link

codecov bot commented Jun 14, 2019

Codecov Report

Merging #2286 into master will decrease coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2286      +/-   ##
==========================================
- Coverage   59.29%   59.06%   -0.24%     
==========================================
  Files         257      255       -2     
  Lines       14487    14396      -91     
==========================================
- Hits         8590     8502      -88     
+ Misses       4886     4879       -7     
- Partials     1011     1015       +4

Makefile Outdated
@@ -179,6 +179,9 @@ bin/callgraph: .check_go_version.stamp .check_gopath.stamp
bin/chamber: .check_go_version.stamp .check_gopath.stamp
go build -ldflags "$(LDFLAGS)" -o bin/chamber github.com/segmentio/chamber

bin/fizz-validate: .check_go_version.stamp .check_gopath.stamp
go build -ldflags "$(LDFLAGS)" -o bin/fizz-validate github.com/transcom/mymove/cmd/fizz-validate
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's move this down to the section on MilMove Targets which is where the other binaries from this project are.

Copy link
Contributor

@chrisgilmerproj chrisgilmerproj left a comment

Choose a reason for hiding this comment

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

🚀 - Please move the Make target but otherwise this is awesome stuff :)

@pjdufour-truss
Copy link
Contributor Author

Moved make target and pinged about merging PR to fizz.

Copy link
Contributor

@chrisgilmerproj chrisgilmerproj left a comment

Choose a reason for hiding this comment

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

🚀 - I'm interested to see what happens with the Fizz stuff

@pjdufour-truss pjdufour-truss changed the title Pre-commit Fizz Validation [HOLD] Pre-commit Fizz Validation Jun 19, 2019
@pjdufour-truss
Copy link
Contributor Author

We're going to ice this PR for a month (until July 19) to check for a fix to fizz.

@chrisgilmerproj
Copy link
Contributor

Closing until the issue with Fizz is resolved. Infra has a ticket to reopen this if it does.

@chrisgilmerproj chrisgilmerproj deleted the precommit_fizz branch September 30, 2019 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants