Skip to content

c0reyes/Greeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greeting example

This example it's base on rest-service and testing-web

To testing the Environment develop.

Clone Repository

Clone to your machine, if you want or use the repository from GitHub. Create new repository on Gitea.

git clone https://github.com/c0reyes/Greeting.git

Change remote url to local Gitea.

git remote remove origin
git remote set-url origin http://localhost:3000/git/Greeting.git
git push

Configure Pipeline

  • Open browser: Go to http://localhost:8080/
  • Jenkins: Open Blue Ocean
    • New Pipeline
    • Select Git
    • Write repository url and Create pipline

Kubernetes Credentials

  • Generate kubeconfig
kubectl config view --flatten > kubeconfig.txt

Modify the server line to: server: https://kubernetes:8443

  • Configure credentials
    • Go to Jenkins pipeline project -> Credentials
    • Add Credentials
      • Kind: Secret file
      • File: (upload kubeconfig.txt file)
      • ID: kubeconfig
      • Description: optional

Test

Releases

No releases published

Packages

No packages published