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

ajgon / opsworks_ruby / 575 / 5
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v1.20.3
DEFAULT BRANCH: master
Ran 23 Nov 2019 06:59PM UTC
Files 37
Run time 1s
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

23 Nov 2019 06:39PM UTC coverage: 100.0%. First build
2.6.0, INSTANCE=s3-thin-nginx-padrino-delayed-job-ubuntu-1604

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

1796 of 1796 relevant lines covered (100.0%)

2.12 hits per line

Source Files on job 575.5 (2.6.0, INSTANCE=s3-thin-nginx-padrino-delayed-job-ubuntu-1604)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 511
  • Travis Job 575.5
  • 9fc58c35 on github
  • Next Job for 2.6.0, INSTANCE=s3-thin-nginx-padrino-delayed-job-ubuntu-1604 on fix/224 (#576.5)
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