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

Add ddev pull upsun support #5446

Closed
1 task done
rfay opened this issue Oct 23, 2023 · 3 comments
Closed
1 task done

Add ddev pull upsun support #5446

rfay opened this issue Oct 23, 2023 · 3 comments
Assignees
Milestone

Comments

@rfay
Copy link
Member

rfay commented Oct 23, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Platform.sh has a new product called Upsun, which needs ddev pull upsun

Describe your solution

  • Add the upsun cli into the web container
  • Add upsun.yaml
  • Add CI for testing it

Describe alternatives

No response

Additional context

No response

@rfay rfay modified the milestones: v1.23, v1.22.5 Oct 23, 2023
@stasadev stasadev self-assigned this Oct 24, 2023
@rfay
Copy link
Member Author

rfay commented Oct 24, 2023

I will work on getting us account and a site to use.

@rfay
Copy link
Member Author

rfay commented Oct 28, 2023

@stasadev I added your DDEV gmail address to the upsun org "DDEV", hopefully that gives you access. If not we'll work with them to sort it out.

  • You'll need to add your ssh pubkey into your Upsun account
  • The test target (and manual testing environment) is https://console.upsun.com/ddev/nqorjgl7ohua4
  • I created the "main" environment (which we don't really use) and a pull and push environment, which will be used for the test
  • The login to the drupal site is the same on all and is in 1Password. I would have left it admin/admin but this is publicly exposed, so might as well have a real password even though it's annoying.
  • Add upsun tool into the web image and push a new image version
  • We'll need an API token configured, added to github actions, and put in 1Password
  • Copy platform.yaml to upsun.yaml to make it work, improve either or both along the way.
  • After manual testing, create the tests; will be the same as the TestPlatformPull and TestPlatformPush
  • There are no worries about the actual content of any of these environments, we can recreate as needed. And you can push to git, etc.

@mbomb007
Copy link
Contributor

I saw the tip about this and said out loud, "What's upsun?" Kind of like "What's up, son?" Reminded me of one of those jokes like "What's a motto?" "Nothing. What's a motto with you?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants