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

ajgon / opsworks_ruby / 576
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.20.3
DEFAULT BRANCH: master
Ran 23 Nov 2019 07:40PM UTC
Jobs 7
Files 259
Run time 32min
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
576

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"
        }
      }
    }
  }
}
```

12572 of 12572 relevant lines covered (100.0%)

14.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 576.1 (2.6.0, INSTANCE=default-ubuntu-1604) 23 Nov 2019 07:40PM UTC 0
100.0
Travis Job 576.1
2 576.2 (2.6.0, INSTANCE=all-options-ubuntu-1604) 23 Nov 2019 07:41PM UTC 0
100.0
Travis Job 576.2
3 576.3 (2.6.0, INSTANCE=default-with-shoryuken-ubuntu-1604) 23 Nov 2019 07:40PM UTC 0
100.0
Travis Job 576.3
4 576.4 (2.6.0, INSTANCE=http-unicorn-apache-hanami-resque-ubuntu-1604) 23 Nov 2019 07:41PM UTC 0
100.0
Travis Job 576.4
5 576.5 (2.6.0, INSTANCE=s3-thin-nginx-padrino-delayed-job-ubuntu-1604) 23 Nov 2019 07:41PM UTC 0
100.0
Travis Job 576.5
6 576.6 (2.6.0, INSTANCE=nullified-ubuntu-1604) 23 Nov 2019 07:53PM UTC 0
100.0
Travis Job 576.6
7 576.7 (2.6.0, INSTANCE=maximum-override-ubuntu-1604) 23 Nov 2019 08:12PM UTC 0
100.0
Travis Job 576.7
Source Files on build 576
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #576
  • b2650fbe on github
  • Prev Build on fix/224 (#575)
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