Skip to content
Snippets Groups Projects
Commit 12423297 authored by M9713's avatar M9713
Browse files

Update .gitlab-ci.yml

parent 802a85c8
No related branches found
No related tags found
No related merge requests found
Pipeline #539427 failed
stages:
- build robot
# - build robot
- test
build robot:
stage: build robot
test:
stage: test
image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest
script:
- export ROBOT_TESTS=PATH_TO_TESTS_DIRECTORY/
- export OUTPUT_DIR=DIRECTORY_TO_SAVE_OUTPUT_TO
- run.sh
artifacts:
paths:
- DIRECTORY_TO_SAVE_OUTPUT_TO/
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
# build robot:
# stage: build robot
#Build robot
# image:
# name: gcr.io/kaniko-project/executor:debug
# entrypoint: [""]
# script:
# #Build robot
- echo "Building robot"
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/robot-framework --dockerfile $CI_PROJECT_DIR/robot-framework/Dockerfile --destination $CI_REGISTRY_IMAGE:robot
# - echo "Building robot"
# - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
# - /kaniko/executor --context $CI_PROJECT_DIR/robot-framework --dockerfile $CI_PROJECT_DIR/robot-framework/Dockerfile --destination $CI_REGISTRY_IMAGE:robot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment