Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abbos1711/golang-gitlab-ci-cd
Golang project CI/CD in gitlab and deploy K8s
https://github.com/abbos1711/golang-gitlab-ci-cd
ci ci-cd continuous-delivery continuous-deployment continuous-integration gitlab gitlab-cd gitlab-ci golang
Last synced: about 1 month ago
JSON representation
Golang project CI/CD in gitlab and deploy K8s
- Host: GitHub
- URL: https://github.com/abbos1711/golang-gitlab-ci-cd
- Owner: abbos1711
- Created: 2024-01-10T04:09:27.000Z (about 1 year ago)
- Default Branch: origin
- Last Pushed: 2024-02-15T11:45:15.000Z (11 months ago)
- Last Synced: 2024-02-15T12:39:11.934Z (11 months ago)
- Topics: ci, ci-cd, continuous-delivery, continuous-deployment, continuous-integration, gitlab, gitlab-cd, gitlab-ci, golang
- Language: Go
- Homepage:
- Size: 10.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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