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

[BACK-2765] Fix schema migration loop #684

Merged
merged 2 commits into from
Dec 3, 2023

add schema migration unit tests

f4086ff
Select commit
Loading
Failed to load commit list.
Merged

[BACK-2765] Fix schema migration loop #684

add schema migration unit tests
f4086ff
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Nov 30, 2023 in 23m 28s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the fix-migration-loop 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 Go
Operating System Linux (Jammy)
Go Version 1.21.x
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "sudo": false,
  "go": [
    "1.21.x"
  ],
  "go_import_path": "github.com/tidepool-org/platform",
  "env": [
    "global={:MONGODB=>\"6.0.11\"}={:MONGOSH=>\"2.0.2\"}={:DIST=>\"jammy\"}"
  ],
  "before_install": [
    "sudo apt update",
    "sudo apt install -y docker-buildx mongodb-org=${MONGODB} mongodb-org-database=${MONGODB} mongodb-org-server=${MONGODB} mongodb-mongosh=${MONGOSH} mongodb-org-mongos=${MONGODB} mongodb-org-tools=${MONGODB}",
    "mkdir /tmp/data",
    "/usr/bin/mongod --replSet rs0 --dbpath /tmp/data --bind_ip 127.0.0.1 --logpath ${PWD}/mongod.log &> /dev/null &",
    "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done",
    "/usr/bin/mongosh --host 127.0.0.1 --port 27017 --eval 'rs.initiate(); while (rs.status().startupStatus || (rs.status().hasOwnProperty(\"myState\") && rs.status().myState != 1)) { printjson( rs.status() ); sleep(1000); }; printjson( rs.status() );'"
  ],
  "addons": {
    "apt": {
      "sources": [
        {
          "sourceline": "deb https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse",
          "key_url": "https://pgp.mongodb.com/server-6.0.asc"
        }
      ]
    },
    "artifacts": {
      "paths": [
        "$(git ls-files -o deploy/*/*-*.tar.gz | tr \"\\n\" \":\")"
      ],
      "target_paths": [
        "/"
      ],
      "region": "us-west-2"
    },
    "code_climate": {
      "repo_token": "91ded9b66924acbe830541ab3593daf535f05f7c6db91b5cbd2d26dcf37da0b8"
    }
  },
  "services": [
    "docker"
  ],
  "script": [
    "make ci-generate ci-build ci-test ci-deploy ci-docker"
  ],
  "cache": {
    "directories": [
      "$HOME/.cache/go-build"
    ]
  }
}