Skip to content

Disabled bundled Tomcat auth

b66a940
Select commit
Loading
Failed to load commit list.
Open

Stop pushing to ECR #84

Disabled bundled Tomcat auth
b66a940
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 5, 2025 in 14m 5s

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 #84 Disabled bundled Tomcat auth.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has six jobs, running in three sequential stages.

Stage 1: BUILD_AND_TEST

This stage passed.

Job Python ENV OS State
2430.1 Build and Test opendap/hyrax:snapshot (RH8) 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed

Stage 2: BUILD

This stage passed.

Job Python ENV OS State
2430.2 Build opendap/besd:snapshot (RH8) 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed
2430.3 Build opendap/hyrax_ncwms:snapshot (RH8) 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed
2430.4 Build opendap/hyrax:ngap-snapshot (RH8) 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed
2430.5 Build opendap/olfs:snapshot 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed

Stage 3: TEST_DEPLOYED_IMAGE

This stage passed.

Job Python ENV OS State
2430.6 Test Deployed Image (RH8) 3.9.7 AWS_ACCESS_KEY_ID=[secure] Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 3.9.7
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "python": [
    "3.9.7"
  ],
  "install": [
    "echo \"print env:\"",
    "printenv",
    "echo $DOCKER_HUB_PSWD | docker login -u $DOCKER_HUB_UID --password-stdin",
    "echo \"Retrieving libdap RH8 RPM ${LIBDAP_RH8_RPM}\"",
    "aws --region=us-east-1 s3 cp ${LIBDAP_RH8_RPM_URL} ./builds/${LIBDAP_RH8_RPM}",
    "echo \"Retrieving BES RH8 RPM ${BES_RH8_RPM}\"",
    "aws --region=us-east-1 s3 cp ${BES_RH8_RPM_URL} ./builds/${BES_RH8_RPM}",
    "echo \"Retrieving OLFS Distribution file ${OLFS_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${OLFS_DISTRO_URL} ./builds/${OLFS_DISTRO}",
    "echo \"Retrieving ROBOTS Distribution file ${ROBOTS_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${ROBOTS_DISTRO_URL} ./builds/${ROBOTS_DISTRO}",
    "echo \"Retrieving NGAP Distribution file ${NGAP_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${NGAP_DISTRO_URL} ./builds/${NGAP_DISTRO}",
    "ls -l ./builds"
  ],
  "services": [
    "docker"
  ],
  "branches": {
    "only": [
      "master"
    ]
  },
  "notifications": {
    "email": [
      {
        "recipients": [
          "[email protected]"
        ]
      },
      {
        "recipients": [
          "[email protected]"
        ]
      }
    ]
  },
  "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]={:RELEASE_DATE=>\"`date +%s`\"}={:VERSION_FILE=>\"snapshot.time\"}={:LIBDAP_VERSION=>\"$(grep \\\"libdap4-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/libdap4-//g\\\")\"}={:BES_VERSION=>\"$(grep \\\"bes-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/bes-//g\\\")\"}={:HYRAX_VERSION=>\"$(grep \\\"hyrax-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/hyrax-//g\\\")\"}={:OLFS_VERSION=>\"$(grep \\\"olfs-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/olfs-//g\\\")\"}={:OLFS_DISTRO=>\"\\\"olfs-${OLFS_VERSION}-webapp.tgz\\\"\"}={:OLFS_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${OLFS_DISTRO}\\\"\"}={:NGAP_DISTRO=>\"\\\"ngap-${OLFS_VERSION}-webapp.tgz\\\"\"}={:NGAP_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${NGAP_DISTRO}\\\"\"}={:ROBOTS_DISTRO=>\"\\\"robots-olfs-${OLFS_VERSION}-webapp.tgz\\\"\"}={:ROBOTS_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${ROBOTS_DISTRO}\\\"\"}={:LIBDAP_RH8_RPM=>\"\\\"libdap-${LIBDAP_VERSION}.el8.x86_64.rpm\\\"\"}={:LIBDAP_RH8_RPM_URL=>\"\\\"s3://opendap.travis.build/${LIBDAP_RH8_RPM}\\\"\"}={:BES_RH8_RPM=>\"\\\"bes-${BES_VERSION}.static.el8.x86_64.rpm\\\"\"}={:BES_RH8_RPM_URL=>\"\\\"s3://opendap.travis.build/${BES_RH8_RPM}\\\"\"}={:TOMCAT_MAJOR_VERSION=>\"9\"}={:S3_BUILD_BUCKET=>\"\\\"opendap.travis.build\\\"\"}={:ADD_DEBUG_RPMS=>\"\\\"\\\"\"}"
  ],
  "before_install": [
    "python3 --version",
    "pip3 install awscli",
    "if test \"${TRAVIS_PULL_REQUEST}\" = \"false\"; then export DEPLOY_ME=\"true\"; else export DEPLOY_ME=\"false\"; fi"
  ],
  "stages": [
    {
      "name": "OLFS",
      "if": "branch = master"
    },
    {
      "name": "BUILD_AND_TEST",
      "if": "branch = master"
    },
    {
      "name": "BUILD",
      "if": "branch = master"
    },
    {
      "name": "TEST_DEPLOYED_IMAGE",
      "if": "branch = master"
    },
    {
      "name": "disabled",
      "if": "branch = disabled"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "BUILD_AND_TEST",
        "name": "Build and Test opendap/hyrax:snapshot (RH8)",
        "script": [
          "cd builds",
          "export DOCKER_NAME=\"hyrax\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}:snapshot\"",
          "export BUILD_VERSION_TAG=\"opendap/${DOCKER_NAME}:${HYRAX_VERSION}\"",
          "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}\" \"el8\" \"${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 \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" \"${DOCKER_NAME}\"",
          "docker image ls -a",
          "cd ..",
          "echo \"Running Test Script\"",
          "./regression_test_script -i ${SNAPSHOT_IMAGE_TAG}"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/besd:snapshot (RH8)",
        "script": [
          "cd builds",
          "export DOCKER_NAME=\"besd\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}:snapshot\"",
          "export BUILD_VERSION_TAG=\"opendap/${DOCKER_NAME}:${BES_VERSION}\"",
          "show_version",
          "s3_get_besd_distro \"${S3_BUILD_BUCKET}\" \"${DOCKER_NAME}\" \"el8\" \"${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 \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" \"${DOCKER_NAME}\"",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/hyrax_ncwms:snapshot (RH8)",
        "script": [
          "cd builds",
          "export DOCKER_NAME=\"hyrax\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}_ncwms:snapshot\"",
          "export BUILD_VERSION_TAG=\"opendap/${DOCKER_NAME}_ncwms:${HYRAX_VERSION}\"",
          "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}\" \"el8\" \"${LIBDAP_VERSION}\" \"${BES_VERSION}\" \"${ADD_DEBUG_RPMS}\" 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 --build-arg USE_NCWMS=true --tag \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" \"${DOCKER_NAME}\"",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/hyrax:ngap-snapshot (RH8)",
        "script": [
          "cd builds",
          "export DOCKER_NAME=\"ngap\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/hyrax:${DOCKER_NAME}-snapshot\"",
          "export BUILD_VERSION_TAG=opendap/hyrax:${DOCKER_NAME}-${HYRAX_VERSION}",
          "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}\" \"el8\" \"${LIBDAP_VERSION}\" \"${BES_VERSION}\" \"${ADD_DEBUG_RPMS}\" 2>&1",
          "get_ngap_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 \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" \"${DOCKER_NAME}\"",
          "docker image ls -a"
        ]
      },
      {
        "stage": "BUILD",
        "name": "Build opendap/olfs:snapshot",
        "script": [
          "cd builds",
          "export DOCKER_NAME=\"olfs\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}:snapshot\"",
          "export BUILD_VERSION_TAG=\"opendap/${DOCKER_NAME}:${OLFS_VERSION}\"",
          "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 \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" olfs",
          "docker image ls -a"
        ]
      },
      {
        "stage": "TEST_DEPLOYED_IMAGE",
        "name": "Test Deployed Image (RH8)",
        "script": [
          "export TEST_IMAGE=opendap/hyrax:${HYRAX_VERSION}",
          "echo \"Running Hyrax Regression Test Script on ${TEST_IMAGE}\"",
          "./regression_test_script -i \"${TEST_IMAGE}\"",
          "export DEPLOY_ME=\"false\""
        ]
      }
    ]
  },
  "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}/deploy_to_docker_hub.sh",
      "on": {
        "branch": [
          "master"
        ],
        "condition": [
          "${DEPLOY_ME} = \"true\""
        ]
      }
    }
  ]
}