ServiceNow integration with Gitlab for CI/CD pipeline

Suyog A
Giga Contributor

Hi All,

I am trying to setup ServiceNow integration with GitLab but I am getting error while doing so, attaching error log for reference

I am trying exactly same steps as provided in ServiceNow Support video(link below)

https://www.youtube.com/watch?v=Y9YjThpAlm8

but getting error in doing so, I need your help to resolve my issue, please let me know if you need more info.

Tagging: @Chiarng Lin @Chiarng Lin 

find_real_file.png

 

Error screenshot

find_real_file.png

5 REPLIES 5

Venkata1
Tera Expert

@Daniel.Draes  @Chiarng Lin  - I am stuck at same step too. Please help us unblock.

@Suyog A @Eeshwar - Solution to unblock us - 
@Chiarng Lin  - Thank you

Yes, the example ATF test suite is only a single log step for the purposes of demonstrating calling the API. 

To run an ATF test suite with client tests, you do need a scheduled client test runner running somewhere, be that a laptop, a VM, or using our ATF Headless Browser on Docker. 

https://docs.servicenow.com/en-US/bundle/sandiego-application-development/page/administer/auto-test-framework/concept/atf-headless-browser.html

https://github.com/ServiceNow/atf-headless-runner/pkgs/container/atf-headless-runner

 The task.sh specific to the GitLab implementation resides in the Docker image that is run when you start the pipeline. 

It references this: https://github.com/ServiceNow/sncicd-gitlab-docker/blob/master/task.sh

Your GitLab CI/CD needs to be able to spin up runners. https://docs.gitlab.com/runner/

Those runners then pull the Docker image from https://hub.docker.com/repository/docker/servicenowdevx/sncicd-gitlab-docker

Eeshwar
Tera Contributor

Same I am stuck at same steps, Please let me know if you find solution.

Suyog A
Giga Contributor

I tried raising ticket with snow support, they are not officially supporting this so more or less we are on our own and then there is some problem of token refresh of Gitlab which is another issue even if this is through though I am not sure if that is case happening due to me using my personal login of Gitlab.

Integration capability is not available OOTB so far from my analysis.

I think support or ServiceNow should help with some community doc where they have given some proven case, video on YouTube is not that detailed and when we try steps provided there its giving error so looks like something should be done which is not provided in steps.

We will need some Gitlab resources to get this resolved