Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

GitLab Integration

simon
simon Posts: 4

Hi,

I have runner installed on my VM and registered. But, I'm getting the following error:

ERROR: Preparation failed: ssh: unsupported key type "OPENSSH PRIVATE KEY"

My .toml:

[session_server]
session_timeout = 1800

[[runners]]
name = "testing em api"
url = "https://gitlab.com/"
token = "TOKEN"
executor = "ssh"
[runners.custom_build_dir]
[runners.ssh]
user = "simon"
password = "PWD"
host = "my_host"
port = "22"
identity_file = "C:/Users/simon/.ssh/id_ed25519"
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]

My .yml:

stages:
- test
SOAP/REST_CommandLine:
stage: test
tags:
- SOATest
- CTP
- Virtualize
script:
- \my_host\soatest_files\runner.bat C:\Gitlab\soa_training\reports\em_commandline.html

My .bat:

ECHO "start"
cd\
cd "C:\Program Files\Parasoft\SOAtest & Virtualize\9.10"
SET workspace=C:\Users\simon\parasoft\soavirt_workspace
SET test=/EM/EM.tst
soatestcli.exe -data "%workspace%" -resource "%test%" -config "user://Example Configuration"

I appreciate any feedback.

Comments

  • jakubiak
    jakubiak Posts: 813 admin

    I am not very familiar with .toml files. However, it looks like the error related to whatever ssh command you are running and is not related to launching SOAtest.