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

Restored API login validation #3712

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

Restored API login validation

299c7a9
Select commit
Loading
Failed to load commit list.
Open

Restored API login validation #3712

Restored API login validation
299c7a9
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Dec 2, 2024 in 5m 50s

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 #3712 Restored API login validation.
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 PHP
Operating System Linux (Focal)
PHP Version 7.4
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "php": [
    "7.4"
  ],
  "branches": {
    "only": [
      "develop",
      "/^v?(\\d+\\.)?(\\d+\\.)?(\\d+)(-[a-z\\d]+)?$/",
      "freddy"
    ]
  },
  "git": {
    "submodules": false
  },
  "before_install": [
    "export BUILD=$(awk 'NF>1 {print $3}' inc/version.ini | sed 's/\"//g')",
    "pip install -U pip",
    "pip install awscli",
    "sed -i \"s/[email protected]:/https:\\/\\/${CI_USER_TOKEN_MATECATBOT}@github.com\\//\" .gitmodules",
    "git submodule update --init --recursive"
  ],
  "script": [
    "\necho \"Load services\"\ndocker-compose -f docker/docker-compose-ci.yml build mysql redis > /dev/null 2>&1\ndocker-compose -f docker/docker-compose-ci.yml create mysql redis > /dev/null 2>&1\n\n# keep logs for the base node\ndocker-compose -f docker/docker-compose-ci.yml build base-node\n\n# silent for test node\necho \"Build test node\"\ndocker-compose -f docker/docker-compose-ci.yml build test-node > /dev/null 2>&1\n\n# Run tests\ndocker-compose -f docker/docker-compose-ci.yml up test-node --exit-code-from test-node || exit 1\n\nif [[ ! -z \"${TRAVIS_TAG}\" ]] ; then\n\n  docker-compose -f docker/docker-compose-ci.yml build || exit 1\n\n  docker tag matecat/matecat-web-node  449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:latest\n  docker tag matecat/matecat-web-node  449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  docker tag matecat/matecat-daemons-node  449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:latest\n  docker tag matecat/matecat-daemons-node  449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  # AWS CLI V1\n  $( aws ecr get-login --no-include-email --region eu-central-1 )\n\n  docker push 449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n  docker push 449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  docker push 449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:latest\n  docker push 449641877310.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:latest\n\nelif [[ \"${TRAVIS_BRANCH}\" == \"freddy\" ]] ; then\n\n  export AWS_ACCESS_KEY_ID=${BETA_AWS_ACCESS_KEY_ID}\n  export AWS_SECRET_ACCESS_KEY=${BETA_AWS_SECRET_ACCESS_KEY}\n\n  docker-compose -f docker/docker-compose-ci.yml build || exit 1\n\n  docker tag matecat/matecat-web-node  208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:latest\n  docker tag matecat/matecat-web-node  208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  docker tag matecat/matecat-daemons-node  208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:latest\n  docker tag matecat/matecat-daemons-node  208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  # AWS CLI V1\n  $( aws ecr get-login --no-include-email --region eu-central-1 )\n\n  docker push 208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n  docker push 208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:build-${BUILD}-${TRAVIS_BUILD_NUMBER}\n\n  docker push 208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-web-node:latest\n  docker push 208060995276.dkr.ecr.eu-central-1.amazonaws.com/matecat/matecat-daemons-node:latest\n\nfi\n"
  ],
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "duxxqPQPThoGXUGoZWoRymKlAhIJTL/APgZfQ1m4uroSLW3wlbmCJjXXEfeNE9wC8OQ+9XtSGVSdJYugGcoOFT2Xjh1UmiV8Rd+/avEbo6Wj465QcxlypcJF09XN5oaxkf+Gokn0P9zBmVS5EwNART45acR2YU3qHqvd4V5vOtflj1CXewYQlX9J7+nDtMR9tR/AA6RN3WFBGVUI68udpkGtntJ1uH/1ZVGX2k29kDLeS2Nkc6SchUfescGVAnje3gJaxnKbD3oGd2VP3FAK0bwPA/C7AzB26OqbL9pXdzhrxe2QcxsI61TCLJ1gBLDuuioSCHwjJHXWK5v1sKSQxVCKkE2jPL4igUkRRz0qRO5XDqTXP2airsMDYhly559c71RR8Y14Pv4hLt1JcOcQ2w206OD1Ug8I7B5PrUDm2lSZi43gArT/OaL109dGf7dO2jiM7GBvnDiQUbE8G1f1194D8vYQqT03K6+ca5PGdSQnIVlcSQfgFkm6Y+Rubm3b2Km+EjJ83f+VMQ39pXR8zaF8FSAPHG7vQSKGTPTJlYYcfuOkd/vFG+vxLKuVygfAN/J7hjjrG9glJ5Vk/glGW4Z6cbHwq3BRSsoiNJxMNOfgx67r9gD6/nxSaO3BGvl5pU/PaQcvaW5XgzaI+JWuDppbRgpScLIp5cNN77b+LdA="
          }
        ]
      }
    ]
  }
}