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
[TD-918]: Implementing releng bundle using gromit policy with multiple version support. #26
Conversation
For files that can have multiple components, there can be a dir named `<file>.d` that can contain template definitions for the file. All of this would be rendered together.
This approach is fine. We'll have to fix the tests though. I'll work on applying auth from TD-1025 in this PR. |
Also code and policy config changes for additional values required.
All the files managed by |
|
Created one here: TykTechnologies/tyk#4148 |
Release successful in this PR, after the fix above. |
Please update this PR to update Dockerfile.std as suggested by @titpetric in TykTechnologies/tyk#4157 |
In tyk-ci, the el7 templates were managed by a special case for el7 file in the generation script itself, which avoided having to maintain a lot of redundant templates. But here we've offloaded the el7 changes to templates mainly due to the inability to include templates by calling filenames. This necessitates keeping some redundant templates, but avoids having to maintain a special case in the code for `el7` files/templates.
@alephnull I've also added the el7 changes in this PR itself, since it's only a few files, and that will also be needed to merge TykTechnologies/tyk#4157. Will additionally add the latest dockerfile changes. |
Sounds good @asutosh. The plan is,
|
To align with the latest changes - upgrade to bullseye.
We don't have slim images anymore, so no more static builds.
We always used to checkout the default branch(master) on InitGit, but when we want to test making PRs against a release branch or any other branchm this assumption won't work. So always checkout the given branch if given branch isn't the default branch.
Manifests are only pushed for dockerhub, so cloudsmith default tag is set to amd64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge when convenient.
@asutosh Lets setup a pairing session to fix these tests. Since we are going to use gromit in the short-term, these tests need to be fixed. |
This PR will
Will add support for multiple versions(from within the templates)=> To be done in a subsequent PR.