Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
docs(releases): add deisrel command to query released components
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Aug 1, 2016
1 parent d408817 commit e28bc0f
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions src/roadmap/releases.md
Expand Up @@ -144,11 +144,39 @@ cp -r workflow-dev-e2e workflow-$WORKFLOW_RELEASE-e2e
cp -r router-dev router-$WORKFLOW_RELEASE
```

Use the `deisrel` tool to determine the latest component releases:
```bash
export GH_TOKEN=<my_github_api_token> # set token to avoid rate-limiting errors
# Create a JSON file with the components for the new release
cat > components.json <<EOF
{
"builder": ["builder"],
"controller": ["controller"],
"dockerbuilder": ["dockerbuilder"],
"fluentd": ["fluentd"],
"monitor": ["influxdb", "grafana", "telegraf"],
"logger": ["logger"],
"minio": ["minio"],
"nsq": ["nsqd"],
"postgres": ["database"],
"redis": ["loggerRedis"],
"registry": ["registry"],
"registry-proxy": ["registry_proxy"],
"router": ["router"],
"slugbuilder": ["slugbuilder"],
"slugrunner": ["slugrunner"],
"workflow-manager": ["workflowManager"]
}
EOF
deisrel $HOME/.helmc/workspace/charts/workflow-$WORKFLOW_PREV_RELEASE/tpl/generate_params.toml \
components.json
```

Change the `generate_params.toml` file in **each** new chart as follows:

1. Set all `imagePullPolicy` values to `IfNotPresent`
1. Set all `dockerTag` values to latest releases for each component, as determined above
1. Set all `org` values to `"deis"`
1. Set all `dockerTag` values to latest releases for each component
1. Set all `imagePullPolicy` values to `IfNotPresent`
1. If there's a `[workflowManager]` section, change `versionsApiURL` to
`"https://versions.deis.com"` and `doctorApiURL` to `"https://doctor.deis.com"`

Expand Down

0 comments on commit e28bc0f

Please sign in to comment.