Skip to content

astroseger/platform-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

platform-pipeline

CircleCI

SingularityNET Platform CI/CD Pipeline Repository

Troubleshooting troubleshoot failed platform-pipeline project

The following steps can help to reproduce and find root cause of the failed platform pipeline build.

Note: platform-pipeline always builds all singnet projects from master branch.

For example, the bash command was inserted before running GoDog integration tests.

    - checkout
    - run:
        name: Run integration tests
        command: |
          export PATH=$PATH:$GOPATH/bin
          mkdir $GOPATH/log
          go get github.com/DATA-DOG/godog/cmd/godog
          # Disable TensorFlow warnings wich pollute example-service log file
          export TF_CPP_MIN_LOG_LEVEL=2
          bash # <-- inserted command
          godog
  • Run CircleCI in the platform-pipeline project
    • cd platform-pipeline

    • circleci build

  • Wait until CircleCI build reaches the bash point
  • Copy the docker image
    • List docker running containers
      • docker ps

    • Select the container id for image "ubuntu:latest" from the output
    • Copy the docker image
      • docker commit container-id circleci-platform-pipeline

  • Run the copied CircleCI image by docker
    • docker run -it circleci-platform-pipeline bash

    • cd /root/singnet/src/github.com/singnet

  • Use instructions from the Wiki page to reproduce integration test

Note: necessary test environment variables are not set in this bash session and should be set manually.

About

SingularityNET Platform CI/CD Pipeline Repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.2%
  • Gherkin 5.8%