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

Bump deployer/deployer from 6.8.0 to 7.0.2 #1014

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 12, 2022

Bumps deployer/deployer from 6.8.0 to 7.0.2.

Release notes

Sourced from deployer/deployer's releases.

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

After more than 2 years of development, with contributions from 63 people, and the kind support of sponsors, I'm glad to present you with a brand new version of Deployer!

The v7 branch saw 40 betas, 9 RCs, with thousands of projects already using Deployer v7 in their production deployment.

One of the biggest changes is a new provision recipe. The provision recipe can automatically install and configure any VPS for running your PHP application. It will install webserver, SSL, PHP, Redis, node, etc. Everything that is needed to run any PHP application in production.

Getting Started

composer require deployer/deployer

v7.0.0-rc.9

... (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
  • 99a57a9 Deployer 7.0.2
  • 260ac59 [automatic] Update docs with bin/docgen
  • 7783299 Only delete symlink on broken release
  • 9bd7b48 Remove validate config
  • 88cb11a [automatic] Update docs with bin/docgen
  • 377970e Improve error message: show next free release
  • 7772351 [automatic] Update docs with bin/docgen
  • ed626d4 Add exception to accessing previous_release outside of release.
  • 2c3a975 Update UPGRADE.md
  • 9676945 Update documentation about selectors
  • Additional commits viewable in compare view

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.0.2.
- [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.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 12, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 20, 2023

Superseded by #1102.

@dependabot dependabot bot closed this Jan 20, 2023
@dependabot dependabot bot deleted the dependabot/composer/deployer/deployer-7.0.2 branch January 20, 2023 15:34
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