Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' for release 0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalger committed Apr 3, 2021
2 parents 752d86b + 7e3837b commit c21c47e
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 43 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# Change Log

## UNRELEASED [x.y.z](https://github.com/davidalger/warden/tree/x.y.z) (yyyy-mm-dd)
[All Commits](https://github.com/davidalger/warden/compare/0.10.1..develop)
[All Commits](https://github.com/davidalger/warden/compare/0.10.2..develop)

## Version [0.10.2](https://github.com/davidalger/warden/tree/0.10.2) (2021-04-03)
[All Commits](https://github.com/davidalger/warden/compare/0.10.1..0.10.2)

**Big Fixes:**

* Fixed bug where Live Reload might not work when Varnish was disabled due to routing priorities ([#337](https://github.com/davidalger/warden/pull/337) by @alinalexandru)

**Enhancements:**

* Magento 1 and Magento 2 environments now set developer environment variables by default ([#332](https://github.com/davidalger/warden/pull/332) by @norgeindian)
* SSH Agent forwarding will no longer use socat except when needed ([#334](https://github.com/davidalger/warden/pull/334) by @alinalexandru)

## Version [0.10.1](https://github.com/davidalger/warden/tree/0.10.1) (2021-03-01)
[All Commits](https://github.com/davidalger/warden/compare/0.10.0..0.10.1)

Expand Down
5 changes: 5 additions & 0 deletions commands/env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ if [[ ${XDEBUG_CONNECT_BACK_HOST} == '' ]] && grep -sqi microsoft /proc/sys/kern
export XDEBUG_CONNECT_BACK_HOST=host.docker.internal
fi

## For linux, if UID is 1000, there is no need to use the socat proxy.
if [[ ${WARDEN_ENV_SUBT} == "linux" && $UID == 1000 ]]; then
export SSH_AUTH_SOCK_PATH_ENV=/run/host-services/ssh-auth.sock
fi

## configure docker-compose files
DOCKER_COMPOSE_ARGS=()

Expand Down
15 changes: 9 additions & 6 deletions docs/configuration/dns-resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@ If you desire to have more than this route through the `dnsmasq` container, you
1.0.0.1
```

#### Ubuntu
#### Ubuntu systemd-resolved

Open up your connection (WiFi/LAN) settings, and go to the IPv4 tab. Turn off the automatic DNS setting, and enter the following IP addresses
`systemd-resolved` can we configured to forward the requests of `.test` TLD to another DNS server. The configuration file is typically located at `/etc/systemd/resolved.conf`. Change the file to contain the following lines.

```text
127.0.0.1, 1.1.1.1 1.0.0.1
DNS=127.0.0.1
Domains=~test
```

### Persistent global configuration
Restart the `systemd-resolved`

To avoid having to set the DNS servers for each network you connect you, you can also choose update the global DNS configuration.
```bash
sudo service systemd-resolved restart
```

#### Ubuntu
#### Ubuntu resolvconf

Use the `resolvconf` service to add a permanent entry in your `/etc/resolv.conf` file.

Expand Down
2 changes: 1 addition & 1 deletion environments/includes/blackfire.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
environment:
- TRAEFIK_DOMAIN
- TRAEFIK_SUBDOMAIN
- SSH_AUTH_SOCK=/tmp/ssh-auth.sock
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK_PATH_ENV:-/tmp/ssh-auth.sock}
- NODE_VERSION=${NODE_VERSION:-10}
- COMPOSER_VERSION=${COMPOSER_VERSION:-1}
- COMPOSER_MEMORY_LIMIT=-1
Expand Down
4 changes: 2 additions & 2 deletions environments/includes/php-fpm.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
environment:
- TRAEFIK_DOMAIN
- TRAEFIK_SUBDOMAIN
- SSH_AUTH_SOCK=/tmp/ssh-auth.sock
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK_PATH_ENV:-/tmp/ssh-auth.sock}
- NODE_VERSION=${NODE_VERSION:-10}
- COMPOSER_VERSION=${COMPOSER_VERSION:-1}
- COMPOSER_MEMORY_LIMIT=-1
Expand All @@ -36,7 +36,7 @@ services:
environment:
- TRAEFIK_DOMAIN
- TRAEFIK_SUBDOMAIN
- SSH_AUTH_SOCK=/tmp/ssh-auth.sock
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK_PATH_ENV:-/tmp/ssh-auth.sock}
- NODE_VERSION=${NODE_VERSION:-10}
- COMPOSER_VERSION=${COMPOSER_VERSION:-1}
- COMPOSER_MEMORY_LIMIT=-1
Expand Down
8 changes: 8 additions & 0 deletions environments/magento1/magento1.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ services:
environment:
- NGINX_PUBLIC=${NGINX_PUBLIC:-}
- NGINX_TEMPLATE=magento1.conf

php-fpm:
environment:
- MAGE_IS_DEVELOPER_MODE=1

php-debug:
environment:
- MAGE_IS_DEVELOPER_MODE=1
8 changes: 7 additions & 1 deletion environments/magento2/magento2.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ services:
labels:
- traefik.enable=true
- traefik.http.routers.${WARDEN_ENV_NAME}-livereload.tls=true
- traefik.http.routers.${WARDEN_ENV_NAME}-livereload.priority=2
- traefik.http.routers.${WARDEN_ENV_NAME}-livereload.priority=3
- traefik.http.routers.${WARDEN_ENV_NAME}-livereload.rule=
(HostRegexp(`{subdomain:.+}.${TRAEFIK_DOMAIN}`) || Host(`${TRAEFIK_DOMAIN}`))
&& (Path(`/livereload.js`) || Path(`/livereload`))
- traefik.http.routers.${WARDEN_ENV_NAME}-livereload.service=${WARDEN_ENV_NAME}-livereload
- traefik.http.services.${WARDEN_ENV_NAME}-livereload.loadbalancer.server.port=35729
environment:
- MAGE_DEBUG_SHOW_ARGS=1

php-debug:
environment:
- MAGE_DEBUG_SHOW_ARGS=1
28 changes: 14 additions & 14 deletions homepage/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion images/elasticsearch/6.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:6.8.14
FROM docker.elastic.co/elasticsearch/elasticsearch:6.8.15
RUN bin/elasticsearch-plugin install analysis-phonetic \
&& bin/elasticsearch-plugin install analysis-icu
3 changes: 0 additions & 3 deletions images/elasticsearch/7.11/Dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:7.10.2
FROM docker.elastic.co/elasticsearch/elasticsearch:7.12.0
RUN bin/elasticsearch-plugin install analysis-phonetic \
&& bin/elasticsearch-plugin install analysis-icu
3 changes: 0 additions & 3 deletions images/elasticsearch/7.6/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions images/elasticsearch/7.7/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions images/elasticsearch/7.8/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions images/elasticsearch/7.9/Dockerfile

This file was deleted.

1 change: 1 addition & 0 deletions images/mariadb/10.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM mariadb:10.5
1 change: 1 addition & 0 deletions images/mysql/8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM mysql:8.0
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.1
0.10.2

0 comments on commit c21c47e

Please sign in to comment.