Skip to content

Commit

Permalink
Bump: v0.2.6 (#301)
Browse files Browse the repository at this point in the history
* Bump: v0.2.6
* service: Fix for config

Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Dec 14, 2020
1 parent 661f9e5 commit cb6211b
Show file tree
Hide file tree
Showing 29 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can run the playground directly with Docker.
$ docker run -d --rm \
--privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
phlax/envoy-playground:0.2.5
phlax/envoy-playground:0.2.6
```

You can stop the playground with.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.5
0.2.6
4 changes: 2 additions & 2 deletions docs/getting-started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can run the playground directly with Docker.
$ docker run -d --rm \
--privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
phlax/envoy-playground:|playground_version|-alpha
phlax/envoy-playground:|playground_version|

.. warning::

Expand Down Expand Up @@ -102,7 +102,7 @@ then start the playground.
--host=unix:///run/user/1000/docker.sock \
-p 8000:8080 \
-v /run/user/1000/docker.sock:/var/run/docker.sock \
phlax/envoy-playground:|playground_version|-alpha'
phlax/envoy-playground:|playground_version|'
f01684843c27385eddb9f89d703d0c16137e4480a6377deb0a753e34d730c0e1

You should now be able to access the playground UI on http://localhost:8000
Expand Down
Binary file modified docs/screenshots/network.create.name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/network.create.open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/network.create.started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/network.create.starting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.binaries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.certificates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.logging.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/proxy.create.starting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.readme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/service.create.starting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions integration/bin/start-playground.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [[ -e /code/docker/playground.tar.gz ]]; then
docker load < /code/docker/playground.tar.gz
elif [[ -n "$PLAYGROUND_VERSION" ]]; then
echo ">>> Pulling playground: ${PLAYGROUND_VERSION}"
docker pull "phlax/envoy-playground:${PLAYGROUND_VERSION}-alpha"
docker tag "phlax/envoy-playground:${PLAYGROUND_VERSION}-alpha envoy-playground"
docker pull "phlax/envoy-playground:${PLAYGROUND_VERSION}"
docker tag "phlax/envoy-playground:${PLAYGROUND_VERSION} envoy-playground"
else
echo "ERROR: Need either an image or a version to pull, can't continue, exiting, bye" >&2
exit 1
Expand Down
3 changes: 2 additions & 1 deletion integration/tests/journeys/test_network_journeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_journey_network_create(playground):
# open the proxy modal
playground.web.find_elements_by_name('Networks')[0].click()
time.sleep(1)
name_input = playground.web.find_elements_by_id('name')[0]
name_input = playground.web.find_elements_by_id(
'envoy.playground.name')[0]
assert (
name_input.get_attribute('placeholder')
== 'Enter network name')
Expand Down
3 changes: 2 additions & 1 deletion integration/tests/journeys/test_proxy_journeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_journey_proxy_create(playground):
# open the proxy modal
playground.web.find_elements_by_name('Proxies')[0].click()
time.sleep(1)
name_input = playground.web.find_elements_by_id('name')[0]
name_input = playground.web.find_elements_by_id(
'envoy.playground.name')[0]
assert (
name_input.get_attribute('placeholder')
== 'Enter proxy name')
Expand Down
3 changes: 2 additions & 1 deletion integration/tests/journeys/test_service_journeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_journey_service_create(playground):
# open the proxy modal
playground.web.find_elements_by_name('Services')[0].click()
time.sleep(1)
name_input = playground.web.find_elements_by_id('name')[0]
name_input = playground.web.find_elements_by_id(
'envoy.playground.name')[0]
assert (
name_input.get_attribute('placeholder')
== 'Enter service name')
Expand Down
3 changes: 2 additions & 1 deletion ui/src/service/forms/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {PlaygroundEditor} from '../../shared/editor';


export class ServiceConfigurationForm extends React.PureComponent {
static contexType = PlaygroundContext;
static contextType = PlaygroundContext;
static propTypes = exact({
dispatch: PropTypes.func.isRequired,
form: PropTypes.object.isRequired,
Expand All @@ -41,6 +41,7 @@ export class ServiceConfigurationForm extends React.PureComponent {
}
const configDefault = service_types[service_type]['labels']['envoy.playground.config.default'];
if (configDefault) {
console.log(configDefault);
const content = await api.get(
['/static', service_type, configDefault].join('/'),
'text');
Expand Down

0 comments on commit cb6211b

Please sign in to comment.