Skip to content

Re-enable all build jobs, all java install set to java-17

e8df677
Select commit
Loading
Failed to load commit list.
Open

Move the java base version from java-11 to java-17 #117

Re-enable all build jobs, all java install set to java-17
e8df677
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Feb 26, 2026 in 21m 6s

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 #117 Move the java base version from java-11 to java-17.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

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

Stage 1: BUILD_AND_TEST

This stage passed.

Job Python ENV OS State
3065.1 Build and Test opendap/hyrax 3.12 AWS_ACCESS_KEY_ID=[secure] Linux passed

Stage 2: BUILD

This stage passed.

Job Python ENV OS State
3065.2 Build opendap/besd 3.12 AWS_ACCESS_KEY_ID=[secure] Linux passed
3065.3 Build opendap/hyrax_ncwms 3.12 AWS_ACCESS_KEY_ID=[secure] Linux passed
3065.4 Build opendap/olfs 3.12 AWS_ACCESS_KEY_ID=[secure] Linux passed
3065.5 Build opendap/hyrax:ngap 3.12 AWS_ACCESS_KEY_ID=[secure] Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Version 3.12
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.12"
  ],
  "services": [
    "docker"
  ],
  "branches": {
    "only": [
      "master",
      "el9"
    ]
  },
  "notifications": {
    "email": [
      {
        "recipients": [
          "ndp@opendap.org"
        ]
      },
      {
        "recipients": [
          "jgallagher@opendap.org"
        ]
      }
    ]
  },
  "addons": {
    "apt": {
      "packages": [
        "gnupg",
        "jq"
      ]
    }
  },
  "env": [
    "global=AWS_ACCESS_KEY_ID=[secure]=AWS_SECRET_ACCESS_KEY=[secure]=DOCKER_HUB_UID=[secure]=DOCKER_HUB_PSWD=[secure]={:BUILD_RECIPE=>\"\\\"travis-build-recipe\\\"\"}={:TARGET_OS=>\"$( grep \\\"TARGET_OS\\\" \\\"$BUILD_RECIPE\\\" | awk '{print $2;}' )\"}={:RELEASE_DATE=>\"\\\"$(date +%s)\\\"\"}={:S3_BUILD_BUCKET=>\"\\\"opendap.travis.build\\\"\"}={:ADD_DEBUG_RPMS=>\"\\\"\\\"\"}"
  ],
  "before_install": [
    "echo \"# travis.before_install() - BUILD_RECIPE is $BUILD_RECIPE\"",
    "echo \"# travis.before_install() - TARGET_OS is $TARGET_OS\"",
    "echo \"# travis.before_install() - PythonVersion is $(python3 --version)\"",
    "echo \"# travis.before_install() - Using pip3 to install awscli\"",
    "pip3 install awscli",
    "echo \"# travis.before_install() - TRAVIS_PULL_REQUEST is $TRAVIS_PULL_REQUEST\"",
    "echo \"# travis.before_install() -       TRAVIS_BRANCH is $TRAVIS_BRANCH\"",
    "if test \"$TRAVIS_PULL_REQUEST\" = \"false\" -o \"$TRAVIS_BRANCH\" = \"el9\" ; then export DEPLOY_ME=\"true\"; else export DEPLOY_ME=\"false\"; fi",
    "echo \"# travis.before_install() -           DEPLOY_ME is $DEPLOY_ME\""
  ],
  "install": [
    "echo \"print env:\"",
    "printenv",
    "echo $DOCKER_HUB_PSWD | docker login -u $DOCKER_HUB_UID --password-stdin"
  ],
  "stages": [
    {
      "name": "BUILD_AND_TEST",
      "if": "branch = master OR branch = el9"
    },
    {
      "name": "BUILD",
      "if": "branch = master OR branch = el9"
    },
    {
      "name": "TEST_DEPLOYED_IMAGE",
      "if": "((branch = master) and (type != pull_request)) or (branch = el9)"
    },
    {
      "name": "disabled",
      "if": "branch = disabled"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "BUILD_AND_TEST",
        "name": "Build and Test opendap/hyrax",
        "script": [
          "export DOCKER_NAME=\"hyrax\"",
          "export DOCKER_DIR=\"$DOCKER_NAME\"",
          "echo \"DOCKER_NAME '$DOCKER_NAME'\"",
          "echo \"RELEASE_DATE '$RELEASE_DATE'\"",
          "echo \"BUILDING FOR $TARGET_OS\"",
          "cd \"$TARGET_OS-builds\"",
          "source \"./build-$TARGET_OS\"",
          "show_version",
          "echo \"USING TOMCAT MAJOR VERSION '$TOMCAT_MAJOR_VERSION'\"",
          "export TESTS_LOG_BASE=\"$DOCKER_NAME-regression-tests-$TRAVIS_JOB_NUMBER\"",
          "export TOMCAT_VERSION=$(get_latest_tomcat_version_number \"$TOMCAT_MAJOR_VERSION\")",
          "show_version",
          "get_tomcat_distro \"$DOCKER_NAME\" \"$TOMCAT_VERSION\"",
          "s3_get_besd_distro \"$S3_BUILD_BUCKET\" \"$DOCKER_NAME\" \"$TARGET_OS\" \"$LIBDAP_VERSION\" \"$BES_VERSION\" $ADD_DEBUG 2>&1",
          "s3_get_olfs_distro \"$S3_BUILD_BUCKET\" \"$DOCKER_NAME\" \"$OLFS_VERSION\" 2>&1",
          "docker build --build-arg TOMCAT_VERSION --build-arg RELEASE_DATE --build-arg HYRAX_VERSION --build-arg LIBDAP_VERSION --build-arg BES_VERSION --build-arg OLFS_VERSION --tag \"$OS_SNAPSHOT_IMAGE_TAG\" --tag \"$OS_BUILD_VERSION_TAG\" \"$DOCKER_NAME\"",
          "docker image ls -a",
          "cd ..",
          "echo \"Running Test Script\"",
          "./travis/regression_test_script -i \"$OS_SNAPSHOT_IMAGE_TAG\" -l \"$TESTS_LOG_BASE\""
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/besd",
        "script": [
          "export DOCKER_NAME=\"besd\"",
          "echo \"# RELEASE_DATE '$RELEASE_DATE'\"",
          "cd \"$TARGET_OS-builds\"",
          "source \"./build-$TARGET_OS\"",
          "show_version",
          "OS_BUILD_VERSION_TAG=\"opendap/$DOCKER_NAME:$BES_VERSION-$TARGET_OS$TEST_DEPLOYMENT\"",
          "echo \"#  OS_BUILD_VERSION_TAG '$OS_BUILD_VERSION_TAG'\"",
          "echo \"# OS_SNAPSHOT_IMAGE_TAG '$OS_SNAPSHOT_IMAGE_TAG'\"",
          "s3_get_besd_distro \"$S3_BUILD_BUCKET\" \"$DOCKER_NAME\" \"$TARGET_OS\" \"$LIBDAP_VERSION\" \"$BES_VERSION\" \"$ADD_DEBUG_RPMS\" 2>&1",
          "docker build --build-arg RELEASE_DATE --build-arg HYRAX_VERSION --build-arg LIBDAP_VERSION --build-arg BES_VERSION --tag \"$OS_SNAPSHOT_IMAGE_TAG\" --tag \"$OS_BUILD_VERSION_TAG\" \"$DOCKER_NAME\"",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/hyrax_ncwms",
        "script": [
          "export DOCKER_NAME=\"hyrax_ncwms\"",
          "export DOCKER_DIR=\"hyrax\"",
          "cd \"$TARGET_OS-builds\"",
          "source \"./build-$TARGET_OS\"",
          "export TOMCAT_VERSION=$(get_latest_tomcat_version_number \"$TOMCAT_MAJOR_VERSION\")",
          "show_version",
          "get_tomcat_distro \"$DOCKER_DIR\" \"$TOMCAT_VERSION\"",
          "s3_get_besd_distro \"$S3_BUILD_BUCKET\" \"$DOCKER_DIR\" \"$TARGET_OS\" \"$LIBDAP_VERSION\" \"$BES_VERSION\" \"$ADD_DEBUG_RPMS\" 2>&1",
          "ls -l \"$DOCKER_DIR\"/*.rpm",
          "s3_get_olfs_distro \"$S3_BUILD_BUCKET\" \"$DOCKER_DIR\" \"$OLFS_VERSION\" 2>&1",
          "ls -l \"$DOCKER_DIR\"/*.tar.gz",
          "docker build --build-arg TOMCAT_VERSION --build-arg RELEASE_DATE --build-arg HYRAX_VERSION --build-arg LIBDAP_VERSION --build-arg BES_VERSION --build-arg OLFS_VERSION --build-arg USE_NCWMS=true --tag \"$OS_SNAPSHOT_IMAGE_TAG\" --tag \"$OS_BUILD_VERSION_TAG\" \"$DOCKER_DIR\"",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/olfs",
        "script": [
          "export DOCKER_NAME=\"olfs\"",
          "export DOCKER_DIR=\"olfs\"",
          "cd \"$TARGET_OS-builds\"",
          "source \"./build-$TARGET_OS\"",
          "export TOMCAT_VERSION=$(get_latest_tomcat_version_number \"$TOMCAT_MAJOR_VERSION\")",
          "show_version",
          "get_tomcat_distro \"${DOCKER_NAME}\" \"${TOMCAT_VERSION}\"",
          "s3_get_olfs_distro \"${S3_BUILD_BUCKET}\" \"olfs\" \"${OLFS_VERSION}\" 2>&1",
          "docker build --build-arg TOMCAT_VERSION --build-arg RELEASE_DATE --build-arg HYRAX_VERSION --build-arg OLFS_VERSION --tag \"$OS_SNAPSHOT_IMAGE_TAG\" --tag \"$OS_BUILD_VERSION_TAG\" olfs",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/hyrax:ngap",
        "script": [
          "cd \"$TARGET_OS-builds\"",
          "export DOCKER_NAME=\"ngap\"",
          "export DOCKER_DIR=\"ngap\"",
          "source \"./build-$TARGET_OS\"",
          "show_version",
          "./build-hyrax-ngap.sh",
          "docker image ls -a"
        ]
      },
      {
        "stage": "TEST_DEPLOYED_IMAGE",
        "name": "Test Deployed Image",
        "script": [
          "cd \"$TARGET_OS-builds\"",
          "source \"./build-$TARGET_OS\"",
          "cd ..",
          "echo \"Running Hyrax Regression Test Script on $OS_SNAPSHOT_IMAGE_TAG\"",
          "./travis/regression_test_script -i \"$OS_SNAPSHOT_IMAGE_TAG\" -l \"deployed-image-regression-tests-$TRAVIS_JOB_NUMBER\"",
          "export DEPLOY_ME=\"false\""
        ]
      }
    ]
  },
  "after_script": [
    "./travis/upload-test-results.sh \"$DOCKER_NAME\" \"$TESTS_LOG_BASE.tgz\""
  ],
  "before_deploy": [
    "export DOCKER_LOGIN=`aws ecr get-login --region us-east-1 | sed \"s/-e none //g\"`;",
    "$DOCKER_LOGIN;",
    "echo \"# DEPLOY_ME is $DEPLOY_ME\""
  ],
  "deploy": [
    {
      "provider": "script",
      "script": "bash \"$TRAVIS_BUILD_DIR/travis/deploy_to_docker_hub.sh\"",
      "on": {
        "branch": [
          "master"
        ],
        "condition": [
          "$DEPLOY_ME = \"true\""
        ]
      }
    },
    {
      "provider": "script",
      "script": "bash \"$TRAVIS_BUILD_DIR/travis/deploy_to_docker_hub.sh\"",
      "on": {
        "branch": [
          "el9"
        ],
        "condition": [
          "$DEPLOY_ME = \"true\""
        ]
      }
    }
  ]
}