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 CollectoryService to use real caching and cache 404 responses #220

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Update CollectoryService to use real caching and cache 404 responses

71915da
Select commit
Loading
Failed to load commit list.
Open

Update CollectoryService to use real caching and cache 404 responses #220

Update CollectoryService to use real caching and cache 404 responses
71915da
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch required action Nov 25, 2024 in 2m 40s

Build Errored

The build errored.

Details

This is a normal build for the feature/collectory-caching-update branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Groovy
Operating System Linux (Focal)
JDK Version openjdk11
Build Configuration
{
  "language": "groovy",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "arch": [
    "amd64"
  ],
  "jdk": [
    "openjdk11"
  ],
  "sudo": false,
  "branches": {
    "only": [
      "master",
      "develop",
      "/^feature\\/.*$/",
      "/^hotfix\\/.*$/"
    ]
  },
  "services": [
    "docker",
    "postgresql"
  ],
  "before_cache": [
    "rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock"
  ],
  "cache": {
    "directories": [
      "$HOME/.m2",
      "$HOME/.gradle/caches/",
      "$HOME/.gradle/wrapper/"
    ]
  },
  "before_install": [
    "sudo rm /usr/local/bin/docker-compose",
    "curl -L https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-`uname -s`-`uname -m` > docker-compose",
    "chmod +x docker-compose",
    "mkdir -p ~/.docker/cli-plugins/",
    "cp docker-compose ~/.docker/cli-plugins/docker-compose",
    "sudo cp docker-compose /usr/local/bin",
    "docker-compose -f elastic.yml up -d",
    "export GRADLE_OPTS=\"-Dgrails.env=travis\""
  ],
  "install": [
    "travis_wait 30 ./gradlew clean",
    "./gradlew assemble"
  ],
  "after_success": [
    "[ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ] && GRADLE_OPTS=\"-Dgrails.env=production\" travis_retry ./gradlew publish --stacktrace"
  ],
  "after_script": [
    "docker-compose -f elastic.yml kill"
  ],
  "after_failure": [
    "cat /home/travis/build/AtlasOfLivingAustralia/image-service/build/test-results/integrationTest/*"
  ],
  "env": [
    "global={:JAVA_TOOL_OPTIONS=>\"-Dhttps.protocols=TLSv1.2\"}=TRAVIS_DEPLOY_USERNAME=[secure]=TRAVIS_DEPLOY_PASSWORD=[secure]"
  ]
}