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

Jmservera/conditionaldeployment #19

Merged
merged 12 commits into from
Aug 10, 2024
Merged

Conversation

jmservera
Copy link
Owner

@jmservera jmservera commented Aug 7, 2024

This pull request includes several changes to the ocpp-server project, focusing on improving the Makefile structure, enhancing the Bicep infrastructure configuration, and updating dependencies.

Makefile and Script Improvements:

  • ocpp-server/Makefile: Refactored to delegate tasks to make/webapp.mk, simplifying the main Makefile and improving maintainability. [1] [2] [3]
  • ocpp-server/make/webapp.mk: Added new Makefile to handle web app-specific tasks, including publishing, restarting, and testing the web application.

Bicep Infrastructure Enhancements:

Dependency Updates:

The code changes in the appgw.bicep file update the host property of the appGw resource. It now checks the value of the isSecure variable and sets the host property accordingly. If isSecure is true, it uses the webHostName variable. Otherwise, it uses the defaultHostName property of the webApp resource. This change allows for more flexibility in configuring the host property based on the presence of a domain name.
…r the web app publishing that needs the resources to be already created in Azure. This allows to run the main makefile without having to retrieve the values with the az command when they are not needed
The code changes in the Makefile and webapp.mk files add a new target called "testvars" to retrieve test variables. This target allows developers to easily retrieve and display the test variables needed for running the OCPP server tests. It improves the development workflow by providing a convenient way to access the necessary test configuration.
…yment

The code changes in the main.bicep and webapp.bicep files add support for User Assigned Managed Identity in the deployment of the web app. This allows the web app to access the SSL certificate stored in the KeyVault.
@jmservera jmservera merged commit 22f8f7d into main Aug 10, 2024
6 checks passed
@jmservera jmservera deleted the jmservera/conditionaldeployment branch August 10, 2024 21:11
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.

1 participant