CI/CD eksamenspg Flashcards

1
Q

a. Explain the overall concept of CI(Continuous Integration)

A

Handler om at udviklere løbende sender deres kode til Git (f.eks. GitHub), og at koden bliver bygget og testet automatisk, så fejl fanges tidligt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

a. Explain the overall concept of CD(Continuous Deployment)

A

Handler om at den testede kode automatisk bliver deployet (udrullet) til fx en server eller cloud-platform, f.eks. Azure eller Heroku.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

b. Explain how you have used Git in your last project

A

brugte vi Git til versionsstyring:
* Vi lavede branches til nye features
* Vi brugte commit og push til at sende kode til GitHub
* Vi lavede pull requests for at få godkendt kode
* GitHub Actions byggede og testede koden automatisk
* Det gav struktur og samarbejde i teamet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

c. What is the role of Maven?

A

maven er en pom fil, men også et program

“et build tøj, og et program(bruges i github actions)”
tester at din pom fil er i orden og henter dine dependencies i skyen, kan køre dine unit tests, kan også lave en jar fil”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

d. What is the role of Github Actions?

A

et værktøj der gør det muligt at automatisere workflows direkte fra GitHub.

I vores projekt brugte vi det til at:
* Bygge koden automatisk når vi pusher
* Køre tests
* Deploye til Azure hvis alt er okay

Det sparer tid og fanger fejl automatisk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

e. In an ideal world, explain how to do CICD on a full stack project

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Ekstra

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly