Skip to content

Commit

Permalink
Release 0.4.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vboulineau committed Oct 28, 2020
1 parent 15e9ace commit 10a602e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yaml
Expand Up @@ -43,12 +43,6 @@ jobs:
-
name: Generate Plugin manifest
run: ./hack/release/generate-plugin-manifest.sh ${{steps.tag.outputs.tag}}
-
name: Generate Chart tarball
run: ./hack/release/generate-chart-tarball.sh ${{steps.tag.outputs.tag}}
-
name: OLM RedHat bundle
run: ./hack/generate-olm-bundle.sh ${{steps.tag.outputs.tag}}
-
name: Release
uses: softprops/action-gh-release@v1
Expand Down
15 changes: 7 additions & 8 deletions RELEASING.md
Expand Up @@ -2,13 +2,11 @@

## Steps

1. Checkout the repository on the correct branch and changeset (`master`).
2. Run the pre-release script:

- For a release candidate, run the following command, locally: `make VERSION=x.v.z RELEASE_CANDIDATE=1 pre-release`

For example, to generate the release version `0.3.0-rc.2`, run: `make VERSION=0.3.0 RELEASE_CANDIDATE=2 pre-release`
- For a final release, run the following command, locally: `make VERSION=x.v.z pre-release`
1. Checkout the repository on the correct branch and changeset (`master`).Creates a new branch if it is the first release for a "minor" version: `git checkout -b vX.Y`.
2. Run the bundle generation:
- For a release candidate, run the following command, locally: `make VERSION=x.v.z-rc.w bundle`
For example, to generate the release version `0.3.0-rc.2`, run: `make VERSION=0.3.0-rc.2 bundle`
- For a release, command is the same with final version: `make VERSION=x.v.z bundle`

3. Commit all the changes generated from the previous command:

Expand All @@ -23,10 +21,11 @@
5. Push the generated commit and tag to the repostory branch.

```console
$ git push origin vX.Y
$ git push origin vX.Y.Z
```

## Other PRs to create

- Create krew PR for the plugin on https://github.com/kubernetes-sigs/krew-index to update the `datadog.yaml` artifact. (See [kubernetes-sigs/krew-index#727](https://github.com/kubernetes-sigs/krew-index/pull/727) as an example).
- Create PRs on https://github.com/operator-framework/community-operators for `community` and `upstream` operator.
- Create PRs on https://github.com/operator-framework/community-operators for `community` and `upstream` operator.
6 changes: 3 additions & 3 deletions bundle/manifests/datadog-operator.clusterserviceversion.yaml
Expand Up @@ -49,7 +49,7 @@ metadata:
capabilities: Basic Install
operators.operatorframework.io/builder: operator-sdk-v1.0.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
name: datadog-operator.v0.3.2
name: datadog-operator.v0.4.0-rc.1
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -444,5 +444,5 @@ spec:
maturity: alpha
provider:
name: Datadog
replaces: datadog-operator.v0.3.1
version: 0.3.2
replaces: datadog-operator.v0.3.2
version: 0.4.0-rc.1
24 changes: 24 additions & 0 deletions bundle/manifests/datadoghq.com_datadogagents.yaml
Expand Up @@ -1525,6 +1525,13 @@ spec:
description: This path (always mounted from the host) is used by Datadog Agent to store information about processed log files. If the Datadog Agent is restarted, it allows to start tailing the log files from the right offset Default to `/var/lib/datadog-agent/logs`
type: string
type: object
networkPolicy:
description: Provide Agent Network Policy configuration
properties:
create:
description: If true, create a NetworkPolicy for the current agent
type: boolean
type: object
priorityClassName:
description: If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
type: string
Expand Down Expand Up @@ -2468,6 +2475,9 @@ spec:
enabled:
description: Enable the metricsProvider to be able to scale based on metrics in Datadog
type: boolean
endpoint:
description: Override the API endpoint for the external metrics server. Defaults to .spec.agent.config.ddUrl or "https://app.datadoghq.com" if that's empty.
type: string
port:
description: If specified configures the metricsProvider external metrics service port
format: int32
Expand Down Expand Up @@ -3373,6 +3383,13 @@ spec:
required:
- name
type: object
networkPolicy:
description: Provide Cluster Agent Network Policy configuration
properties:
create:
description: If true, create a NetworkPolicy for the current agent
type: boolean
type: object
nodeSelector:
additionalProperties:
type: string
Expand Down Expand Up @@ -4751,6 +4768,13 @@ spec:
required:
- name
type: object
networkPolicy:
description: Provide Cluster Checks Runner Network Policy configuration
properties:
create:
description: If true, create a NetworkPolicy for the current agent
type: boolean
type: object
nodeSelector:
additionalProperties:
type: string
Expand Down

0 comments on commit 10a602e

Please sign in to comment.