Skip to content

Commit

Permalink
Prep release (#119)
Browse files Browse the repository at this point in the history
Update workflows for release branch including patch version

Update crd.yaml

Update defaults.rs

Update crd.yaml
  • Loading branch information
sjmiller609 committed Feb 15, 2023
1 parent a703af3 commit cb9cfc2
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
pull_request:
branches:
- main
- "release/[0-9]+.[0-9]+"
- "release/*"
push:
branches:
- 'main'
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
find_directories:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
push:
branches:
- main
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- 'main'
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
find_directories:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
push:
branches:
- main
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pg_smq_ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
push:
branches:
- main
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pgmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
push:
branches:
- main
- 'release/[0-9]+.[0-9]+'
- 'release/*'


jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prom_exporter_ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
push:
branches:
- main
- 'release/[0-9]+.[0-9]+'
- 'release/*'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion coredb-cli/Cargo.lock

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

2 changes: 1 addition & 1 deletion coredb-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "coredb-cli"
version = "0.2.0-alpha"
version = "2023.2.15"
edition = "2021"
authors = ["CoreDB.io"]
description = "The CLI for CoreDB"
Expand Down
4 changes: 2 additions & 2 deletions coredb-cli/src/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ impl SubCommand for InstallCommand {
let output = Command::new("kubectl")
.arg("apply")
.arg("-f")
.arg("https://raw.githubusercontent.com/CoreDB-io/coredb/main/coredb-operator/yaml/crd.yaml")
.arg("https://raw.githubusercontent.com/CoreDB-io/coredb/release/2023.2.15/coredb-operator/yaml/crd.yaml")
.output()
.expect("Failed to execute 'kubectl' command.");
println!("{}", String::from_utf8_lossy(&output.stdout));
let output = Command::new("kubectl")
.arg("apply")
.arg("-f")
.arg("https://raw.githubusercontent.com/CoreDB-io/coredb/main/coredb-operator/yaml/install.yaml")
.arg("https://raw.githubusercontent.com/CoreDB-io/coredb/release/2023.2.15/coredb-operator/yaml/install.yaml")
.output()
.expect("Failed to execute 'kubectl' command.");
println!("{}", String::from_utf8_lossy(&output.stdout));
Expand Down
2 changes: 1 addition & 1 deletion coredb-operator/Cargo.lock

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

2 changes: 1 addition & 1 deletion coredb-operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "controller"
version = "0.0.1"
version = "2023.2.15"
edition = "2021"
default-run = "controller"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion coredb-operator/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn default_port() -> i32 {
}

pub fn default_image() -> String {
"quay.io/coredb/postgres:c03124e".to_owned()
"quay.io/coredb/postgres:a703af3".to_owned()
}

pub fn default_postgres_exporter_image() -> String {
Expand Down
2 changes: 1 addition & 1 deletion coredb-operator/yaml/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
type: string
type: array
image:
default: quay.io/coredb/postgres:c03124e
default: quay.io/coredb/postgres:a703af3
type: string
port:
default: 5432
Expand Down
2 changes: 1 addition & 1 deletion coredb-operator/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
serviceAccountName: coredb-controller
containers:
- name: coredb-controller
image: quay.io/coredb/coredb-operator:latest
image: quay.io/coredb/coredb-operator:2023.2.15
imagePullPolicy: Always
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion postgres/Cargo.lock

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

3 changes: 2 additions & 1 deletion postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[package]
name = "coredb"
version = "15.1.0-coredb.6"
version = "2023.2.15"
edition = "2021"
authors = ["CoreDB.io"]
description = "CoreDB distribution of postgres"
homepage = "https://www.coredb.io"
license = "MIT"
readme = "README.md"
repository = "https://github.com/CoreDB-io/coredb/tree/main/postgres"
publish = false


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit cb9cfc2

Please sign in to comment.