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

Week 6: Demo proposal #2393

Merged
merged 12 commits into from
Sep 9, 2024
Merged

Week 6: Demo proposal #2393

merged 12 commits into from
Sep 9, 2024

Conversation

joseflindkvist
Copy link
Contributor

@joseflindkvist joseflindkvist commented Sep 2, 2024

Assignment Proposal

Title

Measuring frequency of deployments

Names and KTH ID

Deadline

  • Week 6

Category

  • Demo

Description

The organization DORA comes out with the state of DevOps every year. Additionally, they provide a standard set of DevOps metrics used for evaluating process performance and maturity. These metrics provide information about how quickly DevOps can respond to changes, the average time to deploy code, the frequency of iterations, and insight into failures.

This demo will demonstrate how to easily and automatically measure frequency of deployments. The demo will utilise GitHub actions webhooks and a serverless rest API (AWS lambda) connected to a database (MongoDB). The demo will mainly focus on the GitHub actions webhooks, how to parse the payloads, and which events can trigger. It will not be about setting up AWS lambda.

_Relevance

Github actions are commonly used to have autonomy and create personalised workflows for the deployment processes. This demo can be used for any project regardless of if the application is hosted on vercel, heroku, AWS, etc.

https://www.atlassian.com/devops/frameworks/dora-metrics

This is a project proposal for an executable tutorial by Josef Lindkvist
and Tobias Ljunggren.
- Tobias Ljunggren ([email protected])
- Josef Lindkvist ([email protected])

- Task 1, Deadline 1 for async tasks: Oct 1 2024, 17h Stockholm time

- Executable Tutorial

Our executable tutorial will include end-to-end testing for webapps utilizing Playwright (https://playwright.dev/). It will be an executable demonstration on how you can use Playwright in different ways to enhance your end-to-end tests.
We will upload this tutorial to Google Colab.

_Relevance_

This tool is an end-to-end frontend testing framework that is widely
used in the industry. We believe that this tutorial could be useful for
CS students and others who are not very versed in software testing tools
for the web.
End-to-end testing for webapps using Playwright

- Tobias Ljunggren ([email protected])
- Josef Lindkvist ([email protected])

- Week 4

- Demo

Our demo will include end-to-end testing for web apps utilizing
Playwright (https://playwright.dev/). It will demonstrate a couple of
smart ways to use Playwright to enhance your end-to-end tests. In our
demo, we will start by showing how quickly and easily you can get
started with Playwright. We will then live-write a few frontend tests in
a pre-prepared repository. By running the tests, we will show how
Playwright works and utilizes cross-browser testing. Finally, we plan to
demonstrate how you can add Playwright testing to your CI pipeline with
GitHub Actions.

Plan B:
If something doesn't work during our demo we will have screen recordings
prepared to show.

This tool is an end-to-end frontend testing framework that is widely
used in the industry. We believe that this tutorial could be useful for
CS students and others who are not very versed in software testing tools
for the web.

End-to-end testing for webapps using Playwright

- Tobias Ljunggren ([email protected])
- Josef Lindkvist ([email protected])

- Week 4

- Demo

Our demo will include end-to-end testing for web apps utilizing Playwright (https://playwright.dev/). It will demonstrate a couple of smart ways to use Playwright to enhance your end-to-end tests. In our demo, we will start by showing how quickly and easily you can get started with Playwright. We will then live-write a few frontend tests in a pre-prepared repository. By running the tests, we will show how Playwright works and utilizes cross-browser testing. Finally, we plan to demonstrate how you can add Playwright testing to your CI pipeline with GitHub Actions.

Plan B:
If something doesn't work during our demo we will have screen recordings prepared to show.

This tool is an end-to-end frontend testing framework that is widely used in the industry. We believe that this tutorial could be useful for CS students and others who are not very versed in software testing tools for the web.
@DD2485-bot
Copy link

Readme is not correctly formatted
Need exactly: ['Assignment Proposal', 'Title', 'Names and KTH ID', 'Deadline', 'Category', 'Description']

Got: ['Assignment Proposal', 'Title', 'Names and KTH ID', 'Deadline', 'Category', 'Description', 'Relevance']

@algomaster99
Copy link
Collaborator

algomaster99 commented Sep 3, 2024

Looks good to me! But it may collide with #2376. @Deee92 , can we have two different tasks for the same topic?

EDIT: asking only one TA to delegate responsibility efficiently.

@algomaster99 algomaster99 self-requested a review September 3, 2024 12:19
@algomaster99 algomaster99 self-assigned this Sep 3, 2024
@Deee92
Copy link
Collaborator

Deee92 commented Sep 3, 2024

Hi @algomaster99, this does overlap with #2376.
@joseflindkvist, I suggest making a new proposal with a different (preferably non-UI) testing framework.

@joseflindkvist
Copy link
Contributor Author

joseflindkvist commented Sep 5, 2024

Hi @algomaster99 & @Deee92, we have now updated our proposal. Please let us know what you think! We found a different subject we thought was interesting.

@algomaster99
Copy link
Collaborator

Hi! It does not seem relevant to the week 4 theme of AIOps.

how to easily and automatically measure frequency of deployments.

I do like the problem statement. Can you move this demo to week 3?

@tobiasljunggren97
Copy link
Contributor

Hi! It does not seem relevant to the week 4 theme of AIOps.

how to easily and automatically measure frequency of deployments.

I do like the problem statement. Can you move this demo to week 3?

@algomaster99 I already have another PR out for a week 3 Scientific Article, are you allowed to do multiple things in the same week? You can see that one here. If you are allowed to do multiple presentations the same week I can do it, but from my understanding you are not allowed to?

@algomaster99
Copy link
Collaborator

algomaster99 commented Sep 9, 2024

@Deee92 I have a question. The proposal is good, but it is relevant to week 3. However, the are already presenting another task in week 3. How should we accommodate this proposal?

@Deee92
Copy link
Collaborator

Deee92 commented Sep 9, 2024

@tobiasljunggren97 @joseflindkvist if there is a possibility to make your task more IaC-centric, we could have it on Week 6.

@joseflindkvist
Copy link
Contributor Author

@tobiasljunggren97 @joseflindkvist if there is a possibility to make your task more IaC-centric, we could have it on Week 6.

Yea I guess we could spend more time talking about the serverless setup and make it more IaC-centric, though it wasn't our initial idea. Could we otherwise present it in week 7 that is a bit more open?

@Deee92
Copy link
Collaborator

Deee92 commented Sep 9, 2024

Yes, that is an option, but Week 7 ideally should not overlap with topics from previous weeks. I would recommend demo-ing in Week 6, focusing more on IaC. Wdyt, @algomaster99?

@algomaster99
Copy link
Collaborator

@Deee92 do you mean demo-ing in week 6? If you mean week 6, I agree with you!

@joseflindkvist
Copy link
Contributor Author

@Deee92 @algomaster99 Then we'll do this demo in week 6 instead. I've now changed the path + deadline of our proposal. Please let me know if you have any other comments.

@algomaster99 algomaster99 changed the title Week 4: Demo proposal Week 6: Demo proposal Sep 9, 2024
@algomaster99
Copy link
Collaborator

This is good! Thank you!

@algomaster99 algomaster99 merged commit 7d0a2bf into KTH:2024 Sep 9, 2024
2 checks passed
@joseflindkvist
Copy link
Contributor Author

Hello @Deee92 @algomaster99, I just wanted to make sure with you that we can still do this demo next week. Asking because you thought it would work if we focused a little bit on IaC, but realized that IaC was yesterday's theme. So it is off-brand for next weeks theme but it may be okay since you approved it?

@Deee92
Copy link
Collaborator

Deee92 commented Sep 26, 2024

Oops, we were off by one week. This topic would indeed be out of place for the lecture of week 6. How about presenting in the lab of week 6, i.e. October 3? Wdyt, @algomaster99?

@algomaster99
Copy link
Collaborator

@Deee92 yeah, I agree that it is off-topic. But we merged it and it is on number 5 in the schedule. @joseflindkvist would it be okay if we shifted your demo to October 3 instead of October 2?

@joseflindkvist
Copy link
Contributor Author

@algomaster99 @Deee92 Yes, of course, we can do it on the 3rd of October. Do you still want us to focus on IaC, or could we return to our original idea of being more CD-centered? We would prefer this :)

@algomaster99
Copy link
Collaborator

The proposal is more relevant to CD and it is merged so no point of suggesting any changes to it :)
Deliver what you have plans for 💯

@joseflindkvist
Copy link
Contributor Author

joseflindkvist commented Oct 2, 2024

@algomaster99 Hi, do you have a time slot for us to present tomorrow at the lab session? :)

@algomaster99
Copy link
Collaborator

Hi @joseflindkvist ! 13.15 October 3 at the lab. Is it good for you?

cc @Deee92 @javierron @sofiabobadilla

@joseflindkvist
Copy link
Contributor Author

Yes that works great! @algomaster99

@algomaster99
Copy link
Collaborator

Great. I have scheduled you.

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.

5 participants