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

feat: add rockcraft oci image #114

Merged
merged 5 commits into from
Aug 14, 2024

Conversation

matthew-hagemann
Copy link
Collaborator

@matthew-hagemann matthew-hagemann commented Aug 14, 2024

Adds rockcraft.yaml and updates pipeline to build and upload it to the ghcr

To clear out some immediate issues with security vulnerabilities I regenerated the Cargo.lock but will need to revisit updating some dependencies that introduce breaking changes later.

@matthew-hagemann matthew-hagemann marked this pull request as ready for review August 14, 2024 15:36
@matthew-hagemann matthew-hagemann self-assigned this Aug 14, 2024
rockcraft.yaml Outdated
APP_LOG_LEVEL: info
APP_NAME: ratings
APP_PORT: 18080
APP_JWT_SECRET: "foo"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm assuming this is a placeholder, but can we have a comment explaining how this is used / overwritten when deployed please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can't actually remember why I left in placeholder originally. I inject a number of ENV vars in the Charm (including most of these), and will know before I run the container all of these variables I need. Let me remove them for now, move this to the Charm and leave out placeholders for readability.

@matthew-hagemann matthew-hagemann merged commit 0076fe1 into ubuntu:main Aug 14, 2024
3 checks passed
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.

2 participants