Skip to content

Commit

Permalink
chore: restrict kube-rs features on crd packages (#121)
Browse files Browse the repository at this point in the history
* chore: restrict kube-rs features on crd packages

* chore: fix kotlin files in nx json and add buf output caching
  • Loading branch information
jeremylvln authored Oct 10, 2023
1 parent f4646c5 commit 72f135a
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on: pull_request

env:
TARGET_NODE_VERSION: '18'
TARGET_NODE_VERSION: '20'
TARGET_RUST_VERSION: 'stable'
TARGET_JAVA_VERSION: '17'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
TARGET_NODE_VERSION: '18'
TARGET_NODE_VERSION: '20'

concurrency:
group: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

env:
TARGET_NODE_VERSION: '18'
TARGET_NODE_VERSION: '20'
TARGET_JAVA_VERSION: '17'

concurrency:
Expand Down
1 change: 1 addition & 0 deletions .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ module.exports = {
dockerBuildFlags: {
platform: ['linux/amd64', 'linux/arm64/v8'].join(','),
},
dockerLogin: false,
},
],
[
Expand Down
11 changes: 3 additions & 8 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"lint",
"test",
"e2e"
]
"cacheableOperations": ["build", "lint", "test", "e2e", "buf"]
}
}
},
Expand All @@ -21,10 +16,10 @@
"{workspaceRoot}/.cargo/"
],
"java:dependencies": [
"{workspaceRoot}/build.gradle",
"{workspaceRoot}/build.gradle.kts",
"{workspaceRoot}/gradle.properties",
"{workspaceRoot}/settings.gradle",
"{projectRoot}/build.gradle",
"{projectRoot}/build.gradle.kts",
"{projectRoot}/gradle.properties"
]
}
Expand Down
4 changes: 3 additions & 1 deletion package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.1.0",
"license": "AGPL-3.0-or-later",
"private": true,
"engines": {
"node": "^20"
},
"repository": {
"url": "git@github.com:jeremylvln/Shulker.git"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/google-agones-crds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default = []

[dependencies]
k8s-openapi.workspace = true
kube.workspace = true
kube = { workspace = true, features = ["derive"] }
schemars.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion packages/google-agones-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"command": "buf generate",
"cwd": "packages/google-agones-sdk"
},
"inputs": ["default"]
"inputs": ["default"],
"outputs": ["{projectRoot}/bindings/java/src/generated/"]
}
},
"tags": []
Expand Down
2 changes: 1 addition & 1 deletion packages/shulker-crds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ default = []

[dependencies]
k8s-openapi.workspace = true
kube.workspace = true
kube = { workspace = true, features = ["derive"] }
schemars.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
6 changes: 5 additions & 1 deletion packages/shulker-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"command": "buf generate",
"cwd": "packages/shulker-sdk"
},
"inputs": ["default"]
"inputs": ["default"],
"outputs": [
"{projectRoot}/bindings/java/src/generated/",
"{projectRoot}/bindings/rust/src/gen/"
]
}
},
"tags": []
Expand Down

0 comments on commit 72f135a

Please sign in to comment.