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

Various Micronaut-related cleanup items #17611

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

jdpgrailsdev
Copy link
Contributor

What

  • Add local execution configuration
  • Better startup identification

How

  • Add Gradle bits to be able to execute locally/outside of Docker for quick testing
  • Use different port from airbyte-workers
  • Add banner

Recommended reading order

  1. build.gradle
  2. application.yaml
  3. micronaut-banner.txt

@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets October 5, 2022 15:34 Inactive
@@ -31,6 +31,19 @@ application {
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
}

Properties env = new Properties()
rootProject.file('.env.dev').withInputStream { env.load(it) }
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we getting .env.dev and not .env?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gosusnp The theory is that this is being used for quick, local testing and therefore use the dev version. However, if the .env.dev is not reliable, etc, this could easily be switched.

@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets October 7, 2022 15:31 Inactive
@jdpgrailsdev jdpgrailsdev merged commit e95a983 into master Oct 11, 2022
@jdpgrailsdev jdpgrailsdev deleted the jonathan/cron-configuration branch October 11, 2022 14:14
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
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