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

Fixing: Media headers should work for non-WhatsApp tiplines. #1659

Merged
merged 1 commit into from
Sep 18, 2023

Fixing: Media headers should work for non-WhatsApp tiplines.

b8e2aae
Select commit
Loading
Failed to load commit list.
Merged

Fixing: Media headers should work for non-WhatsApp tiplines. #1659

Fixing: Media headers should work for non-WhatsApp tiplines.
b8e2aae
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Branch succeeded Sep 18, 2023 in 1h 37m 57s

Build Passed

The build passed.

Details

This is a normal build for the fix/CV2-3646-media-header-non-whatsapp-newsletter branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has three jobs, running in parallel.

Stage 1: tests

This stage passed.

Job ENV OS State
14730.1 functional-tests CODECLIMATE_REPO_TOKEN=[secure] Linux passed
14730.2 unit-tests CODECLIMATE_REPO_TOKEN=[secure] Linux passed
14730.3 contract-tests CODECLIMATE_REPO_TOKEN=[secure] Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Bionic)
Build Configuration
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "before_install": [
    "export RECORD_RUNTIME=true",
    "export LC_ALL=C.UTF-8",
    "export LANG=C.UTF-8",
    "export LANGUAGE=C.UTF-8",
    "export PATH=/root/.local/bin:$PATH",
    "rm -rf tmp/cache tmp/cache1 tmp/cache2 tmp/cache3 tmp/cache4 tmp/cache5 && mkdir -p tmp/cache tmp/cache1 tmp/cache2 tmp/cache3 tmp/cache4 tmp/cache5"
  ],
  "before_script": [
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
    "echo '[default]' > credentials && echo \"aws_access_key_id = $AWS_ACCESS_KEY_ID\" >> credentials && echo \"aws_secret_access_key = $AWS_SECRET_ACCESS_KEY\" >> credentials",
    "cp config/config.yml.example config/config.yml",
    "cp config/database.yml.example config/database.yml",
    "cp config/sidekiq.yml.example config/sidekiq.yml",
    "cp config/credentials.json.example config/credentials.json",
    "cp config/sidekiq-test.yml.example config/sidekiq-test.yml",
    "docker-compose build",
    "docker-compose run api bash -c 'touch /tmp/no-syntax-errors && find app lib config -name *.rb -exec bash -c \"ruby -c {} >/dev/null || rm /tmp/no-syntax-errors\" \";\" && ls /tmp/no-syntax-errors'",
    "docker-compose -f docker-compose.yml -f docker-test.yml up -d",
    "tail -f log/test.log &",
    "until curl --silent -I -f --fail http://localhost:3000 ; do printf .; sleep 1; done",
    "docker-compose exec api test/setup-parallel-env.sh",
    "docker-compose exec api bundle exec rake assets:precompile",
    "sleep 10",
    "touch tmp/parallel_runtime_test.log",
    "chmod +w tmp/parallel_runtime_test.log"
  ],
  "after_script": [
    "docker-compose exec -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST -e TRAVIS_TEST_RESULT=$TRAVIS_TEST_RESULT -e TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG -e TRAVIS_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER -e GIT_COMMIT_SHA=$GIT_COMMIT_SHA -e GIT_COMMITTED_AT=$GIT_COMMITTED_AT -e CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID -e PATH=$PATH -e TRAVIS_JOB_NAME=$TRAVIS_JOB_NAME -e AWS_CONFIG_FILE=/app/credentials api test/test-coverage.sh"
  ],
  "jobs": {
    "include": [
      {
        "stage": "tests",
        "name": "functional-tests",
        "script": [
          "docker-compose exec -e PATTERN='models mailers integration workers lib contract' api test/run-tests.sh"
        ]
      },
      {
        "stage": "tests",
        "name": "unit-tests",
        "script": [
          "docker-compose exec -e PATTERN='controllers contract' api test/run-tests.sh"
        ]
      },
      {
        "stage": "tests",
        "name": "contract-tests",
        "script": [
          "docker-compose exec -e PATTERN='controllers models mailers integration workers lib' api test/run-tests.sh"
        ]
      }
    ]
  },
  "notifications": {
    "slack": [
      {
        "rooms": [
          {
            "secure": "dhqNhrJ0FVPnjtxa7R6k0s+1h/gMFNeK8zYJLZw+mK/FJ41K1u82Y8E6IDFbgNcKyAJ27ielvzGgWGSkDVltEnPR+ph15OMcy05TM9Pr2tWNusbDECOaEQgn4vGOq0shmiahE9tTOQpgc1TzhzIF9o1xgocah2PCLKiiH06kiiRlNZkaeQSJRFrXsPDDK8jIUtkLLUvFGQA6fq/lOh4tN6/N+K6+fo86wSxarkjv3d6h2flqvQqvqkbNpkv/UBC2Y1QACP+EX6uA0ySer8K5X6Q0Trrkjjacwvo5j74UVa+UYrBD+vr7Mgnr5aNFNId6M2nHd92ZiPM+6VDllCWsDLvJ2qFFy8cOO693EjrU7puaPp29+sptriIC71dk1oHSIEpPWwuaEZKzpwP4Swe322ne2th2VrjMhIye2Ru0519Lr2Dl4iTVV+hxoeVta3Nng23rUjrGoAbcw2FO1jmhANp8JWatv/V4PmlrS1/kYbiCfltWOMbKAD9f1EOTFnPCJsp3hPL238Ic+kvNJ8LM+ItNNR5cly+JPto6nSnMO8uhig9i78Mp2hVpnvrwhDLYntWEP2vcaNhP8oRys7X2iq5PRmsRwr9SyJReczd6i5gnvskXqKat6mNfPeGMBKSYof/1ve3Um0wEtwaYxvU5y/ZezFc3Kzzi6vt4P86j+mg="
          }
        ]
      }
    ]
  },
  "env": [
    "global=CODECLIMATE_REPO_TOKEN=[secure]=AWS_ACCESS_KEY_ID=[secure]=AWS_SECRET_ACCESS_KEY=[secure]=DOCKER_USERNAME=[secure]=DOCKER_PASSWORD=[secure]=CC_TEST_REPORTER_ID=[secure]"
  ]
}