Giter Site home page Giter Site logo

abbos1711 / golang-gitlab-ci-cd Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10.48 MB

Golang project CI/CD in gitlab and deploy K8s

Dockerfile 0.33% Makefile 1.16% Go 98.51%
ci-cd gitlab gitlab-ci ci continuous-delivery continuous-deployment continuous-integration golang gitlab-cd

golang-gitlab-ci-cd's Introduction

Variables in .ci-gitlab.yml:

$REGISTRY_USER: Represents the username for Docker registry authentication.

$REGISTRY_PASS: Represents the password for Docker registry authentication.

$IMAGE_NAME: Represents the name of the Docker image.

$IMAGE_TAG: Represents the tag of the Docker image.

$SSH_KEY: Represents the SSH key used for authentication.

$SERVER_IP: Represents the IP address of the remote server.

$SSH_USER: Represents the SSH username.

$CONTAINER_NAME: Represents the name of the Docker container.

$POSTGRES_HOST: Represents the host of the PostgreSQL database.

$POSTGRES_DATABASE: Represents the name of the PostgreSQL database.

$POSTGRES_USER: Represents the username for PostgreSQL authentication.

$POSTGRES_PASSWORD: Represents the password for PostgreSQL authentication.

K8S:

kubectl apply -f Deployment.yaml

kubectl apply -f Service.yaml

golang-gitlab-ci-cd's People

Contributors

abbos1711 avatar ahrorbekolimjonov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.