You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/developers/release-management.md
+11-22
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,11 @@ The following “Repository secret” environment variables must be added to <ht
42
42
43
43
* Create and execute a test plan.
44
44
* Make sure [`version-history.md`](https://github.com/ddev/ddev/blob/master/version-history.md) is up to date.
45
+
* Push the new version of `drud/ddev-php-base`.
46
+
* Update `drud/ddev-webserver` to use the new version of `drud/ddev-php-base` and push it with the proper tag.
45
47
* Make sure the Docker images are all tagged and pushed.
46
48
* Make sure [`pkg/versionconstants/versionconstants.go`](https://github.com/ddev/ddev/blob/master/pkg/versionconstants/versionconstants.go) is all set to point to the new images and tests have been run.
47
-
* If the devcontainer-feature.json (for GitHub Codespaces) needs to be updated, use the [`devcontainer` CLI](https://github.com/devcontainers/cli):
49
+
* If the [`devcontainer-feature.json`](https://github.com/ddev/ddev/blob/master/.github/devcontainers/src/install-ddev/devcontainer-feature.json) (for GitHub Codespaces) needs to be updated, use the [`devcontainer` CLI](https://github.com/devcontainers/cli):
48
50
49
51
```bash
50
52
cd .github/devcontainers/source
@@ -55,44 +57,31 @@ The following “Repository secret” environment variables must be added to <ht
55
57
### Actual Release Creation
56
58
57
59
1. Create a [release](https://github.com/ddev/ddev/releases) for the new version using the GitHub UI. It should be “prerelease” if it’s an edge release.
58
-
2. Use the “Auto-generate release notes” option to get the commit list, then edit to add all the other necessary info.
59
-
3. Verify that Homebrew (Linux and macOS) and Chocolatey and AUR are working correctly with the right versions.
60
+
2. Make sure you're about to create the right release tag.
61
+
3. Use the “Auto-generate release notes” option to get the commit list, then edit to add all the other necessary info.
60
62
61
63
### Post-Release Tasks
62
64
63
65
1. After the release has been created, the new gitpod image must be pushed.
3. PR to update [ddev-gitpod-launcher](https://github.com/ddev/ddev-gitpod-launcher) with the new image.
67
69
68
70
## Pushing Docker Images with the GitHub Actions Workflow
69
71
70
72
The easiest way to push Docker images is to use the GitHub Actions workflow, especially if the code for the image is already in the [ddev/ddev](https://github.com/ddev/ddev) repository.
71
73
72
-
### Prerelease tasks
73
-
74
-
1. Push the new version of drud/ddev-php-base
75
-
2. Update drud/ddev-webserver to use the new version of drud/ddev-php-base and push it with the proper tag
76
-
3. Make sure the `version-history.md` file is up to date.
77
-
4. Make sure the docker images for the new tag are all tagged and pushed.
78
-
5. Make sure the pkg/version/version.go is all set to point to the new images (and tests have been run)
79
-
6. Make sure you're about to create the right release tag.
80
-
81
74
### Actual release creation
82
75
83
-
1. Create a release for the new version using the GitHub UI. It should be "prerelease" if it's an edge release. Use the right tag!
84
-
2. Use the "Auto-generate release notes" option to get the commit list, then edit to add all the other necessary info.
85
-
3. Verify that homebrew (linux and macOS) and Chocolatey and AUR are working correctly with the right versions
86
-
87
-
## Pushing docker images with the GitHub Actions workflow
88
-
89
-
The easiest way to push docker images is to use the GitHub Actions workflow, especially if the code forthe image is alreadyin the ddev repo.
76
+
1. Create a [release](https://github.com/ddev/ddev/releases) for the new version using the GitHub UI. It should be “prerelease” if it’s an edge release.
77
+
2. Use the “Auto-generate release notes” option to get the commit list, then edit to add all the other necessary info.
78
+
3. Verify that Homebrew (Linux and macOS) and Chocolatey and AUR are working correctly with the right versions.
90
79
91
80
<!-- markdown-link-check-disable-next-line -->
92
81
You can push an image at <https://github.com/ddev/ddev/actions/workflows/push-tagged-image.yml>
93
82
94
83
<!-- markdown-link-check-disable-next-line -->
95
-
If you need to push from a forked PR, you’ll have to do this from your fork (for example, `https://github.com/drud/rfay/actions/workflows/push-tagged-image.yml`), and you’ll have to specify the branch on the fork. This requires setting the `DOCKERHUB_TOKEN` and `DOCKERHUB_USERNAME` secrets on the forked PR, for example `https://github.com/rfay/ddev/settings/secrets/actions`.
84
+
If you need to push from a forked PR, you’ll have to do this from your fork (for example, `https://github.com/rfay/ddev/actions/workflows/push-tagged-image.yml`), and you’ll have to specify the branch on the fork. This requires setting the `DOCKERHUB_TOKEN` and `DOCKERHUB_USERNAME` secrets on the forked PR, for example `https://github.com/rfay/ddev/settings/secrets/actions`.
Copy file name to clipboardexpand all lines: docs/content/users/configuration/config.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ The type and version of the database engine the project should use.
83
83
84
84
| Type | Default | Usage
85
85
| -- | -- | --
86
-
| :octicons-file-directory-16: project | MariaDB 10.4 | Can be MariaDB 5.5–10.7, MySQL 5.5–8.0, or PostgreSQL 9–15.<br>See [Database Server Types](../extend/database-types.md) for examples and caveats.
86
+
| :octicons-file-directory-16: project | MariaDB 10.4 | Can be MariaDB 5.5–10.8, MySQL 5.5–8.0, or PostgreSQL 9–15.<br>See [Database Server Types](../extend/database-types.md) for examples and caveats.
87
87
88
88
!!!note
89
89
DDEV v1.18 and earlier used `mariadb_version` and `mysql_version`, which are now automatically converted to the `database` format.
Copy file name to clipboardexpand all lines: docs/content/users/topics/remote-docker.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ You can use remote Docker instances, whether on the internet, inside your networ
6
6
7
7
* On the remote machine, the Docker port must be exposed if it’s not already. See [instructions](https://gist.github.com/styblope/dc55e0ad2a9848f2cc3307d4819d819f) for how to do this on a systemd-based remote server. **Be aware that this has serious security implications and must not be done without taking those into consideration.** In fact, `dockerd` will complain:
8
8
9
-
> Binding to IP address without --tlsverify is insecure and gives root access on this machine to everyone who has access to your network. host="tcp://0.0.0.0:2375".
9
+
> Binding to IP address without `--tlsverify` is insecure and gives root access on this machine to everyone who has access to your network. host="tcp://0.0.0.0:2375".
10
10
11
11
* If you do not already have the Docker client installed (like you would from Docker Desktop), install *just* the client with `brew install docker`.
12
12
* Create a Docker context that points to the remote Docker instance. For example, if the remote hostname is `debian-11`, then `docker context create debian-11 --docker host=tcp://debian-11:2375 && docker use debian-11`. Alternately, you can use the `DOCKER_HOST` environment variable, e.g. `export DOCKER_HOST=tcp://debian-11:2375`.
Copy file name to clipboardexpand all lines: docs/content/users/topics/sharing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ This set of steps assumes an ngrok subdomain `mg2`:
46
46
* Run `bin/magento setup:store-config:set --base-url="https://mg2.ngrok.io/`.
47
47
* Run [`ddev share`](../usage/commands.md#share) and you’ll see your project at `mg2.ngrok.io`.
48
48
49
-
###Using nip.io or Custom Name Resolution on Your Local Network
49
+
## Using nip.io or Custom Name Resolution Locally
50
50
51
51
Another solution is to **not** use `*.ddev.site` as your project URLs, but to use DNS that you control and that points to the host machine where your project lives. In general, you’ll want to use HTTP URLs with this approach, because it requires manual configuration of the client machine to get it to trust the development certificate that DDEV uses and configures with `mkcert` on the local machine.
Copy file name to clipboardexpand all lines: docs/content/users/usage/architecture.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ A project’s `.ddev` directory can be intimidating at first, so let’s take a
44
44
: Files to be copied into the web container on startup. You could use this, for example, to override the default home directory contents (`.profile`, `.bashrc`, `.composer`, `.ssh`), or include scripts that you’d like to be available inside the container. (You can do the same thing globally in `~/.ddev/homeadditions`.) Check out the [homeadditions docs](../extend/in-container-configuration.md) for more.
45
45
46
46
`mutagen` directory
47
-
: Contains `mutagen/mutagen.yml`, where you can [override the default Mutagen configuration](../install/performance.md#advanced-mutagen-configuration-options).
47
+
: Contains `mutagen.yml`, where you can [override the default Mutagen configuration](../install/performance.md#advanced-mutagen-configuration-options).
48
48
49
49
`mysql` directory
50
50
: Contains [optional `mysql` or `mariadb` configuration](../extend/customization-extendibility.md#providing-custom-mysqlmariadb-configuration-mycnf).
@@ -56,7 +56,7 @@ A project’s `.ddev` directory can be intimidating at first, so let’s take a
56
56
: Contains the nginx configuration used by the web container, which [can be customized](../extend/customization-extendibility.md#providing-custom-nginx-configuration).
57
57
58
58
`postgres` directory
59
-
: Contains `postgres/postgresql.conf`, which can be edited if needed. Remove the `#ddev-generated` line at the top to take it over.
59
+
: Contains `postgresql.conf`, which can be edited if needed. Remove the `#ddev-generated` line at the top to take it over.
60
60
61
61
`providers` directory
62
62
: Contains examples and implementations to demonstrate how the [`ddev pull`](../usage/commands.md#pull) command can work with [hosting providers](../providers/index.md).
Copy file name to clipboardexpand all lines: docs/content/users/usage/commands.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -233,13 +233,13 @@ ddev config global --omit-containers=dba,ddev-ssh-agent
233
233
*`--letsencrypt-email`: Email associated with Let’s Encrypt; `ddev global --letsencrypt-email=me@example.com`.
234
234
*`--mutagen-enabled`: If `true`, web container will use Mutagen caching/asynchronous updates.
235
235
*`--nfs-mount-enabled`: Enable NFS mounting on all projects globally.
236
-
*`--no-bind-mounts`: If `true`, don’t use bind-mounts. Useful for environments like remote Docker where bind-mounts are impossible. (default `true`)
236
+
*`--no-bind-mounts`: If `true`, don’t use bind-mounts. Useful for environments like remote Docker where bind-mounts are impossible. (default is equal to `--no-bind-mounts=true`)
237
237
*`--omit-containers`: For example, `--omit-containers=dba,ddev-ssh-agent`.
*`--simple-formatting`: If `true`, use simple formatting and no color for tables.
241
241
*`--table-style`: Table style for list and describe, see `~/.ddev/global_config.yaml` for values.
242
-
*`--use-docker-compose-from-path`: If `true`, use docker-compose from path instead of private `~/.ddev/bin/docker-compose`. (default `true`)
242
+
*`--use-docker-compose-from-path`: If `true`, use docker-compose from path instead of private `~/.ddev/bin/docker-compose`. (default is equal to `--use-docker-compose-from-path=true`)
243
243
*`--use-hardened-images`: If `true`, use more secure 'hardened' images for an actual internet deployment.
244
244
*`--use-letsencrypt`: Enables experimental Let’s Encrypt integration; `ddev global --use-letsencrypt` or `ddev global --use-letsencrypt=false`.
245
245
*`--web-environment`: Set the environment variables in the web container: `--web-environment="TYPO3_CONTEXT=Development,SOMEENV=someval"`
Copy file name to clipboardexpand all lines: docs/content/users/usage/database-management.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can also:
23
23
24
24
## Database Backends and Defaults
25
25
26
-
You can use a [variety of different database types](../extend/database-types.md#database-server-types), including MariaDB (5.5–10.8), MySQL (5.5–8.0), and PostgreSQL (9–14). If you want to _change_ database type, you need to export your database, run [`ddev delete`](../usage/commands.md#delete) to remove the project (and its existing database), change to a new database type, run [`ddev start`](../usage/commands.md#start) again, and [import your data](../usage/commands.md#import-db).
26
+
You can use a [variety of different database types](../extend/database-types.md#database-server-types), including MariaDB (5.5–10.8), MySQL (5.5–8.0), and PostgreSQL (9–15). If you want to _change_ database type, you need to export your database, run [`ddev delete`](../usage/commands.md#delete) to remove the project (and its existing database), change to a new database type, run [`ddev start`](../usage/commands.md#start) again, and [import your data](../usage/commands.md#import-db).
27
27
28
28
DDEV creates a default database named `db` and default permissions for the `db` user with password `db`, and it’s on the (inside Docker) hostname `db`.
29
29
@@ -58,7 +58,7 @@ The PostgreSQL database container includes normal `pg` commands like `pgdump`.
58
58
If you’d like to use a GUI database client, you’ll need the right connection details and there may even be a command to launch it for you:
59
59
60
60
* The [`ddev describe`](../usage/commands.md#describe) command displays the URL for the built-in phpMyAdmin GUI. (Something like `https://<yourproject>.ddev.site:8037`.) It also includes the `Host:` details you’ll need to connect to the `db` container externally.
61
-
* macOS users can use `ddev sequelace` to launch the free [Sequel Ace](https://sequel-ace.com/) database browser, [`ddev tableplus`](../usage/commands.md#tableplus) to launch [TablePlus](https://tableplus.com), [`ddev querious`] for [Querious](https://www.araelium.com/querious), and the obsolete [Sequel Pro](https://sequelpro.com/) is also supported with `ddev sequelpro`. (Each must be installed for the command to exist.)
61
+
* macOS users can use `ddev sequelace` to launch the free [Sequel Ace](https://sequel-ace.com/) database browser, [`ddev tableplus`](../usage/commands.md#tableplus) to launch [TablePlus](https://tableplus.com), [`ddev querious`](../usage/commands.md#querious) for [Querious](https://www.araelium.com/querious), and the obsolete [Sequel Pro](https://sequelpro.com/) is also supported with `ddev sequelpro`. (Each must be installed for the command to exist.)
62
62
* PhpStorm (and all JetBrains tools) have a nice database browser. (If you use the [DDEV Integration plugin](https://plugins.jetbrains.com/plugin/18813-ddev-integration) this is all done for you.)
63
63
* Choose a static [`host_db_port`](../configuration/config.md#host_db_port) setting for your project. For example `host_db_port: 59002` (each project’s database port should be different if you’re running more than one project at a time). Use [`ddev start`](../usage/commands.md#start) for it to take effect.
64
64
* Use the “database” tool to create a source from “localhost”, with the proper type “mysql” or “postgresql” and the port you chose, username `db` + password `db`.
Copy file name to clipboardexpand all lines: docs/content/users/usage/offline.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
DDEV attempts to work smoothly offline, and you shouldn’t have to do anything to make it work:
4
4
5
5
* It doesn’t attempt instrumentation or update reporting if offline
6
-
* It falls back to using `/etc/hosts` entries DNS resolution fails
6
+
* It falls back to using `/etc/hosts` entries if DNS resolution fails
7
7
8
8
However, it does not (yet) attempt to prevent Docker pulls if a new Docker image is required, so you’ll want to make sure that you try a [`ddev start`](../usage/commands.md#start) before going offline to make sure everything has been pulled.
0 commit comments