这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/appendices/0.26.0-migration-guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 0.25.0 Migration Guide
# 0.26.0 Migration Guide

## Removals

- The `tags` plugin - deprecated in [0.24.0](/docs/appendices/0.24.0-migration-guide.md) - was removed. Users are highly encouraged to switch their workflows to `git:from-image`.

## Changes

- The `scheduler` plugin now controls the scheduler in use for deploys. Apps will have their `DOKKU_SCHEDULER` environment variables migrated to the scheduler plugin, after which that value will be removed from said app. Please see the [scheduler documentation](/docs/deployment/schedulers/scheduler-management.md) for more information.

173 changes: 0 additions & 173 deletions docs/deployment/methods/images.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/deployment/schedulers/docker-local.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ This plugin implements various functionality through `plugn` triggers to integra
- `scheduler-retire`
- `scheduler-run`
- `scheduler-stop`
- `scheduler-tags-create`
- `scheduler-tags-destroy`

## Supported Resource Management Properties

Expand Down
73 changes: 0 additions & 73 deletions docs/development/plugin-triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -2268,44 +2268,6 @@ DOKKU_SCHEDULER="$1"; APP="$2"; REMOVE_CONTAINERS="$3";
# TODO
```

### `scheduler-tags-create`

> Warning: The scheduler plugin trigger apis are under development and may change
> between minor releases until the 1.0 release.

- Description: Allows you to run scheduler commands when a tag is created
- Invoked by: `dokku tags:create`
- Arguments: `$DOKKU_SCHEDULER $APP $SOURCE_IMAGE $TARGET_IMAGE`
- Example:

```shell
#!/usr/bin/env bash

set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
DOKKU_SCHEDULER="$1" APP="$2" SOURCE_IMAGE="$3" TARGET_IMAGE="$4"

# TODO
```

### `scheduler-tags-destroy`

> Warning: The scheduler plugin trigger apis are under development and may change
> between minor releases until the 1.0 release.

- Description: Allows you to run scheduler commands when a tag is destroyed
- Invoked by: `dokku tags:destroy`
- Arguments: `$DOKKU_SCHEDULER $APP $IMAGE_REPO $IMAGE_TAG`
- Example:

```shell
#!/usr/bin/env bash

set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
DOKKU_SCHEDULER="$1"; APP="$2"; IMAGE_REPO="$3"; IMAGE_TAG="$4";

# TODO
```

### `storage-list`

- Description: Returns a list of storage mounts
Expand All @@ -2321,41 +2283,6 @@ APP="$1"

# TODO
```
### `tags-create`

- Description: Allows you to run commands once a tag for an app image has been added
- Invoked by: `dokku tags:create`
- Arguments: `$APP $IMAGE_TAG`
- Example:

```shell
#!/usr/bin/env bash
# Upload an app image to docker hub

set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"; IMAGE_TAG="$2"; IMAGE=$(get_app_image_name $APP $IMAGE_TAG)

IMAGE_ID=$(docker inspect --format '{{ .Id }}' $IMAGE)
docker tag -f $IMAGE_ID $DOCKER_HUB_USER/$APP:$IMAGE_TAG
docker push $DOCKER_HUB_USER/$APP:$IMAGE_TAG
```

### `tags-destroy`

- Description: Allows you to run commands once a tag for an app image has been removed
- Invoked by: `dokku tags:destroy`
- Arguments: `$APP $IMAGE_TAG`
- Example:

```shell
#!/usr/bin/env bash
# Remove an image tag from docker hub

set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"; IMAGE_TAG="$2"

# some code to remove a docker hub tag because it's not implemented in the CLI...
```

### `uninstall`

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ new buildpacks that were released:
dokku ps:rebuild --all
```

> If you have any applications deployed via the `tags` or `tar` commands, do not run the `ps:rebuild --all` command,
> If you have any applications deployed via the `tar` commands, do not run the `ps:rebuild --all` command,
> and instead trigger `ps:rebuild` manually for each `git`-deployed application:
>
> ```
> dokku ps:rebuild APP
> ```
>
> Please see the [images documentation](/docs/deployment/methods/images.md) and [tar documentation](/docs/deployment/methods/tar.md)
> Please see the [tar documentation](/docs/deployment/methods/tar.md)
> for instructions on rebuilding applications deployed by those plugins.

## Upgrading using `dokku-update`
Expand Down
1 change: 0 additions & 1 deletion docs/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ <h1 class="heading navbar-brand">
<a href="/{{NAME}}/deployment/builders/null/" class="list-group-item">Null Builder</a>

<a href="#" class="list-group-item disabled">Deployment Methods</a>
<a href="/{{NAME}}/deployment/methods/images/" class="list-group-item">Docker Image Deployment</a>
<a href="/{{NAME}}/deployment/methods/git/" class="list-group-item">Git Deployment</a>
<a href="/{{NAME}}/deployment/methods/tar/" class="list-group-item">Tarfile Deployment</a>

Expand Down
3 changes: 2 additions & 1 deletion docs/viewdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"deployment/methods/dockerfiles": "deployment/builders/dockerfiles/",
"deployment/methods/herokuish-buildpacks": "deployment/builders/herokuish-buildpacks/",

"deployment/images": "deployment/methods/images/",
"deployment/images": "deployment/methods/git/#initializing-an-app-repository-from-a-docker-image",
"deployment/methods/images": "deployment/methods/git/#initializing-an-app-repository-from-a-docker-image",
"configuration-management": "configuration/environment-variables/",
"deployment/ssl-configuration": "configuration/ssl/",
"nginx": "configuration/nginx/",
Expand Down
1 change: 0 additions & 1 deletion plugins/20_events/scheduler-tags-create

This file was deleted.

1 change: 0 additions & 1 deletion plugins/20_events/scheduler-tags-destroy

This file was deleted.

1 change: 0 additions & 1 deletion plugins/20_events/tags-create

This file was deleted.

1 change: 0 additions & 1 deletion plugins/20_events/tags-destroy

This file was deleted.

37 changes: 0 additions & 37 deletions plugins/scheduler-docker-local/scheduler-tags-create

This file was deleted.

18 changes: 0 additions & 18 deletions plugins/scheduler-docker-local/scheduler-tags-destroy

This file was deleted.

Loading