Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 10, 2023

Bumps deployer/deployer from 6.8.0 to 7.1.1.

Release notes

Sourced from deployer/deployer's releases.

v7.1.1

  • Added support for php8.2.
  • Fixed YAML import order bug.

v7.1.0

  • Fixed PHP 8.1.14 compatibilities.
  • Added Magento2 artifact deployment (#3317)
  • Added pub/static/_cache as shared_dir (#3343)
  • Added NewRelic endpoint to config and used it when posting to api (#3374)
  • Fix: use include path when importing YAML files (#3377)
  • Laravel recipe: Add horizon publish command (#3425)
  • Added CraftCMS recipe (#3405)
  • Added Cloudflare API Token support for auth, domain optional if zone_id provided (#3406)
  • Added --yes flag to Caddy gpg command (#3407)
  • Laravel recipe: Skip database tasks if .env is missing (#3359)
  • Fix: #3319 - Receiving variables db_user and db_name (#3351)
  • Fix: escape metainfo to prevent bash syntax errors (#3328)
  • Additional writable modes (#3316)
  • Fixed typo for SSH_KNOWN_HOSTS in CI/CD docs (#3310)
  • Fix: only delete symlink on broken release
  • Improved error message: show next free release

v7.0.2

This release contains small improvements:

  • Better error messages.
  • Keeps release folder after unsuccessful deploy.
  • Removed Levenshtein config check.

v7.0.1

What's Changed

New Contributors

Full Changelog: deployphp/deployer@v7.0.0...v7.0.1

v7.0.0

... (truncated)

Upgrade guide

Sourced from deployer/deployer's upgrade guide.

Upgrade a major version

Upgrade from 6.x to 7.x

Step 1: Update deploy.php

  1. Change config hostname to alias.

  2. Change config real_hostname to hostname.

  3. Change config user to remote_user.

  4. Update host() definitions:

    1. Add set prefix to all setters: identityFile -> setIdentityFile or set('identity_file')
    2. Update host(...)->addSshOption('UserKnownHostsFile', '/dev/null') to host(...)->setSshArguments(['-o UserKnownHostsFile=/dev/null']);
    3. Replace stage with labels, i.e.
      host('deployer.org')
          ->set('labels', ['stage' => 'prod']);
      When deploying instead of dep deploy prod use dep deploy stage=prod.
    4. alias() is deleted, host() itself sets alias and hostname, to override hostname use setHostname().
  5. Update task() definitions.

    1. Replace onRoles() with select():
      task(...)
          ->select('stage=prod');
  6. Third party recipes now live inside main Deployer repo in contrib:

    require 'contrib/rsync.php';
  7. Replace inventory() with import(). It now can import hosts, configs, tasks:

    import: recipe/common.php
    config:
    application: deployer
    shared_dirs:
    - uploads
    - storage/logs/
    - storage/db
    shared_files:
    - .env
    - config/test.yaml
    keep_releases: 3
    http_user: false
    hosts:
    prod:
    local: true

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [deployer/deployer](https://github.com/deployphp/deployer) from 6.8.0 to 7.1.1.
- [Release notes](https://github.com/deployphp/deployer/releases)
- [Upgrade guide](https://github.com/deployphp/deployer/blob/master/docs/UPGRADE.md)
- [Commits](deployphp/deployer@v6.8.0...v7.1.1)

---
updated-dependencies:
- dependency-name: deployer/deployer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jan 10, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 19, 2023

Superseded by #1239.

@dependabot dependabot bot closed this Jan 19, 2023
@dependabot dependabot bot deleted the dependabot/composer/deployer/deployer-7.1.1 branch January 19, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants