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

[init_cfg.json] Maintain a separate init_cfg.json.j2 template file #4092

Merged
merged 7 commits into from
Feb 7, 2020
Merged

[init_cfg.json] Maintain a separate init_cfg.json.j2 template file #4092

merged 7 commits into from
Feb 7, 2020

Conversation

yozhao101
Copy link
Contributor

- What I did
We created a separate init_cfg.json.j2 file instead of generating it in the sonic_debian_extension.j2. After that, we can put new configuration info into file such as the auto-restart feature of each docker container we introduced recently.

- How I did it
Remove the part of code from sonic_debian_extension.j2 and put it in new file init_cfg.json.j2.

- How to verify it

this file using the content from sonic_debian_extension.j2.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
files/build_templates/sonic_debian_extension.j2 Outdated Show resolved Hide resolved
files/build_templates/init_cfg.json.j2 Outdated Show resolved Hide resolved
@jleveque jleveque changed the title [init_cfg.json] Maintain a separete init_cfg.json.j2 file. [init_cfg.json] Maintain a separate init_cfg.json.j2 template file Feb 1, 2020
generate init_cfg.json to line 269 in sonic_debian_extension.j2.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
files/build_templates/sonic_debian_extension.j2 Outdated Show resolved Hide resolved
files/build_templates/init_cfg.json.j2 Outdated Show resolved Hide resolved
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
stepanblyschak
stepanblyschak previously approved these changes Feb 3, 2020
files/build_templates/init_cfg.json.j2 Outdated Show resolved Hide resolved
files/build_templates/init_cfg.json.j2 Outdated Show resolved Hide resolved
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
@jleveque
Copy link
Contributor

jleveque commented Feb 3, 2020

Retest vs please

@yozhao101
Copy link
Contributor Author

Retest vsimage please.

@jleveque
Copy link
Contributor

jleveque commented Feb 4, 2020

Retest vsimage please

@lguohan
Copy link
Collaborator

lguohan commented Feb 7, 2020

retest vsimage please

@jleveque jleveque merged commit 3bb61ab into sonic-net:master Feb 7, 2020
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants