Skip to content

Commit a0e743a

Browse files
committed
refactor: remove obsolete test image
Follow up of #896
1 parent d7d2260 commit a0e743a

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@ image: python:3.7
33
stages:
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-
176
deploy:
187
stage: deploy
198
script:

try-status.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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)

0 commit comments

Comments
 (0)