File tree 13 files changed +2915
-0
lines changed
13 files changed +2915
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Clippy
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ lint :
13
+ runs-on : ubuntu-latest
14
+ defaults :
15
+ run :
16
+ working-directory : ./operator
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v3
20
+
21
+ - name : Clippy check lints
22
+ run : cargo clippy -- -D warnings
Original file line number Diff line number Diff line change
1
+ name : Controller
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+ paths :
8
+ - " .github/workflows/controller.yml"
9
+ - " operator/**"
10
+
11
+ jobs :
12
+ build-images :
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ include :
17
+ - context : operator
18
+ file : operator/Dockerfile
19
+ endpoint : demeter-run/ext-cardano-node
20
+
21
+ continue-on-error : true
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+
25
+
26
+ - name : Login to GitHub Container Registry
27
+ uses : docker/login-action@v1
28
+ with :
29
+ registry : ghcr.io
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Build and push
34
+ uses : docker/build-push-action@v2
35
+ with :
36
+ context : ${{ matrix.context }}
37
+ file : ${{ matrix.file }}
38
+ platforms : linux/amd64
39
+ push : true
40
+ tags : ghcr.io/${{ matrix.endpoint }},ghcr.io/${{ matrix.endpoint }}:${{ github.sha }}
Original file line number Diff line number Diff line change
1
+ resource "kubernetes_manifest" "customresourcedefinition_cardanonodeports_demeter_run" {
2
+ manifest = {
3
+ " apiVersion" = " apiextensions.k8s.io/v1"
4
+ " kind" = " CustomResourceDefinition"
5
+ " metadata" = {
6
+ " name" = " cardanonodeports.demeter.run"
7
+ }
8
+ " spec" = {
9
+ " group" = " demeter.run"
10
+ " names" = {
11
+ " categories" = []
12
+ " kind" = " CardanoNodePort"
13
+ " plural" = " cardanonodeports"
14
+ " shortNames" = []
15
+ " singular" = " cardanonodeport"
16
+ }
17
+ " scope" = " Namespaced"
18
+ " versions" = [
19
+ {
20
+ " additionalPrinterColumns" = [
21
+ {
22
+ " jsonPath" = " .spec.network"
23
+ " name" = " Network"
24
+ " type" = " string"
25
+ },
26
+ {
27
+ " jsonPath" = " .spec.version"
28
+ " name" = " Version"
29
+ " type" = " number"
30
+ },
31
+ {
32
+ " jsonPath" = " .status.endpointUrl"
33
+ " name" = " Endpoint URL"
34
+ " type" = " string"
35
+ },
36
+ ]
37
+ " name" = " v1alpha1"
38
+ " schema" = {
39
+ " openAPIV3Schema" = {
40
+ " description" = " Auto-generated derived type for CardanoNodePortSpec via `CustomResource`"
41
+ " properties" = {
42
+ " spec" = {
43
+ " properties" = {
44
+ " network" = {
45
+ " enum" = [
46
+ " mainnet" ,
47
+ " preprod" ,
48
+ " preview" ,
49
+ " sanchonet" ,
50
+ ]
51
+ " type" = " string"
52
+ }
53
+ " version" = {
54
+ " format" = " uint8"
55
+ " minimum" = 0
56
+ " type" = " integer"
57
+ }
58
+ }
59
+ " required" = [
60
+ " network" ,
61
+ " version" ,
62
+ ]
63
+ " type" = " object"
64
+ }
65
+ " status" = {
66
+ " nullable" = true
67
+ " properties" = {
68
+ " endpointUrl" = {
69
+ " nullable" = true
70
+ " type" = " string"
71
+ }
72
+ }
73
+ " type" = " object"
74
+ }
75
+ }
76
+ " required" = [
77
+ " spec" ,
78
+ ]
79
+ " title" = " CardanoNodePort"
80
+ " type" = " object"
81
+ }
82
+ }
83
+ " served" = true
84
+ " storage" = true
85
+ " subresources" = {
86
+ " status" = {}
87
+ }
88
+ },
89
+ ]
90
+ }
91
+ }
92
+ }
Original file line number Diff line number Diff line change
1
+ /target
You can’t perform that action at this time.
0 commit comments