Weekly Blog 4 #41
Replies: 3 comments
-
Dear Underwatch team, Your team Plapy |
Beta Was this translation helpful? Give feedback.
-
Hello Underwatch Team, Your team time2shine |
Beta Was this translation helpful? Give feedback.
-
Hello, The post does a decent job of breaking down the YAML files for your CI workflows, but it could benefit from more clarity and organization. Consider using headers or bullet points to clearly separate and explain each section or step. This would make it easier for readers to follow along. Also I like the design of oyur posts and the point that you show us pictures. Your CookPit tean |
Beta Was this translation helpful? Give feedback.
-
Hello and welcome to the fourth edition of our weekly blog for Underwatch. This week we will present to you our CI-Integration for our Game, our Website and for our Backend.
We used Git Workflows to integrate our CI into our project. This means we declare some steps which have to run successfully in order to merge our changes onto the main branch. Depending on the technology used, these commands can vary. In the next three parts, we will take a closer look at the yaml files for our different Parts of the project.
🕹️ The Game CI
We will break down the file into smaller parts, and explain them step by step
The name tag gives the github workflow a name. Each name has to be distinct.
The next part declares at which point the workflow should be initiated. In this case for each
push to main.
If there is a pull request it should only run when changes in the workflow file, or the game files are detected.
This snippet gives the workflow read-permissions. This means the workflow is not allowed to write to the repository.
The last block is the main part of the workflow. It sets up an ubuntu machine, then it gets the project from the git repository. And sets the dependencies up. In this case it downloads the JDK 18. Afterwards it builds the game with gradle and sends the resulting Jar file as artifact to the github repository of the project.
🌐 The Website CI
This yaml file is similar to the previous one, only the path and the build process differ to the previous yaml file.
🍃 The Backend CI
This is again the same pattern as previous. I hope by now you know how to setup a basic CI with github workflow.
If you have some tips you want to share with us, please let us know in the comments.
Until next Week with another awesome update from the Underwatch Team
Beta Was this translation helpful? Give feedback.
All reactions