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

Remove Go 1.20 from build, force building Go >= 1.21 in go.mod #5690

Merged
merged 2 commits into from
Jul 23, 2024

Drop Go 1.20 from CI

c8edad5
Select commit
Loading
Failed to load commit list.
Merged

Remove Go 1.20 from build, force building Go >= 1.21 in go.mod #5690

Drop Go 1.20 from CI
c8edad5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jul 23, 2024 in 7m 24s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #5690 Remove Go 1.20 from build, force building Go >= 1.21 in go.mod.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has 16 jobs, running in parallel.

Job Go ENV OS State
22813.1 1.22.5 Linux passed
22813.2 1.21.12 Linux passed
22813.3 Compile and various other checks 1.22.5 TEST_SUITE=compile Linux passed
22813.4 Run TestNoRace tests 1.22.5 TEST_SUITE=no_race_tests Linux passed
22813.5 Run Store tests 1.22.5 TEST_SUITE=store_tests Linux passed
22813.6 Run JetStream tests 1.22.5 TEST_SUITE=js_tests Linux passed
22813.7 Run JetStream cluster tests (1) 1.22.5 TEST_SUITE=js_cluster_tests_1 Linux passed
22813.8 Run JetStream cluster tests (2) 1.22.5 TEST_SUITE=js_cluster_tests_2 Linux passed
22813.9 Run JetStream cluster tests (3) 1.22.5 TEST_SUITE=js_cluster_tests_3 Linux passed
22813.10 Run JetStream cluster tests (4) 1.22.5 TEST_SUITE=js_cluster_tests_4 Linux passed
22813.11 Run JetStream super cluster tests 1.22.5 TEST_SUITE=js_super_cluster_tests Linux passed
22813.12 Run MQTT tests 1.22.5 TEST_SUITE=mqtt_tests Linux passed
22813.13 Run Message Tracing tests 1.22.5 TEST_SUITE=msgtrace_tests Linux passed
22813.14 Run all other tests from the server package 1.22.5 TEST_SUITE=srv_pkg_non_js_tests Linux passed
22813.15 Run all tests from all other packages 1.22.5 TEST_SUITE=non_srv_pkg_tests Linux passed
22813.16 Compile with older Go release 1.21.x TEST_SUITE=build_only Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Focal)
Go Versions 1.22.5, 1.21.12
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "vm": {
    "size": "2x-large"
  },
  "go": [
    "1.22.5",
    "1.21.12"
  ],
  "go_import_path": "github.com/nats-io/nats-server",
  "addons": {
    "apt": {
      "packages": [
        "rpm"
      ]
    }
  },
  "jobs": {
    "include": [
      {
        "name": "Compile and various other checks",
        "env": [
          {
            "TEST_SUITE": "compile"
          }
        ]
      },
      {
        "name": "Run TestNoRace tests",
        "env": [
          {
            "TEST_SUITE": "no_race_tests"
          }
        ]
      },
      {
        "name": "Run Store tests",
        "env": [
          {
            "TEST_SUITE": "store_tests"
          }
        ]
      },
      {
        "name": "Run JetStream tests",
        "env": [
          {
            "TEST_SUITE": "js_tests"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (1)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_1"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (2)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_2"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (3)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_3"
          }
        ]
      },
      {
        "name": "Run JetStream cluster tests (4)",
        "env": [
          {
            "TEST_SUITE": "js_cluster_tests_4"
          }
        ]
      },
      {
        "name": "Run JetStream super cluster tests",
        "env": [
          {
            "TEST_SUITE": "js_super_cluster_tests"
          }
        ]
      },
      {
        "name": "Run MQTT tests",
        "env": [
          {
            "TEST_SUITE": "mqtt_tests"
          }
        ]
      },
      {
        "name": "Run Message Tracing tests",
        "env": [
          {
            "TEST_SUITE": "msgtrace_tests"
          }
        ]
      },
      {
        "name": "Run all other tests from the server package",
        "env": [
          {
            "TEST_SUITE": "srv_pkg_non_js_tests"
          }
        ]
      },
      {
        "name": "Run all tests from all other packages",
        "env": [
          {
            "TEST_SUITE": "non_srv_pkg_tests"
          }
        ]
      },
      {
        "name": "Compile with older Go release",
        "go": "1.21.x",
        "env": [
          {
            "TEST_SUITE": "build_only"
          }
        ]
      }
    ]
  },
  "script": [
    "./scripts/runTestsOnTravis.sh $TEST_SUITE"
  ],
  "deploy": [
    {
      "provider": "script",
      "cleanup": true,
      "script": "curl -o /tmp/goreleaser.tar.gz -sLf https://github.com/goreleaser/goreleaser/releases/download/v1.26.2/goreleaser_Linux_x86_64.tar.gz && tar -xvf /tmp/goreleaser.tar.gz -C /tmp/ && /tmp/goreleaser",
      "on": {
        "tags": true,
        "condition": [
          "($TRAVIS_GO_VERSION =~ 1.22) && ($TEST_SUITE = \"compile\")"
        ]
      }
    }
  ]
}