• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ajgon / opsworks_ruby / 575
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.20.3
DEFAULT BRANCH: master
Ran 23 Nov 2019 06:59PM UTC
Jobs 7
Files 222
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
575

push

travis-ci

ajgon
fix: replace symlink options instead of appending them

Before this patch, global options `symlinks`,
`create_dirs_before_symlink` and `purge_before_symlink` were appending
new entries to existing defaults, instead of replacing them. This was
counter-intuitive as all other options override existing ones and there
is no reason that there should be an exception.

Fixes #224

BREAKING CHANGE: `app['global']['create_dirs_before_symlink']`,
`app['global']['purge_before_symlink']` and `app['global']['symlinks']`
now overrides defaults instead of appending them. If you were relying on
those options in your Custom JSON, you need to add missing defaults
manually.

For example given:

```json
{
  "deploy": {
    "myapp": {
      "global": {
        "create_dirs_before_symlink": ["test/create"],
        "purge_before_symlink": ["test/purge"],
        "symlinks": {
          "test": "test/symlinks"
        }
      }
    }
  }
}
```

you need to replace it to:

```json
{
  "deploy": {
    "myapp": {
      "global": {
        "create_dirs_before_symlink": ["tmp", "public", "config", "../../shared/cache", "../../shared/assets", "test/create"],
        "purge_before_symlink": ["log", "tmp/cache", "tmp/pids", "public/system", "public/assets", "test/purge"],
        "symlinks": {
          "system": "public/system",
          "assets": "public/assets",
          "cache": "tmp/cache",
          "pids": "tmp/pids",
          "log": "log",
          "test": "test/symlinks"
        }
      }
    }
  }
}
```

10776 of 10776 relevant lines covered (100.0%)

14.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 575.1 (2.6.0, INSTANCE=default-ubuntu-1604) 23 Nov 2019 06:59PM UTC 0
100.0
Travis Job 575.1
2 575.2 (2.6.0, INSTANCE=all-options-ubuntu-1604) 23 Nov 2019 06:59PM UTC 0
100.0
Travis Job 575.2
3 575.3 (2.6.0, INSTANCE=default-with-shoryuken-ubuntu-1604) 23 Nov 2019 07:00PM UTC 0
100.0
Travis Job 575.3
4 575.4 (2.6.0, INSTANCE=http-unicorn-apache-hanami-resque-ubuntu-1604) 23 Nov 2019 06:59PM UTC 0
100.0
Travis Job 575.4
5 575.5 (2.6.0, INSTANCE=s3-thin-nginx-padrino-delayed-job-ubuntu-1604) 23 Nov 2019 06:59PM UTC 0
100.0
Travis Job 575.5
6 575.6 (2.6.0, INSTANCE=nullified-ubuntu-1604) 23 Nov 2019 07:11PM UTC 0
100.0
Travis Job 575.6
7 575.7 (2.6.0, INSTANCE=maximum-override-ubuntu-1604) 23 Nov 2019 07:11PM UTC 0
100.0
Travis Job 575.7
Source Files on build 575
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #575
  • 9fc58c35 on github
  • Next Build on fix/224 (#576)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc