从开发人员那里获取代码并安全地将其投入生产? [英] take code from a developer and safely deliver it into production?

查看:88
本文介绍了从开发人员那里获取代码并安全地将其投入生产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为即将到来的采访设置了这个采访



问题:如何设计一个交付管道,它将从开发人员那里获取代码并安全地将其投入生产?



在你的回答中考虑以下内容:

- 源控制系统

- 测试代码级别(单位测试,安全测试和集成测试)

- Artefact存储库

- 虚拟机

- 供应和配置代码

- 预生产测试

- 持续交付/部署

- 可变/不可变基础设施



如果有人可以帮助我,这将是伟大的!

I have been set this interview for an upcoming interview

Question: How to design a delivery pipeline that will take code from a developer and safely deliver it into production?

Consider the following in your answer:
- Source Control Systems
- Levels of testing code (Unit Testing, security testing and integration testing)
- Artefact Repositories
- Virtual Machines
- Provisioning and Config as code
- Pre production testing
- Continuous delivery/deployment
- Mutable/Immutable infrastructure

If somebody could help me with this it would be great!

推荐答案

我们不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样难!



面试问题是作业:如果不能做到这一点,你<怎么样? / b>去做这个我们的知识可能会得到你吗?
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

And interview questions are homework: if you can't do this, how are you going to do the job our knowledge might get you?


请看我对问题和解决方案的评论1.



你的有效答案是:对不起,我的能力不够



除了一个简单的事实,诚实是一个体面的人的唯一选择,这也是最好的策略。你想浪费时间,伤害你的声誉,做你不准备的工作,很可能失败,寻找另一份工作吗?



我永远不会接受那些多项选择题。这些问题仅仅是教育应该便宜的观点(对于学校而言,对学生不那么肯定);这种方法已经搞砸了教育和许多国家,并且不断搞砸了。最柔和的解决方案是如果我只是解释我对这种组织的理解呢?。更难的解决方案是站起来说非常感谢你,我必须去;对不起,再见。例如,如果你对公司有不好的感觉,这也是有道理的。



问题实际上是非常糟糕,因为它可能表明不正确的伪形式粗心方法。很有可能在部署经理对开发一无所知的公司中实践,而这些开发通常无处可去。健康的方法是整体,人们在项目本身的架构中设计开发和部署管道。 项目应从一开始就设计部署部分,从初始阶段(第一阶段)开始。此外,开发人员不是从那时起接受代码的蜜蜂。它们是定义如何将部署安装到管道以及整个管道中的主要参与者。 所有开发者都应该参加,而不仅仅是老年人。等等......



这个问题表明了错误的做法。面试的主要挑战之一不是回答问题,而是试图理解这些人真正需要的东西,动态分析,能够建议你帮助解决问题并决定下一步该做什么。







很抱歉,我只描述了面试时可能出现的情况,或者在准备期间预见的情况对他们来说,因为你的情况对我来说并不清楚;我真的不明白你的学习是怎么来的。因此,请注意适用的部分。我想我给了你基本的想法。欢迎您提出以下问题。



另外,请理解软件开发管理和产品管理的整体经验几乎不能通过一两个快速答案传递。我们只能讨论一些特定的方面或非常一般的想法。



-SA
Please see my comments to the question and Solution 1.

The valid answer for you would be: "sorry, I'm not competent enough".

In addition to the simple fact that being honest is the only choice for a decent person, this is also the best strategy. Do you want to waste time and hurt your reputation and doing the job you are not prepared for, very likely failing it, looking for another job?

I would not ever accept those multiple-choice questions. Such questions is a mere consequence of the idea that education should be cheap (for schools, not so sure about students); this approach already screwed up education and many countries and keeps screwing up even more. The softest resolution would be "what if I just explain my understanding of such organization?". The harder resolution would be to stand up say "thank you very much, I have to go; sorry, good bye". It also makes certain sense, if, for example, you have a bad feeling about the company.

The question is actually quite bad, as it could indicate improper pseudo-formalized careless approach. It's pretty likely it is practiced in the companies where "deployment managers" are ignorant about development, which usually goes nowhere. The healthy approach is holistic, where people devise the development and deployed pipeline in the architecture of the project itself. Projects should be designed with deployment part from the very beginning, starting from the inception phase (very first one). Also, developers are not honey bees to "take code" from then. They are the major players defining how deployment is mounted into the pipeline, as well as the whole pipeline. All the developers should participate, not only the seniors. And so on…

The question is some indication of wrong approach. One of the main challenge at the interviews is not answering questions, but trying to understand what those people really need, analyzing it on the fly, to be able to suggest you help right to the point and decide what to do next.



Sorry that I only describe the situations which may come at job interviews, or foreseen during preparations for them, because your situation is not clear to me; I don't really understand how it could come from your study. So, please feel to pay attention for the parts which apply. I think I gave you the basic ideas. Your follow-up questions will be welcome.

Also, please understand that the whole experience of software development management and product management hardly can be passed in one or two Quick Answers. We can discuss only some particular aspects or very general ideas.

—SA


这篇关于从开发人员那里获取代码并安全地将其投入生产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆