Skip to content

Commit

Permalink
Update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesuen committed May 8, 2019
1 parent 2274130 commit 3f6ac9c
Showing 1 changed file with 26 additions and 7 deletions.
33 changes: 26 additions & 7 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,57 @@

3. Update codegen, manifests with new tag

```
```bash
make codegen manifests IMAGE_NAMESPACE=argoproj IMAGE_TAG=vX.Y.Z
```

4. Commit VERSION and manifest changes

```
```bash
git add .
git commit -m "Update version to vX.Y.Z"
```

5. git tag the release

```
```bash
git tag vX.Y.Z
```

6. Build the release
6. Build both the controller and UI release

```
In argo repo:
```bash
make release IMAGE_NAMESPACE=argoproj IMAGE_TAG=vX.Y.Z
```

7. If successful, publish the release:
In argo-ui repo:
```bash
IMAGE_NAMESPACE=argoproj IMAGE_TAG=vX.Y.Z yarn docker
```

8. If successful, publish the release:
```bash
export ARGO_RELEASE=vX.Y.Z
docker push argoproj/workflow-controller:${ARGO_RELEASE}
docker push argoproj/argoexec:${ARGO_RELEASE}
docker push argoproj/argocli:${ARGO_RELEASE}
docker push argoproj/argoui:${ARGO_RELEASE}
```

9. Push commits and tags to git. Run the following in both the argo and argo-ui repos:

In argo repo:
```bash
git push upstream
git push upstream ${ARGO_RELEASE}
```

In argo-ui repo:
```bash
git push upstream ${ARGO_RELEASE}
```

8. Draft GitHub release with the content from CHANGELOG.md, and CLI binaries produced in the `dist` directory
10. Draft GitHub release with the content from CHANGELOG.md, and CLI binaries produced in the `dist` directory

* https://github.com/argoproj/argo/releases/new

0 comments on commit 3f6ac9c

Please sign in to comment.