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.1.3 #1425

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

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

Bumps deployer/deployer from 6.8.0 to 7.1.3.

Release notes

Sourced from deployer/deployer's releases.

v7.1.3

Fixes previously broken build.

v7.1.3-beta.1

No release notes provided.

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

... (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
  • 9c9a818 Deployer 7.1.3
  • 6b354c2 update writable deploy recipe to use release_or_current_path (#3449)
  • a60fd54 Fix PostgreSQL provisioning
  • 3d68ee5 Fix PostgresDB user creation
  • a14383b Show failed tasks for CI-environments (#3446)
  • 91c7260 Fix NodeJS 12 warning: update EndBug/add-and-commit action (#3442)
  • 183d026 Replace unmaintained satackey/push-prebuilt-action by a maintained fork (#3437)
  • 1a4d417 Fix Node.js 12 actions are deprecated (#3435)
  • 1b11e19 Fix set-output command is deprecated and will be disabled soon (#3436)
  • f6e6dbd Add "new version" banners on release
  • 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.1.3.
- [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.3)

---
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 Jan 19, 2023
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
0 participants