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

kubernetes: dynamic file name based on deploy_group permalink #4085

Closed
wants to merge 1 commit into from

Conversation

a7i
Copy link
Contributor

@a7i a7i commented Dec 18, 2023

Note: Samson is a public repo, do not include Zendesk-internal information, urls, etc.

  • Add description: Provide the ability to perform dynamic file name substitution based on deploy_group permalink
  • Add screenshots when changing the UI ❌
  • Add unit tests ✔️

References

  • Jira link:

Risks

  • Low: only impacts new apps with this new pattern in the file name

@a7i a7i requested review from a team and grosser as code owners December 18, 2023 15:54
@a7i a7i force-pushed the amir/deploy-group-permalink branch 3 times, most recently from 20b34c8 to 9c8414a Compare December 18, 2023 16:38
@@ -164,6 +164,7 @@ def role_config_file(reference, deploy_group:, project: project(), **args) # rub
file = config_file
if deploy_group && dynamic_folders?
file = file.
sub('$deploy_group_permalink', deploy_group.permalink).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

it has to come before $deploy_group otherwise it will replace it to pod998_permalink

Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
@a7i a7i force-pushed the amir/deploy-group-permalink branch from 9c8414a to e66f2a1 Compare December 18, 2023 16:49
Copy link
Contributor

@grosser grosser left a comment

Choose a reason for hiding this comment

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

kinda hate that we need it ... but not too bad ...

@a7i
Copy link
Contributor Author

a7i commented Jan 13, 2024

wasn't needed so closing

@a7i a7i closed this Jan 13, 2024
@a7i a7i deleted the amir/deploy-group-permalink branch January 13, 2024 01:50
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.

None yet

2 participants