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

NER new setup instructions documentation #533

Merged
merged 6 commits into from
May 22, 2023

Conversation

harjinder7
Copy link
Contributor

JIRA Ticket Number

JIRA TICKET: ML-3625

Description of change

Documentation for setting up NER in dev is added. Instructions are mention how to setup NER with help of docker and setup elastic-search for entities.

@harjinder7 harjinder7 self-assigned this May 9, 2023
@harjinder7 harjinder7 requested a review from a team May 9, 2023 11:17
@haptik-deployment
Copy link

👍 No lint errors found.

@haptik-deployment
Copy link

UNIT TESTS HAVE PASSED... Good To Merge

@haptik-deployment
Copy link

👍 No lint errors found.

Copy link
Contributor

@naseem-shaik naseem-shaik left a comment

Choose a reason for hiding this comment

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

Move the files outside the docker folder after verifying if there is any reason why we need to keep them inside and copy them out again.

Review the documentation for minor errors. (link to notion etc)

  1. Review and launch
  2. Update the bot calibrator with the latest develop pull
  3. Share with the engineering team steps on how to update and redeploy if needed.

@haptik-deployment
Copy link

👍 No lint errors found.

@harjinder7 harjinder7 requested a review from naseem-shaik May 17, 2023 05:36
EXPOSE 8081
ADD . /app
RUN chmod +x /app/entrypoint.sh
CMD /app/entrypoint.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename the entrypoint.sh file or confirm with Jaspreet that it won't cause name conflict on staging or production.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Confirmed with Jaspreet, there won't be no conflict on staging and prod.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay.

Copy link
Contributor

@naseem-shaik naseem-shaik left a comment

Choose a reason for hiding this comment

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

Remove unrequired files from dockers folder, if nothing is needed inside the docker folder, remove it entirely.

@haptik-deployment
Copy link

👍 No lint errors found.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@naseem-shaik naseem-shaik left a comment

Choose a reason for hiding this comment

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

LGTM. Please ensure that these steps are tested on dev setup once.

@harjinder7
Copy link
Contributor Author

Unit test case pass during dev testing

image

Copy link
Contributor

@HiteshC6595 HiteshC6595 left a comment

Choose a reason for hiding this comment

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

We have removed docker folder from NER setup. As per devops the NER setup file for Staging and prod are getting downloaded from S3 so there no need of these files anymore. Also we ran unit testcases and entity testing suite on these changes and it got passed successfully hence approving the PR

Copy link
Contributor

@HiteshC6595 HiteshC6595 left a comment

Choose a reason for hiding this comment

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

We have removed docker folder from NER setup. As per devops the NER setup file for Staging and prod are getting downloaded from S3 so there no need of these files anymore. Also we ran unit testcases and entity testing suite on these changes and it got passed successfully hence approving the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants