File tree Expand file tree Collapse file tree 13 files changed +356
-0
lines changed
crossplane-provider-terraform
crossplane-provider-upjet-aws
crossplane-provider-upjet-gcp
crossplane-provider-upjet-github Expand file tree Collapse file tree 13 files changed +356
-0
lines changed Original file line number Diff line number Diff line change 1414 options :
1515 - provider-upjet-azure
1616 - provider-upjet-azuread
17+ - provider-upjet-aws
18+ - provider-upjet-gcp
19+ - provider-upjet-github
20+ - provider-terraform
1721
1822
1923jobs :
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <!-- PROJECT -->
6+ <parent >
7+ <groupId >io.crossplane.providers</groupId >
8+ <artifactId >crossplane-providers-parent</artifactId >
9+ <version >1.17.0-beta</version >
10+ </parent >
11+
12+ <artifactId >crossplane-provider-terraform-model</artifactId >
13+ <description >Crossplane models for the Terraform provider</description >
14+
15+
16+ <version >${modelrevision} </version >
17+ <properties >
18+ <modelrevision >1.0.0-SNAPSHOT</modelrevision >
19+ </properties >
20+
21+ <!-- DEPENDENCIES -->
22+ <dependencies >
23+ <dependency >
24+ <groupId >io.fabric8</groupId >
25+ <artifactId >kubernetes-client</artifactId >
26+ </dependency >
27+ <dependency >
28+ <groupId >io.fabric8</groupId >
29+ <artifactId >generator-annotations</artifactId >
30+ </dependency >
31+ </dependencies >
32+ <!-- BUILD -->
33+ <build >
34+ <!-- PLUGINS -->
35+ <plugins >
36+ <plugin >
37+ <groupId >io.fabric8</groupId >
38+ <artifactId >java-generator-maven-plugin</artifactId >
39+ <version >${kubernetes-client.version} </version >
40+ <executions >
41+ <execution >
42+ <goals >
43+ <goal >generate</goal >
44+ </goals >
45+ </execution >
46+ </executions >
47+ <configuration >
48+ <source >src/main/resources/kubernetes</source >
49+ </configuration >
50+ </plugin >
51+ </plugins >
52+ </build >
53+
54+ </project >
Original file line number Diff line number Diff line change 1+ package io .upbound ;
2+
3+ /**
4+ * This is the project for the Terraform Provider.
5+ */
6+ public interface TerraformProvider {
7+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ release=" v0.18.0"
4+ repo=" upbound"
5+ provider=" provider-terraform"
6+
7+ if [ $# -eq 1 ]
8+ then
9+ release=" v$1 "
10+ fi
11+
12+ echo " Fetching release: ${release} "
13+
14+ crds=$( gh api --jq ' .[].name' " /repos/${repo} /${provider} /contents/package/crds?ref=${release} " )
15+
16+
17+ for crd in $crds ;
18+ do
19+ # output=$(echo $file | cut -d'_' -f2)
20+ gh api -H " Accept: application/vnd.github.raw+json" " /repos/${repo} /${provider} /contents/package/crds/${crd} ?ref=${release} " > $crd
21+ retVal=$?
22+ if [ $retVal -ne 0 ]; then
23+ echo " Failed to fetch ${crd} "
24+ fi
25+
26+ done
27+
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <!-- PROJECT -->
6+ <parent >
7+ <groupId >io.crossplane.providers</groupId >
8+ <artifactId >crossplane-providers-parent</artifactId >
9+ <version >1.17.0-beta</version >
10+ </parent >
11+
12+ <artifactId >crossplane-provider-upjet-aws-model</artifactId >
13+ <description >Crossplane models for the AWS provider</description >
14+
15+
16+ <version >${modelrevision} </version >
17+ <properties >
18+ <modelrevision >1.0.0-SNAPSHOT</modelrevision >
19+ </properties >
20+
21+ <!-- DEPENDENCIES -->
22+ <dependencies >
23+ <dependency >
24+ <groupId >io.fabric8</groupId >
25+ <artifactId >kubernetes-client</artifactId >
26+ </dependency >
27+ <dependency >
28+ <groupId >io.fabric8</groupId >
29+ <artifactId >generator-annotations</artifactId >
30+ </dependency >
31+ </dependencies >
32+ <!-- BUILD -->
33+ <build >
34+ <!-- PLUGINS -->
35+ <plugins >
36+ <plugin >
37+ <groupId >io.fabric8</groupId >
38+ <artifactId >java-generator-maven-plugin</artifactId >
39+ <version >${kubernetes-client.version} </version >
40+ <executions >
41+ <execution >
42+ <goals >
43+ <goal >generate</goal >
44+ </goals >
45+ </execution >
46+ </executions >
47+ <configuration >
48+ <source >src/main/resources/kubernetes</source >
49+ </configuration >
50+ </plugin >
51+ </plugins >
52+ </build >
53+
54+ </project >
Original file line number Diff line number Diff line change 1+ package io .upbound ;
2+
3+ /**
4+ * This is the project for the AWS Provider.
5+ */
6+ public interface AwsProvider {
7+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ release=" v1.15.0"
4+ repo=" crossplane-contrib"
5+ provider=" provider-upjet-aws"
6+
7+ if [ $# -eq 1 ]
8+ then
9+ release=" v$1 "
10+ fi
11+
12+ echo " Fetching release: ${release} "
13+
14+ crds=$( gh api --jq ' .[].name' " /repos/${repo} /${provider} /contents/package/crds?ref=${release} " )
15+
16+
17+ for crd in $crds ;
18+ do
19+ # output=$(echo $file | cut -d'_' -f2)
20+ gh api -H " Accept: application/vnd.github.raw+json" " /repos/${repo} /${provider} /contents/package/crds/${crd} ?ref=${release} " > $crd
21+ retVal=$?
22+ if [ $retVal -ne 0 ]; then
23+ echo " Failed to fetch ${crd} "
24+ fi
25+
26+ done
27+
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <!-- PROJECT -->
6+ <parent >
7+ <groupId >io.crossplane.providers</groupId >
8+ <artifactId >crossplane-providers-parent</artifactId >
9+ <version >1.17.0-beta</version >
10+ </parent >
11+
12+ <artifactId >crossplane-provider-upjet-gcp-model</artifactId >
13+ <description >Crossplane models for the GCP provider</description >
14+
15+
16+ <version >${modelrevision} </version >
17+ <properties >
18+ <modelrevision >1.0.0-SNAPSHOT</modelrevision >
19+ </properties >
20+
21+ <!-- DEPENDENCIES -->
22+ <dependencies >
23+ <dependency >
24+ <groupId >io.fabric8</groupId >
25+ <artifactId >kubernetes-client</artifactId >
26+ </dependency >
27+ <dependency >
28+ <groupId >io.fabric8</groupId >
29+ <artifactId >generator-annotations</artifactId >
30+ </dependency >
31+ </dependencies >
32+ <!-- BUILD -->
33+ <build >
34+ <!-- PLUGINS -->
35+ <plugins >
36+ <plugin >
37+ <groupId >io.fabric8</groupId >
38+ <artifactId >java-generator-maven-plugin</artifactId >
39+ <version >${kubernetes-client.version} </version >
40+ <executions >
41+ <execution >
42+ <goals >
43+ <goal >generate</goal >
44+ </goals >
45+ </execution >
46+ </executions >
47+ <configuration >
48+ <source >src/main/resources/kubernetes</source >
49+ </configuration >
50+ </plugin >
51+ </plugins >
52+ </build >
53+
54+ </project >
Original file line number Diff line number Diff line change 1+ package io .upbound ;
2+
3+ /**
4+ * This is the project for the GCP Provider.
5+ */
6+ public interface GcpProvider {
7+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ release=" v1.8.3"
4+ repo=" crossplane-contrib"
5+ provider=" provider-upjet-gcp"
6+
7+ if [ $# -eq 1 ]
8+ then
9+ release=" v$1 "
10+ fi
11+
12+ echo " Fetching release: ${release} "
13+
14+ crds=$( gh api --jq ' .[].name' " /repos/${repo} /${provider} /contents/package/crds?ref=${release} " )
15+
16+
17+ for crd in $crds ;
18+ do
19+ # output=$(echo $file | cut -d'_' -f2)
20+ gh api -H " Accept: application/vnd.github.raw+json" " /repos/${repo} /${provider} /contents/package/crds/${crd} ?ref=${release} " > $crd
21+ retVal=$?
22+ if [ $retVal -ne 0 ]; then
23+ echo " Failed to fetch ${crd} "
24+ fi
25+
26+ done
27+
You can’t perform that action at this time.
0 commit comments