Skip to content

Switch to use gen_random_uuid() instead of uuid_random_v4()#586

Open
msgitter wants to merge 1 commit into
claeis:masterfrom
msgitter:master
Open

Switch to use gen_random_uuid() instead of uuid_random_v4()#586
msgitter wants to merge 1 commit into
claeis:masterfrom
msgitter:master

Switch to use gen_random_uuid() instead of uuid_random_v4()

bae379b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Mar 6, 2026 in 1m 4s

Build Errored

The build errored, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #586 Switch to use generate_random_uuid() instead of uuid_random_v4().
Any changes that have been made to the master branch before the build ran are also included.

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 Java
Operating System Linux (Focal)
JDK Version openjdk8
Build Configuration
{
  "language": "java",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "jdk": [
    "openjdk8"
  ],
  "branches": {
    "only": [
      "master",
      "stable"
    ]
  },
  "services": [
    "docker",
    "mysql"
  ],
  "addons": {
    "postgresql": "12",
    "ssh_known_hosts": [
      "ftp.interlis.ch"
    ],
    "apt": {
      "packages": [
        "python3",
        "python3-pip",
        "postgresql-postgis"
      ]
    }
  },
  "env": [
    "global={:PGPORT=>\"5433\"}={:PGUSER=>\"postgres\"}"
  ],
  "install": [
    "true"
  ],
  "before_script": [
    "grep port /etc/postgresql/*/main/postgresql.conf",
    "sudo cp /etc/postgresql/13/main/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf",
    "sudo service postgresql stop",
    "sudo service postgresql start 12",
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
    "docker run --name=mssql-test -e 'ACCEPT_EULA=Y' -e 'MSSQL_PID=Developer' -e 'MSSQL_SA_PASSWORD=MsInst2019x' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2022-CU9-ubuntu-20.04",
    "sleep 30; docker ps -a; docker logs --tail=50 mssql-test; docker exec -it mssql-test  /opt/mssql-tools/bin/sqlcmd -S . -U sa -P MsInst2019x -Q 'SELECT @@VERSION;'",
    "docker exec -it mssql-test  /opt/mssql-tools/bin/sqlcmd -S . -U sa -P MsInst2019x -Q 'create database ili2db;'",
    "mysql -u root --password=\"\" -e 'SHOW VARIABLES LIKE \"%version%\";'",
    "psql -c 'create database ili2db;' -U $PGUSER",
    "psql -c 'select version();' -d ili2db -U $PGUSER",
    "psql -c 'create extension if not exists postgis;' -d ili2db -U $PGUSER",
    "psql -c 'create extension if not exists pgcrypto;' -d ili2db -U $PGUSER",
    "psql -c 'select postgis_full_version();' -d ili2db -U $PGUSER",
    "python3 --version",
    "virtualenv -p python3 my_py3",
    "source my_py3/bin/activate",
    "python -m pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org install docutils",
    "python -m pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org install Pygments",
    "python -m pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org install rst2html",
    "python -m pip freeze"
  ],
  "script": [
    "./gradlew jar test",
    "./gradlew ili2mysqlJar ili2mysqlTest -Dmyurl=jdbc:mysql://localhost/ili2db?useSSL=false -Dmyusr=root",
    "./gradlew ili2pgJar ili2pgTest -Ddburl=jdbc:postgresql://127.0.0.1:$PGPORT/ili2db -Ddbusr=$PGUSER",
    "./gradlew ili2gpkgJar ili2gpkgTest",
    "./gradlew ili2fgdbJar",
    "./gradlew ili2mssqlJar ili2mssqlTest \"-Ddburl=jdbc:sqlserver://localhost;databaseName=ili2db\" -Ddbusr=sa -Ddbpwd=MsInst2019x",
    "./gradlew -Drst2html=`which rst2html.py` usrdoc testreport ili2mysqlBindist ili2pgBindist ili2fgdbBindist ili2mssqlBindist ili2oraBindist"
  ],
  "after_failure": [
    "cat build/junitreport/junit-noframes.html && sleep 10"
  ],
  "deploy": [
    {
      "provider": "script",
      "skip_cleanup": true,
      "script": "./gradlew -Drst2html=`which rst2html.py` -Drepos_pwd=${repos_pwd} -Drepos_usr=${repos_usr} -Drepos_url=${repos_url} uploadArchives",
      "on": {
        "branch": [
          "master"
        ]
      }
    },
    {
      "provider": "script",
      "skip_cleanup": true,
      "script": "./gradlew -Drst2html=`which rst2html.py` -Drepos_pwd=${repos_pwd} -Drepos_usr=${repos_usr} -Drepos_url=${repos_url} '-Drelease=' -Ddownloads_pwd=${downloads_pwd} -Ddownloads_usr=jql_downloads -Ddocs_pwd=${docs_pwd} -Ddocs_usr=jql_docs uploadArchives uploadBin uploadDoc",
      "on": {
        "branch": [
          "stable"
        ]
      }
    }
  ],
  "notifications": {
    "email": [
      {
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  }
}