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
docker run \ | |
-v ~/.docker/config.json:/kaniko/.docker/config.json \ | |
gcr.io/kaniko-project/executor:debug \ | |
--dockerfile=${PATH_TO}/Dockerfile \ | |
--context=${PATH_TO} \ | |
--insecure-pull \ | |
--insecure \ | |
--destination=${URL_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG} |
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
docker exec -it ${CONTAINER_ID} bash -c 'gitlab-rails runner -e production "puts Gitlab::CurrentSettings.current_application_settings.runners_registration_token"' |
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
schemaVersion: "2.0.0" | |
commandTests: | |
- name: "Check centos version" | |
command: "sh" | |
args: ["-c", "cat /etc/centos-release;"] | |
expectedOutput: ["7.5.1804"] | |
- name: "Check java version" | |
command: "sh" |
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
Jenkins.instance.pluginManager.plugins.each{ | |
plugin -> | |
println ("${plugin.getShortName()}:${plugin.getVersion()}") | |
} |