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

Update .travis.yml to ajust to new release cadence #228

Merged
merged 2 commits into from
Nov 27, 2024

Update .travis.yml

a11cde5
Select commit
Loading
Failed to load commit list.
Merged

Update .travis.yml to ajust to new release cadence #228

Update .travis.yml
a11cde5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Nov 27, 2024 in 18m 32s

Build Passed

The build passed. This is a change from the previous build, which errored.

Details

This is a normal build for the jsvd-patch-1 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has 15 jobs, running in two sequential stages.

Stage 1: Test

This stage passed.

Job ENV OS State
810.1 ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
810.2 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
810.3 ELASTIC_STACK_VERSION=7.current Linux passed
810.4 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux passed
810.5 SNAPSHOT=true ELASTIC_STACK_VERSION=8.future DOCKER_ENV=dockerjdk21.env Linux passed
810.6 SNAPSHOT=true ELASTIC_STACK_VERSION=8.next DOCKER_ENV=dockerjdk21.env Linux passed
810.7 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
810.8 SNAPSHOT=true ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
810.9 SNAPSHOT=true ELASTIC_STACK_VERSION=7.current Linux passed

Stage 2: OSS Distribution Tests

This stage passed.

Job ENV OS State
810.10 DISTRIBUTION=oss ELASTIC_STACK_VERSION=8.previous Linux passed
810.11 DISTRIBUTION=oss ELASTIC_STACK_VERSION=8.current Linux passed
810.12 DISTRIBUTION=oss SNAPSHOT=true ELASTIC_STACK_VERSION=8.previous Linux passed
810.13 DISTRIBUTION=oss SNAPSHOT=true ELASTIC_STACK_VERSION=8.current Linux passed
810.14 DISTRIBUTION=oss SNAPSHOT=true ELASTIC_STACK_VERSION=8.next Linux passed
810.15 DISTRIBUTION=oss SNAPSHOT=true ELASTIC_STACK_VERSION=8.future Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Focal)
Build Configuration
{
  "_performance": {
    "install": ".ci/performance/docker-setup.sh",
    "script": ".ci/performance/docker-run.sh"
  },
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "jobs": {
    "include": [
      {
        "stage": "OSS Distribution Tests",
        "env": [
          {
            "DISTRIBUTION": "oss",
            "ELASTIC_STACK_VERSION": "8.previous"
          }
        ]
      },
      {
        "env": [
          {
            "DISTRIBUTION": "oss",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "DISTRIBUTION": "oss",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "8.previous"
          }
        ]
      },
      {
        "env": [
          {
            "DISTRIBUTION": "oss",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "DISTRIBUTION": "oss",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "8.next"
          }
        ]
      },
      {
        "env": [
          {
            "DISTRIBUTION": "oss",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "8.future"
          }
        ]
      }
    ]
  },
  "stages": [
    {
      "name": "Test"
    },
    {
      "name": "Performance",
      "if": "env(HAS_PERFORMANCE_TESTS) == \"1\""
    }
  ],
  "env": [
    "jobs={:ELASTIC_STACK_VERSION=>\"8.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"8.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"7.current\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"main\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.future\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.next\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"7.current\"}"
  ],
  "before_install": [
    "mkdir -p .ci && curl -sL https://github.com/logstash-plugins/.ci/archive/1.x.tar.gz | tar zxvf - --skip-old-files --strip-components=1 -C .ci --wildcards \"*Dockerfile*\" \"*docker*\" \"*.sh\""
  ],
  "install": [
    ".ci/docker-setup.sh;\nexit_code=$?;\ncase $exit_code in\n  0)\n    echo \"Install succeeded.\"\n    ;;\n  1)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. Likely due to missing DRA build.\"\n    export SKIP_SCRIPT=true\n    ;;\n  2)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. The image should exist. Aborting build.\"\n    exit $exit_code\n    ;;\n  *)\n    echo \"Install failed with an unexpected code: $exit_code. Stopping build.\"\n    exit $exit_code\n    ;;\nesac\n"
  ],
  "script": [
    "if [ \"$SKIP_SCRIPT\" = \"true\" ]; then\n  exit 0\nelse\n  .ci/docker-run.sh\nfi"
  ]
}