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

Create a run minikube script #363

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

alexandruuBytex
Copy link
Contributor

Description

Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to
related issues, other PRs, or technical references.

Note that by not including a description, you are asking reviewers to do extra work to understand the context of this
change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.

Type of Change

  • Bug Fix
  • [ X ] New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2023

Codecov Report

Merging #363 (ee76a8f) into main (8332efd) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main     #363   +/-   ##
=======================================
  Coverage   14.39%   14.39%           
=======================================
  Files          48       48           
  Lines        2771     2771           
=======================================
  Hits          399      399           
  Misses       2354     2354           
  Partials       18       18           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

myungjin
myungjin previously approved these changes Mar 8, 2023
Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

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

Please consider to address my comment.

.github/workflows/presubmits.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

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

please consider my comments.

.golangci.yml Outdated
@@ -9,6 +9,8 @@ run:
- internal/robustio
skip-files:
- ".*\\_test\\.go$"
- pkg/openapi/api_design_schemas.go
- pkg/openapi/api_jobs.go
Copy link
Contributor

Choose a reason for hiding this comment

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

This will remove these files from all linter rules. This is not desirable.
If you are doing this because there is pkg/openapi/helpers.go listed here, pkg/openapi/helpers.go is also wrongly placed. This is not the best example you can refer to.

My request was to selectively exclude these file only for dupl check.

Is it not possible to use exclude-rules? see https://github.com/cisco-open/flame/blob/main/.golangci.yml#L129-L132.

@@ -67,4 +67,4 @@ jobs:
go-version: 1.17.x

- name: golangci-lint
uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 # v3
uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 # v3
Copy link
Contributor

Choose a reason for hiding this comment

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

revert this change. Don't create this unnecessary change.

Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

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

please refer to my earlier comments.

Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

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

lgtm

@alexandruuBytex alexandruuBytex merged commit 6781965 into cisco-open:main Mar 13, 2023
alexandruuBytex added a commit that referenced this pull request Mar 13, 2023
alexandruuBytex pushed a commit to alexandruuBytex/flame that referenced this pull request Mar 15, 2023
Create a run minikube script (cisco-open#363)

* Create a run minikube script

* Remove the build-image command

* Configure golangci.yml to add the linter exceptions

* Revert changes from .golangci.yml

---------

Co-authored-by: Alex Ungurean <aungurea@cisco.com>

Move dataSpec and modelSpec to separate json files

Remove aggregators and trainers

Remove aggregators and trainers

Modify the test to respect the new structure
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.

3 participants