This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
// Definisikan environment variables | |
def gitlabApiUrl = 'https://gitlab.com/api/v4/projects' | |
def gitlabGroupId = 'xxxxx' // ID atau nama grup di GitLab | |
def repoName = 'repo-test' // Nama repository yang ingin dibuat | |
def visibility = 'private' // Bisa diubah ke 'public' jika diperlukan | |
stage('Create GitLab Repository') { | |
try { | |
// Menjalankan shell command untuk membuat repo di GitLab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
mongo: | |
image: mongo:4.0 | |
container_name: my-mongo-container | |
# restart: always | |
environment: | |
MONGO_INITDB_DATABASE: test_db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mysql-development: | |
image: mysql/mysql-server:5.7 | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: test-db | |
MYSQL_ROOT_HOST: "%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mysql-development: | |
image: mysql/mysql-server:5.7 | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: test-db | |
MYSQL_ROOT_HOST: "%" |