diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5f5fc8239bf96cfbb8824319257d3025f9c78c9..f7982e3b108d30344b26bfaa18cc6d92fee62db3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,6 @@ build: checker: stage: test image: - name: registry.gitlab.com/jokeswar/vmchecker-next-assignment + name: gitlab.cs.pub.ro:5050/jokeswar/vmchecker-next-assignment script: - echo "" diff --git a/local.sh b/local.sh index e9bf98d6db801e6c0c233bd5c748e7587ca6e951..f828d1c607e15922a910a5ba7f3840d087ff060e 100755 --- a/local.sh +++ b/local.sh @@ -11,7 +11,7 @@ NC='\033[0m' DEFAULT_IMAGE_NAME="$(basename "$(pwd)")" DEFAULT_TAG='latest' -DEFAULT_REGISTRY='registry.gitlab.cs.pub.ro' +DEFAULT_REGISTRY='gitlab.cs.pub.ro:5050' #============================================================================= #=================================== UTILS =================================== @@ -43,24 +43,24 @@ print_help() { echo "" echo " --image_name <image_name> - the name of the image (default: current directory name)" echo " --tag <tag> - the tag of the image (default: 'latest')" - echo " --registry <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')" + echo " --registry <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')" echo "" echo "local.sh docker push --user <user> --token <token> [--image_name <image_name>] [--tag <tag>] [--registry <registry>]" echo "" echo " --image_name <image_name> - the name of the image (default: current directory name)" echo " --tag <tag> - the tag of the image (default: 'latest')" - echo " --registry <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')" + echo " --registry <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')" echo " --user <registry> - username for the repository registry" - echo " --token <registry> - the registry in which the image will be pushed (default: 'registry.gitlab.cs.pub.ro')" + echo " --token <registry> - the registry in which the image will be pushed (default: 'gitlab.cs.pub.ro:5050')" echo "" echo "local.sh docker test [--full_image_name <full_image_name>] [argumets_for_checker]" echo "" - echo " --full_image_name <full_image_name> - the full name of the image (default: registry.gitlab.cs.pub.ro/<current_directory_name>:latest)" + echo " --full_image_name <full_image_name> - the full name of the image (default: gitlab.cs.pub.ro:5050/<current_directory_name>:latest)" echo " argumets_for_checker - list of space separated arguments to be passed to the checker" echo "" echo "local.sh docker interactive [--full_image_name <full_image_name>] [--use_executable <executbale>]" echo "" - echo " --full_image_name <full_image_name> - the full name of the image (default: registry.gitlab.cs.pub.ro/<current_directory_name>:latest)" + echo " --full_image_name <full_image_name> - the full name of the image (default: gitlab.cs.pub.ro:5050/<current_directory_name>:latest)" echo " --use_executable <executable> - command to run inside the container (default: /bin/bash)" echo "" echo "local.sh checker [--remove_image] [--use_existing_image <image_name>] [argumets_for_checker]"