Skip to content

Commit

Permalink
pre-release version bumps (#1490)
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Rancourt <kent.rancourt@microsoft.com>
  • Loading branch information
krancour authored Jul 14, 2021
1 parent 288f642 commit 60d643b
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 42 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Brigade 2: Event-based Scripting for Kubernetes

Brigade 2 is currently in an _alpha_ state and remains under heavy development.
Brigade 2 is currently in a _beta_ state and remains under heavy development,
but that development is primarily oriented around improving the platform's
stability. Breaking changes to APIs are not anticipated.

## Introducing Brigade 2

Expand Down Expand Up @@ -37,8 +39,8 @@ To install Brigade 2 with _default_ configuration:

```console
$ export HELM_EXPERIMENTAL_OCI=1
$ helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-alpha.5
$ helm chart export ghcr.io/brigadecore/brigade:v2.0.0-alpha.5 -d ~/charts
$ helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-beta.1
$ helm chart export ghcr.io/brigadecore/brigade:v2.0.0-beta.1 -d ~/charts
$ kubectl create namespace brigade2
$ helm install brigade2 ~/charts/brigade --namespace brigade2
```
Expand Down
10 changes: 5 additions & 5 deletions docs/content/intro/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ Install the Brigade CLI, brig, by copying the appropriate binary from our releas

**linux**
```bash
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-linux-amd64
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-linux-amd64
chmod +x /usr/local/bin/brig
```

**macos**
```bash
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-darwin-amd64
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-darwin-amd64
chmod +x /usr/local/bin/brig
```

**windows**
```powershell
mkdir -force $env:USERPROFILE\bin
(New-Object Net.WebClient).DownloadFile("https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-windows-amd64.exe", "$ENV:USERPROFILE\bin\brig.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-windows-amd64.exe", "$ENV:USERPROFILE\bin\brig.exe")
$env:PATH+=";$env:USERPROFILE\bin"
```

Expand Down Expand Up @@ -90,8 +90,8 @@ $env:PATH+=";$env:USERPROFILE\bin"
1. Run the following commands to install Brigade and wait for it to finish installing.

```
helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-alpha.5
helm chart export ghcr.io/brigadecore/brigade:v2.0.0-alpha.5 -d ~/charts
helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-beta.1
helm chart export ghcr.io/brigadecore/brigade:v2.0.0-beta.1 -d ~/charts
helm install brigade2 ~/charts/brigade --namespace brigade2 --create-namespace
kubectl rollout status deployment brigade2-apiserver -n brigade2 --timeout 5m
```
Expand Down
12 changes: 6 additions & 6 deletions docs/content/intro/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ Install the Brigade CLI, brig, by copying the appropriate binary from our releas

**linux**
```bash
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-linux-amd64
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-linux-amd64
chmod +x /usr/local/bin/brig
```

**macos**
```bash
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-darwin-amd64
curl -Lo /usr/local/bin/brig https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-darwin-amd64
chmod +x /usr/local/bin/brig
```

**windows**
```powershell
mkdir -force $env:USERPROFILE\bin
(New-Object Net.WebClient).DownloadFile("https://github.com/brigadecore/brigade/releases/download/v2.0.0-alpha.5/brig-windows-amd64.exe", "$ENV:USERPROFILE\bin\brig.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/brigadecore/brigade/releases/download/v2.0.0-beta.1/brig-windows-amd64.exe", "$ENV:USERPROFILE\bin\brig.exe")
$env:PATH+=";$env:USERPROFILE\bin"
```

Expand Down Expand Up @@ -137,8 +137,8 @@ Install Brigade on your local development cluster. See our [Installation] instru
1. Run the following commands to install Brigade.
```
helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-alpha.5
helm chart export ghcr.io/brigadecore/brigade:v2.0.0-alpha.5 -d ~/charts
helm chart pull ghcr.io/brigadecore/brigade:v2.0.0-beta.1
helm chart export ghcr.io/brigadecore/brigade:v2.0.0-beta.1 -d ~/charts
helm install brigade2 ~/charts/brigade --namespace brigade2 --create-namespace
kubectl rollout status deployment brigade2-apiserver -n brigade2 --timeout 5m
```
Expand Down Expand Up @@ -245,7 +245,7 @@ Below is example output of a successful event handler:
Created event "7a5234d6-e2aa-402f-acb9-c620dfc20003".
Waiting for event's worker to be RUNNING...
2021-05-26T18:12:34.604Z INFO: brigade-worker version: v2.0.0-alpha.5
2021-05-26T18:12:34.604Z INFO: brigade-worker version: v2.0.0-beta.1
2021-05-26T18:12:34.609Z DEBUG: writing default brigade.js to /var/vcs/.brigade/brigade.js
2021-05-26T18:12:34.609Z DEBUG: using npm as the package manager
2021-05-26T18:12:34.610Z DEBUG: path /var/vcs/.brigade/node_modules/@brigadecore does not exist; creating it
Expand Down
2 changes: 1 addition & 1 deletion examples/01-hello-world/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: hello-world
Expand Down
2 changes: 1 addition & 1 deletion examples/02-first-event/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: first-event
Expand Down
2 changes: 1 addition & 1 deletion examples/03-first-job/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: first-job
Expand Down
2 changes: 1 addition & 1 deletion examples/04-simple-pipeline/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: simple-pipeline
Expand Down
2 changes: 1 addition & 1 deletion examples/05-groups/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: groups
Expand Down
2 changes: 1 addition & 1 deletion examples/06-git/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: git
Expand Down
2 changes: 1 addition & 1 deletion examples/07-npm/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: npm
Expand Down
2 changes: 1 addition & 1 deletion examples/08-yarn/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: yarn
Expand Down
2 changes: 1 addition & 1 deletion examples/09-typescript/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: hello-typescript
Expand Down
2 changes: 1 addition & 1 deletion examples/10-shared-workspace/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: shared-workspace
Expand Down
2 changes: 1 addition & 1 deletion examples/11-kitchen-sink/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: kitchen-sink
Expand Down
2 changes: 1 addition & 1 deletion examples/12-first-payload/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: first-payload
Expand Down
2 changes: 1 addition & 1 deletion sdk/v2/meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "time"

// APIVersion represents the API and major version thereof with which this
// version of the Brigade SDK is compatible.
const APIVersion = "brigade.sh/v2-alpha.5"
const APIVersion = "brigade.sh/v2-beta"

// TypeMeta represents metadata about a resource type to help clients and
// servers mutually head off potential confusion over types (and versions
Expand Down
2 changes: 1 addition & 1 deletion v2/apiserver/internal/meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "time"

// APIVersion represents the API and major version thereof with which this
// version of the Brigade API server is compatible.
const APIVersion = "brigade.sh/v2-alpha.5"
const APIVersion = "brigade.sh/v2-beta"

// TypeMeta represents metadata about a resource type to help clients and
// servers mutually head off potential confusion over types (and versions of
Expand Down
2 changes: 1 addition & 1 deletion v2/apiserver/internal/meta/testing/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
)

const apiVersion = "brigade.sh/v2-alpha.5"
const apiVersion = "brigade.sh/v2-beta"

func RequireAPIVersionAndType(
t *testing.T,
Expand Down
2 changes: 1 addition & 1 deletion v2/apiserver/schemas/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"apiVersion": {
"type": "string",
"description": "The major version of the Brigade API with which this object conforms",
"enum": ["brigade.sh/v2-alpha.5"]
"enum": ["brigade.sh/v2-beta"]
},

"description": {
Expand Down
2 changes: 1 addition & 1 deletion v2/brigadier-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"typescript": "^4.1.2"
},
"dependencies": {
"@brigadecore/brigade-sdk": "^v2.0.0-alpha.6",
"@brigadecore/brigade-sdk": "^v2.0.0-beta.1",
"@brigadecore/brigadier": "../brigadier",
"@types/node": "^14.14.11",
"winston": "^3.3.3"
Expand Down
8 changes: 4 additions & 4 deletions v2/brigadier-polyfill/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"

"@brigadecore/brigade-sdk@^v2.0.0-alpha.6":
version "2.0.0-alpha.6"
resolved "https://registry.yarnpkg.com/@brigadecore/brigade-sdk/-/brigade-sdk-2.0.0-alpha.6.tgz#10a693bb4433badd5239aace3505c7b95f1554f0"
integrity sha512-5hR1p1EhRJjJWeRwdBAcPGxhlwn2bdnN+5QRIusVytjMoKzm+NTaOzVav1hwHoP7VKCK+rpxbEBmfRa/VTJQfw==
"@brigadecore/brigade-sdk@^v2.0.0-beta.1":
version "2.0.0-beta.1"
resolved "https://registry.yarnpkg.com/@brigadecore/brigade-sdk/-/brigade-sdk-2.0.0-beta.1.tgz#e96e4874dc41e4b9ebb867d56d6af1a7476812c5"
integrity sha512-Z9tjINvNQUEaEJMo7jyZr2Fu/sgwsngoNiUsgw0M1RqiSqy1izZaleqfPFowH552GcNkrw7NthdM1zic2u3vZw==
dependencies:
axios "^0.21.0"
event-source-polyfill "^1.0.22"
Expand Down
4 changes: 2 additions & 2 deletions v2/cli/init_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// Template project.yaml file for Brigade projects
// nolint: lll
var projectTemplate = []byte(`# yaml-language-server: $schema=https://raw.githubusercontent.com/brigadecore/brigade/v2/v2/apiserver/schemas/project.json
apiVersion: brigade.sh/v2-alpha.5
apiVersion: brigade.sh/v2-beta
kind: Project
metadata:
id: {{ .ProjectID }}
Expand Down Expand Up @@ -137,7 +137,7 @@ var secretsTemplate = []byte(`## This file was created by brig init.
var packageTemplate = []byte(`{
"name": "{{ .ProjectID }}",
"dependencies": {
"@brigadecore/brigadier": "^2.0.0-alpha.5"
"@brigadecore/brigadier": "^2.0.0-beta.1"
}
}
`)
Expand Down
10 changes: 5 additions & 5 deletions v2/worker/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"

"@brigadecore/brigade-sdk@^v2.0.0-alpha.6":
version "2.0.0-alpha.6"
resolved "https://registry.yarnpkg.com/@brigadecore/brigade-sdk/-/brigade-sdk-2.0.0-alpha.6.tgz#10a693bb4433badd5239aace3505c7b95f1554f0"
integrity sha512-5hR1p1EhRJjJWeRwdBAcPGxhlwn2bdnN+5QRIusVytjMoKzm+NTaOzVav1hwHoP7VKCK+rpxbEBmfRa/VTJQfw==
"@brigadecore/brigade-sdk@^v2.0.0-beta.1":
version "2.0.0-beta.1"
resolved "https://registry.yarnpkg.com/@brigadecore/brigade-sdk/-/brigade-sdk-2.0.0-beta.1.tgz#e96e4874dc41e4b9ebb867d56d6af1a7476812c5"
integrity sha512-Z9tjINvNQUEaEJMo7jyZr2Fu/sgwsngoNiUsgw0M1RqiSqy1izZaleqfPFowH552GcNkrw7NthdM1zic2u3vZw==
dependencies:
axios "^0.21.0"
event-source-polyfill "^1.0.22"
Expand All @@ -37,7 +37,7 @@
"@brigadecore/brigadier-polyfill@../brigadier-polyfill":
version "0.0.1-placeholder"
dependencies:
"@brigadecore/brigade-sdk" "^v2.0.0-alpha.6"
"@brigadecore/brigade-sdk" "^v2.0.0-beta.1"
"@brigadecore/brigadier" "../brigadier"
"@types/node" "^14.14.11"
winston "^3.3.3"
Expand Down

0 comments on commit 60d643b

Please sign in to comment.