Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Allow installing a specific ddev version #15

Closed
jonaseberle opened this issue Jan 11, 2022 · 4 comments
Closed

Allow installing a specific ddev version #15

jonaseberle opened this issue Jan 11, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@jonaseberle
Copy link
Owner

Especially with things like upcoming breaking ddev release v1.19 I'd not like build pipelines to break.
So I would like to control which ddev version will be installed.

@jonaseberle jonaseberle added the enhancement New feature or request label Jan 11, 2022
@hawkeyetwolf
Copy link

hawkeyetwolf commented Nov 10, 2022

When installing via the install script, we can just pass the version we want to install, e.g.,:

inputs:
  version:
    description: "Override the DDEV version .e.g. '1.19.0'"
    required: false
# Download and run the DDEV installer
if [ "${{ inputs.version }}" != "" ]; then
  curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh v${{ inputs.version }}
else
  curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh
fi
rm -f install_ddev.sh

With the current implementation of installing via apt, I'm not sure the correct syntax, just figured I'd drop the snippet here in case it's useful :)

@deviantintegral
Copy link

This would be very helpful. I think it's also required for #7 to work fully.

@deviantintegral
Copy link

This would also be useful for situations like ddev/ddev#4614 where we may want to run HEAD in CI.

@jonaseberle
Copy link
Owner Author

We have moved to https://github.com/ddev/github-action-setup-ddev.
This repo will be archived (read-only). I am going to close all issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants