Skip to content

Commit

Permalink
Prepare for releasing 20.05.0-alpha14
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed May 17, 2020
1 parent 8f8f5da commit 09f1d8c
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 23 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -19,11 +19,11 @@ service provider. You decide.

| Kubernetes version | Deployable with | Default in | | |
|--------------------|----------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `1.15.12` | `20.05.0-alpha13` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.15.12)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.15.12)%20with%20remote%20CRI%20endpoints) |
| `1.16.9` | `20.05.0-alpha13` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.16.9)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.16.9)%20with%20remote%20CRI%20endpoints) |
| `1.17.5` | `20.05.0-alpha13` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.17.5)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.17.5)%20with%20remote%20CRI%20endpoints) |
| `1.18.2` | `20.05.0-alpha13` | `20.05.0-alpha13` | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.18.2)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.18.2)%20with%20remote%20CRI%20endpoints) |
| `1.19.0-alpha.3` | `20.05.0-alpha13` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.19.0-alpha.3)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.19.0-alpha.3)%20with%20remote%20CRI%20endpoints) |
| `1.15.12` | `20.05.0-alpha14` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.15.12)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.15.12)%20with%20remote%20CRI%20endpoints) |
| `1.16.9` | `20.05.0-alpha14` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.16.9)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.16.9)%20with%20remote%20CRI%20endpoints) |
| `1.17.5` | `20.05.0-alpha14` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.17.5)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.17.5)%20with%20remote%20CRI%20endpoints) |
| `1.18.2` | `20.05.0-alpha14` | `20.05.0-alpha14` | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.18.2)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.18.2)%20with%20remote%20CRI%20endpoints) |
| `1.19.0-alpha.3` | `20.05.0-alpha14` | | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.19.0-alpha.3)%20with%20local%20CRI%20endpoints) | ![Build Status](https://dev.azure.com/oneinfra/oneinfra/_apis/build/status/test?branchName=master&jobName=e2e%20tests%20(1.19.0-alpha.3)%20with%20remote%20CRI%20endpoints) |


## Install
Expand All @@ -50,9 +50,9 @@ The `oneinfra` installation has several components:
### From released binaries

```console
$ wget -O oi https://github.com/oneinfra/oneinfra/releases/download/20.05.0-alpha13/oi-linux-amd64-20.05.0-alpha13
$ wget -O oi https://github.com/oneinfra/oneinfra/releases/download/20.05.0-alpha14/oi-linux-amd64-20.05.0-alpha14
$ chmod +x oi
$ wget -O oi-local-hypervisor-set https://github.com/oneinfra/oneinfra/releases/download/20.05.0-alpha13/oi-local-hypervisor-set-linux-amd64-20.05.0-alpha13
$ wget -O oi-local-hypervisor-set https://github.com/oneinfra/oneinfra/releases/download/20.05.0-alpha14/oi-local-hypervisor-set-linux-amd64-20.05.0-alpha14
$ chmod +x oi-local-hypervisor-set
```

Expand All @@ -74,7 +74,7 @@ prefer](docs/install-from-source.md).
On a Linux environment, execute:

```console
$ curl https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha13/scripts/demo.sh | sh
$ curl https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha14/scripts/demo.sh | sh
```

After the script is done, you will be able to access your `oneinfra`
Expand Down
4 changes: 2 additions & 2 deletions RELEASE
@@ -1,5 +1,5 @@
version: "20.05.0-alpha13"
consoleVersion: "20.05.0-alpha3"
version: "20.05.0-alpha14"
consoleVersion: "20.05.0-alpha4"
defaultKubernetesVersion: "1.18.2"
kubernetesVersions:
- version: "1.15.12"
Expand Down
3 changes: 2 additions & 1 deletion cmd/oi-manager/main.go
Expand Up @@ -79,11 +79,12 @@ func main() {
Scheme: scheme,
MetricsBindAddress: metricsAddr,
LeaderElection: enableLeaderElection,
LeaderElectionID: "oneinfra-manager-leader-election",
Port: 9443,
NewClient: rawClient,
})
if err != nil {
klog.Error("could not set up controller manager")
klog.Error("could not set up controller manager: %v", err)
os.Exit(1)
}

Expand Down
2 changes: 1 addition & 1 deletion config/generated/all.yaml
Expand Up @@ -957,7 +957,7 @@ spec:
- --enable-leader-election
command:
- /oi-manager
image: oneinfra/oi-manager:20.05.0-alpha13
image: oneinfra/oi-manager:20.05.0-alpha14
name: manager
ports:
- containerPort: 9443
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Expand Up @@ -20,6 +20,6 @@ spec:
- /oi-manager
args:
- --enable-leader-election
image: oneinfra/oi-manager:20.05.0-alpha13
image: oneinfra/oi-manager:20.05.0-alpha14
name: manager
terminationGracePeriodSeconds: 10
2 changes: 1 addition & 1 deletion docs/install-from-source.md
Expand Up @@ -4,5 +4,5 @@ If you prefer to build `oneinfra` from source, you can either clone
this repository and run `make`, or use `go get` directly.

```console
$ GO111MODULE=on go get github.com/oneinfra/oneinfra/...@20.05.0-alpha13
$ GO111MODULE=on go get github.com/oneinfra/oneinfra/...@20.05.0-alpha14
```
4 changes: 2 additions & 2 deletions docs/quick-start-creating-managed-clusters.md
Expand Up @@ -5,7 +5,7 @@
1. Create a [managed cluster](../config/samples/simple-cluster.yaml):

```console
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha13/config/samples/simple-cluster.yaml
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha14/config/samples/simple-cluster.yaml
$ kubectl wait --for=condition=ReconcileSucceeded --timeout=2m cluster simple-cluster
```

Expand All @@ -23,7 +23,7 @@
three control plane instances:

```console
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha13/config/samples/ha-cluster.yaml
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha14/config/samples/ha-cluster.yaml
$ kubectl wait --for=condition=ReconcileSucceeded --timeout=2m cluster ha-cluster
```

Expand Down
4 changes: 2 additions & 2 deletions docs/quick-start.md
Expand Up @@ -32,7 +32,7 @@ prefer.](quick-start-without-kubernetes.md)
```console
$ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.14.1/cert-manager.yaml
$ kubectl wait --for=condition=Available deployment --timeout=2m -n cert-manager --all
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha13/config/generated/all.yaml
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha14/config/generated/all.yaml
$ kubectl wait --for=condition=Available deployment --timeout=2m -n oneinfra-system --all
```

Expand Down Expand Up @@ -79,7 +79,7 @@ This is an only for testing authentication mechanism. Secrets inside a
namespace `oneinfra-users` resemble users.

```console
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha3/config/generated/all-kubernetes-secrets.yaml
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha4/config/generated/all-kubernetes-secrets.yaml
$ kubectl wait --for=condition=Available deployment --timeout=2m -n oneinfra-system --all
```

Expand Down
2 changes: 1 addition & 1 deletion docs/web-console-oauth.md
Expand Up @@ -7,7 +7,7 @@ This is the list of the OAuth backends supported by the web console.
Deploy the console:

```console
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha3/config/generated/all-github-oauth.yaml
$ kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha4/config/generated/all-github-oauth.yaml
```

Create a new OAuth app in the Github settings page. Make sure that the
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/constants/zz_generated.release_data.constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/demo.sh
Expand Up @@ -33,11 +33,11 @@ wait_for_ns() {
execute_command "Creating kind cluster..." "kind create cluster"
execute_command "Deploying cert-manager..." "kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.14.1/cert-manager.yaml"
wait_for_ns cert-manager
execute_command "Deploying oneinfra 20.05.0-alpha13..." "kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha13/config/generated/all.yaml"
execute_command "Deploying oneinfra 20.05.0-alpha14..." "kubectl apply -f https://raw.githubusercontent.com/oneinfra/oneinfra/20.05.0-alpha14/config/generated/all.yaml"
wait_for_ns oneinfra-system
execute_command "Creating fake local hypervisors..." "oi-local-hypervisor-set create --tcp | kubectl apply -f -"
execute_command "Generating oneinfra console JWT key..." "kubectl create secret generic -n oneinfra-system jwt-key --from-literal=jwt-key=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1)"
execute_command "Deploying oneinfra console 20.05.0-alpha3..." "kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha3/config/generated/all-kubernetes-secrets.yaml"
execute_command "Deploying oneinfra console 20.05.0-alpha4..." "kubectl apply -f https://raw.githubusercontent.com/oneinfra/console/20.05.0-alpha4/config/generated/all-kubernetes-secrets.yaml"
wait_for_ns oneinfra-system
echo "======================================="
echo "== Visit http://localhost:8000 =="
Expand Down

0 comments on commit 09f1d8c

Please sign in to comment.