Skip to content

Commit

Permalink
bump crossplane-example package
Browse files Browse the repository at this point in the history
  • Loading branch information
Avarei committed Jun 17, 2024
1 parent d4198b2 commit fef78e8
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PKL_CORE_REF := ${PKL_CORE_NAME}@${PKL_CORE_VERSION}
PKL_CORE_URI := ${PKL_BASE_URI}/${REPO}/${PKL_CORE_REF}

PKL_EXAMPLE_NAME := crossplane-example
PKL_EXAMPLE_VERSION := 0.1.18
PKL_EXAMPLE_VERSION := 0.1.19
PKL_EXAMPLE_REF := ${PKL_EXAMPLE_NAME}@${PKL_EXAMPLE_VERSION}
PKL_EXAMPLE_URI := ${PKL_BASE_URI}/${REPO}/${PKL_CORE_REF}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
spec:
type: uri
# This pkl file is at `pkl/crossplane-example/full.pkl` in this repo
uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].18#/full.pkl"
uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].19#/full.pkl"
```
### Example
Expand Down
2 changes: 1 addition & 1 deletion example/full/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
spec:
type: uri
# This pkl file is at `pkl/crossplane-example/full.pkl` in this repo
uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].18#/full.pkl"
uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].19#/full.pkl"
4 changes: 2 additions & 2 deletions example/inline/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ spec:
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected]#/Resource.pkl"
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected]#/Crossplane.pkl"
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].18#/crds/XR.pkl"
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].18#/crds/Object.pkl"
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].19#/crds/XR.pkl"
import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].19#/crds/Object.pkl"
import "package://pkg.pkl-lang.org/pkl-k8s/[email protected]#/api/core/v1/ConfigMap.pkl"
Expand Down
2 changes: 1 addition & 1 deletion internal/function/fn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

var (
pklPackage = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].18"
pklPackage = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].19"
)

func TestRunFunction(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkl/crossplane-example/PklProject
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package {
authors {
"Tim Geimer <[email protected]>"
}
version = "0.1.18"
version = "0.1.19"
baseUri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/\(name)"
packageZipUrl = "https://github.com/Avarei/function-pkl/releases/download/\(name)@\(version)/\(name)@\(version).zip"
sourceCode = "https://github.com/Avarei/function-pkl"
Expand All @@ -36,6 +36,6 @@ dependencies {
uri = "package://pkg.pkl-lang.org/pkl-k8s/[email protected]"
}
["crossplane"] {
uri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].28"
uri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].29"
}
}
11 changes: 9 additions & 2 deletions pkl/crossplane-example/PklProject.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
"resolvedDependencies": {
"package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0": {
"type": "remote",
"uri": "projectpackage://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].28",
"uri": "projectpackage://pkg.pkl-lang.org/github.com/avarei/function-pkl/[email protected].29",
"checksums": {
"sha256": "faa5ead2e0990a12ba6fc795d11e933200bf57ea9aeb5994f47db3a6ede908a6"
"sha256": "1e0c1917b0dfe0390d11954e0417c6e41c8a4bdbea23d36db5cb6dc2671c9027"
}
},
"package://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2": {
"type": "remote",
"uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/[email protected]",
"checksums": {
"sha256": "a3ce491d0e504c14d456d599f988bbb4a2b77915696450dfd65b8e4cef7c9522"
}
},
"package://pkg.pkl-lang.org/pkl-pantry/k8s.contrib@1": {
Expand Down
7 changes: 7 additions & 0 deletions pkl/crossplane/PklProject.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"checksums": {
"sha256": "75c6d66d94c335417a3c502e107aaeadf7a60b4e1d34b2c979afe11193205a1a"
}
},
"package://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2": {
"type": "remote",
"uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/[email protected]",
"checksums": {
"sha256": "a3ce491d0e504c14d456d599f988bbb4a2b77915696450dfd65b8e4cef7c9522"
}
}
}
}

0 comments on commit fef78e8

Please sign in to comment.