File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,6 @@ image: python:3.7
33stages :
44 - deploy
55
6- build_test_image :
7- stage : deploy
8- image :
9- name : gcr.io/kaniko-project/executor:debug
10- entrypoint : [""]
11- script :
12- - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
13- - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/tools/Dockerfile-test --destination $CI_REGISTRY_IMAGE:test
14- only :
15- - tags
16-
176deploy :
187 stage : deploy
198 script :
Original file line number Diff line number Diff line change 1+ import gitlab
2+ import os
3+
4+ gl = gitlab .Gitlab ("https://gitlab.com" , os .getenv ("GITLAB_TOKEN" ))
5+ gl .auth ()
6+
7+ print ("Status" + str (gl .users .get (1283330 ).status ))
8+ print (gl .user .status .emoji )
You can’t perform that action at this time.
0 commit comments