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

Remove requirement for phone, email and url on organisations and services #132

Merged

Updated ERD

641a241
Select commit
Loading
Failed to load commit list.
Merged

Remove requirement for phone, email and url on organisations and services #132

Updated ERD
641a241
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded May 2, 2024 in 21m 17s

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 #132 Remove requirement for phone, email and url on organisations and services.
Any changes that have been made to the develop 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 Python
Operating System Linux (Focal)
Python Version 3.8
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "branches": {
    "only": [
      "/^[0-9]{4}\\.[0-9]{2}\\.[0-9]{2}\\.[0-9]+$/",
      "master",
      "develop"
    ]
  },
  "python": [
    "3.8"
  ],
  "services": [
    "docker"
  ],
  "before_install": [
    "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -",
    "sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"",
    "sudo apt-get update",
    "sudo apt-get -y -o Dpkg::Options::=\"--force-confnew\" install docker-ce"
  ],
  "before_script": [
    "if [ ! -z \"$DOCKER_USER\" ] && [ ! -z \"$DOCKER_PWD\" ];  then echo ${DOCKER_PWD} | docker login --username ${DOCKER_USER} --password-stdin; fi",
    "sudo service mysql stop",
    "./develop build",
    "./develop up -d",
    "./develop npm ci",
    "./develop npm run dev",
    "./develop composer install",
    "./develop run --rm -T app mv .env.example .env",
    "./develop artisan key:generate",
    "./develop artisan passport:keys"
  ],
  "script": [
    "./develop composer test:style",
    "./develop composer test:unit"
  ],
  "after_failure": [
    "cat storage/logs/testing.log"
  ],
  "before_deploy": [
    "if ! [[ ${HAS_RAN_BEFORE_DEPLOY} ]]; then\n  export HAS_RAN_BEFORE_DEPLOY=\"TRUE\"\n\n  echo \"Compiling assets for production...\"\n  ./develop npm run prod\n\n  echo \"Installing AWS CLI...\"\n  curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\n  unzip awscliv2.zip\n  sudo ./aws/install\n  echo aws --version\nfi\n"
  ],
  "deploy": [
    {
      "provider": "script",
      "script": "ENVIRONMENT=production REPO_URI=$REPO_URI_PRODUCTION CLUSTER=$CLUSTER_PRODUCTION AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_PRODUCTION AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_PRODUCTION AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION_PRODUCTION bash .travis/deploy.sh",
      "skip_cleanup": true,
      "on": {
        "all_branches": true,
        "condition": [
          "${TRAVIS_TAG} =~ ^[0-9]{4}\\.[0-9]{2}\\.[0-9]{2}\\.[0-9]+$"
        ]
      }
    },
    {
      "provider": "script",
      "script": "ENVIRONMENT=staging REPO_URI=$REPO_URI_STAGING CLUSTER=$CLUSTER_STAGING AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID_STAGING AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY_STAGING AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION_STAGING bash .travis/deploy.sh",
      "skip_cleanup": true,
      "on": {
        "branch": [
          "develop"
        ]
      }
    }
  ]
}