Skip to content

MujtabaAzizKhan/Forlorn-Pipeline-Implementation

Repository files navigation

Forlorn-Pipeline-Implementation

In this repo I made a pipeline on Jenkins for Forlorn game so everytime a new code is pushed to the GitHub it also pushes on the Docker Hub after building the image.

Steps

1. Pre-requisites.

For the pre-requisites, need to setup the following tools:

  • Docker
  • Jenkins
  • Kubernetes
  • Git

2. Pushed the code

After that pushed the code to Github.
image

3. Writing a Dockerfile and docker-compose file.

The next step was to write Dockerfile and docker-compose file to create docker image of the web app.
image image

4. Pushing the image to Docker hub.

Pushed the image to Docker hub after building it by using the command docker-compose up --build
image

5. Creating a pipeline on Jenkins.

Made a pipeline on Jenkins for Continuous Integration.
image

6. Attaching a Webhook.

From the repository settings in Github, attached the webhook with Jenkins. So that on every push or pull we get info on Jenkins logs.
image

I also used serveo.net to expose local server to the internet. Because I can't connect the webhook with Jenkins on a localhost.
image

7. Writing the pipeline code.

And finally wrote the pipeline code to connect all the steps together.
image

Forlorn A very simple narrative/ interactive fiction game created by my dear friend Tayyab Naveed.
Original Repo Link: https://github.com/TayyabNaveed16/forlorn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published