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

[backend/frontend] Add possibility to launch openbas agent on docker and linux image #1417

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

RomuDeuxfois
Copy link
Member

Goals

Add possibility to launch openbas agent on docker and linux image.

  • Add a new property to change the base agent url to deploy agent on docker
    openbas.agent-url=http://host.docker.internal:8080

  • Add a new internal documentation for Windows user to deploy openbas agent on linux image

    • Explain how to enable systemD on WSL
    • Provide a docker image based on ubuntu with systemD enable
    • Deploy it

@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Sep 11, 2024
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 31.41%. Comparing base (6922917) to head (f2aff09).
Report is 22 commits behind head on master.

Files with missing lines Patch % Lines
...enbas/rest/settings/response/PlatformSettings.java 0.00% 1 Missing ⚠️
...va/io/openbas/service/PlatformSettingsService.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1417      +/-   ##
============================================
- Coverage     31.42%   31.41%   -0.01%     
  Complexity     1407     1407              
============================================
  Files           525      525              
  Lines         13678    13680       +2     
  Branches        807      807              
============================================
  Hits           4298     4298              
- Misses         9182     9184       +2     
  Partials        198      198              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RomuDeuxfois
Copy link
Member Author

If anyone additional can go through the documentation and testing part, it would be great thx !


@JsonProperty("application_agent_url")
private String agentUrl;

Copy link
Contributor

@savacano28 savacano28 Sep 12, 2024

Choose a reason for hiding this comment

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

Do we need to add this to the properties file, or should we set it on the platform settings page?

Copy link
Member Author

Choose a reason for hiding this comment

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

In the application-dev.properties yes

Copy link
Member Author

Choose a reason for hiding this comment

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

Did you test it ?

@RomuDeuxfois RomuDeuxfois merged commit f16ced6 into master Sep 16, 2024
9 checks passed
@RomuDeuxfois RomuDeuxfois deleted the improvment/agent-docker branch September 16, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants