Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup contexts #309

Merged
merged 4 commits into from
Nov 14, 2024

#304: Fix contexts in gossip to correctly stop gossip routines when g…

fd40ce2
Select commit
Loading
Failed to load commit list.
Merged

Cleanup contexts #309

#304: Fix contexts in gossip to correctly stop gossip routines when g…
fd40ce2
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Nov 12, 2024 in 9m 4s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the 304-cleanup-contexts branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has two jobs, running in parallel.

Job Go ENV OS State
1036.1 Coverage 1.20.x Linux passed
1036.2 Docker and Integration Tests 1.20.x TAG=`if [ $TRAVIS_BRANCH == "master" ]; then echo -n latest; else echo -n $TRAVIS_BRANCH; fi` Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Xenial)
Go Version 1.20.x
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "go": [
    "1.20.x"
  ],
  "addons": {
    "apt": {
      "update": true,
      "packages": [
        "ruby"
      ]
    }
  },
  "jobs": {
    "include": [
      {
        "name": "Coverage",
        "os": "linux",
        "dist": "jammy",
        "install": [
          "sudo gem install coveralls-lcov",
          "go install github.com/jandelgado/gcov2lcov@latest",
          "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0",
          "go get ./..."
        ],
        "script": [
          "go build -ldflags=\"-X main.Commit=$(git rev-parse HEAD)\" cmd/koinos-p2p/main.go",
          "go test -v github.com/koinos/koinos-p2p/internal -coverprofile=internal.out -coverpkg=./internal/...",
          "go test -v github.com/koinos/koinos-p2p/internal/node -coverprofile=node.out -coverpkg=./internal/...",
          "go test -v github.com/koinos/koinos-p2p/internal/p2p -coverprofile=p2p.out -coverpkg=./internal/...",
          "gcov2lcov -infile=internal.out -outfile=internal.info",
          "gcov2lcov -infile=node.out -outfile=node.info",
          "gcov2lcov -infile=p2p.out -outfile=p2p.info",
          "golangci-lint run --timeout=2m ./..."
        ],
        "after_success": [
          "coveralls-lcov --repo-token \"$COVERALLS_REPO_TOKEN\" --service-name travis-pro coverage.info"
        ]
      },
      {
        "name": "Docker and Integration Tests",
        "os": "linux",
        "dist": "jammy",
        "services": [
          "docker"
        ],
        "env": [
          {
            "TAG": "`if [ $TRAVIS_BRANCH == \"master\" ]; then echo -n latest; else echo -n $TRAVIS_BRANCH; fi`"
          },
          {
            "P2P_TAG": "$TAG"
          }
        ],
        "install": [
          "git clone https://github.com/koinos/koinos-integration-tests.git",
          "pushd koinos-integration-tests",
          "go get ./...",
          "popd"
        ],
        "before_script": [
          "echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin",
          "docker build . -t $TRAVIS_REPO_SLUG:$TAG"
        ],
        "script": [
          "pushd koinos-integration-tests",
          "./run.sh"
        ],
        "after_success": [
          "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then\n  docker push $TRAVIS_REPO_SLUG:$TAG\nfi\n"
        ]
      }
    ]
  },
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "uLagb4g9pgxtO6pa+ReiRLXdAwSLv39W4BUi5/5Ury27JGZn2zobPhOcsGglbGwH2QTGomoTLJ4VU/wWLnYSrb5lRYhRYBgpmi0BVIqXrCDGEa7QWIlwtM9sY5nrSGB3CqsUZh0M/5etTJkcD281VVQ1qiowWIykKrkcN73WqGssJJqRU/Gu2eyqDmWar7ymDrKSjsmQw0nFGJwhDTrFIg9F6h81OaHsEk+A0A8V6ldZ2FcucKJGeta6hnh1UUKBnHitj0FUMIBW+lxKqm86Y3U1RFAKYS7GIBnQLdhpH2x5I36+kkGFgp1ZUg4KRy59Fh3D75HF4yxA4jp94cTPUAxSufYH+kcC9b2KCbKuCNeHlpMf1sHD3BxEFD7kRERjvSSzIl2Je4DgUO8eiqruMBe5GPkoQ8QQkzi0Kh02+mCx5G8IfiivRrgjvVGFl8+IXokIEeeTCYrZT7qeO1hashro/CDXFx318sPcA4FYQ9ToDhuWuKiLFyPYO3wua78nyQCZlX1x7FQrgEBc6MFfMAwi+aiGU+pu9t7gmcnLIOO2yuOpkksanIIVZ9jaTmJOdw3L0hWmK1dnNhHha3gJydydNA41bLHkoAHaOKTb3rxf4MkSLpiUQeoBkT9PUabxS56J3bd+2sn5DipQ3SsjXrtM1LurBxsiUb11F1y/sdE="
          }
        ],
        "on_success": "never"
      }
    ]
  }
}