Skip to content

Commit

Permalink
Merge pull request #61 from boozallen/59-fix-downsteam-helm-template-…
Browse files Browse the repository at this point in the history
…calls

#59 🐛 fix helm template references in downstream builds so they w…
  • Loading branch information
d-ryan-ashcraft authored May 10, 2024
2 parents e1260d7 + 04d9ea5 commit 96f1035
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 12 deletions.
1 change: 1 addition & 0 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
<dockerImageVersion>${project.version}</dockerImageVersion>

<!-- Helm chart repository -->
<aissemble.helm.repo.protocol>oci</aissemble.helm.repo.protocol>
<aissemble.helm.repo>ghcr.io/boozallen</aissemble.helm.repo>
<aissemble.helm.repo.name>ghcr.io</aissemble.helm.repo.name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ behave = ">=1.2.6"
nose = ">=1.3.7"
setuptools = "^69.0.3"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ nose = ">=1.3.7"
testcontainers = ">=3.7.1"
setuptools = "^69.0.3"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
2 changes: 1 addition & 1 deletion extensions/extensions-helm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<!-- For OCI, we need push versus upload: -->
<skipUpload>true</skipUpload>
<overwriteLocalDependencies>${overwrite.dependencies}</overwriteLocalDependencies>
<overwriteDependencyRepository>oci://${aissemble.helm.repo}</overwriteDependencyRepository>
<overwriteDependencyRepository>${aissemble.helm.repo.protocol}://${aissemble.helm.repo}</overwriteDependencyRepository>
<overwriteDependencyVersion>${project.version}</overwriteDependencyVersion>
<uploadVerification>true</uploadVerification>
<uploadVerificationTimeout>120</uploadVerificationTimeout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
1 change: 1 addition & 0 deletions foundation/aissemble-foundation-core-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ behave = ">=1.2.6"
nose = ">=1.3.7"
setuptools = "^69.0.3"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ urllib3 = "^1.26.18"
black = ">=22.1.0"
behave = ">=1.2.6"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ black = "^24.1.1"
behave = "^1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ testcontainers = ">=3.4.0"
callee = "0.3.1"
confluent-kafka = { version = "2.1.1", optional = true }
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
<executable>helm</executable>
<arguments>
<argument>template</argument>
<argument>aissemble-spark-application-chart</argument>
<argument>--repo</argument>
<argument>${aissemble.helm.repo}</argument>
<argument>${aissemble.helm.repo.protocol}://${aissemble.helm.repo}/aissemble-spark-application-chart</argument>
<argument>--version</argument>
<argument>${version.aissemble}</argument>
<argument>--values</argument>
Expand All @@ -36,9 +34,7 @@
<executable>helm</executable>
<arguments>
<argument>template</argument>
<argument>aissemble-spark-application-chart</argument>
<argument>--repo</argument>
<argument>${aissemble.helm.repo}</argument>
<argument>${aissemble.helm.repo.protocol}://${aissemble.helm.repo}/aissemble-spark-application-chart</argument>
<argument>--version</argument>
<argument>${version.aissemble}</argument>
<argument>--values</argument>
Expand All @@ -59,9 +55,7 @@
<executable>helm</executable>
<arguments>
<argument>template</argument>
<argument>aissemble-spark-application-chart</argument>
<argument>--repo</argument>
<argument>${aissemble.helm.repo}</argument>
<argument>${aissemble.helm.repo.protocol}://${aissemble.helm.repo}/aissemble-spark-application-chart</argument>
<argument>--version</argument>
<argument>${version.aissemble}</argument>
<argument>--values</argument>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
#set($path = "/src/main/resources/apps/")
#end

yaml = local('helm template aissemble-spark-application-chart --version %s --values ${parentArtifactId}/${pipelineArtifactId}${path}${pipelineArtifactId}-base-values.yaml,${parentArtifactId}/${pipelineArtifactId}${path}${pipelineArtifactId}-dev-values.yaml --repo oci://ghcr.io/boozallen' % aissemble_version)
yaml = local('helm template oci://ghcr.io/boozallen/aissemble-spark-application-chart --version %s --values ${parentArtifactId}/${pipelineArtifactId}${path}${pipelineArtifactId}-base-values.yaml,${parentArtifactId}/${pipelineArtifactId}${path}${pipelineArtifactId}-dev-values.yaml' % aissemble_version)
k8s_yaml(yaml)
k8s_resource('${pipelineArtifactId}', port_forwards=[port_forward(4747, 4747, 'debug')], auto_init=False, trigger_mode=TRIGGER_MODE_MANUAL)
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ yaml = helm(
)
k8s_yaml(yaml)

yaml = local('helm template aissemble-spark-application --version %s --values pysparkdd-pipelines/py-spark-data-delivery/src/py_spark_data_delivery/resources/apps/py-spark-data-delivery-base-values.yaml,pysparkdd-pipelines/py-spark-data-delivery/src/py_spark_data_delivery/resources/apps/py-spark-data-delivery-dev-values.yaml --repo oci://ghcr.io/boozallen' % aissemble_version)
yaml = local('helm template oci://ghcr.io/boozallen/aissemble-spark-application --version %s --values pysparkdd-pipelines/py-spark-data-delivery/src/py_spark_data_delivery/resources/apps/py-spark-data-delivery-base-values.yaml,pysparkdd-pipelines/py-spark-data-delivery/src/py_spark_data_delivery/resources/apps/py-spark-data-delivery-dev-values.yaml' % aissemble_version)
k8s_yaml(yaml)
k8s_resource('py-spark-data-delivery', port_forwards=[port_forward(4747, 4747, 'debug')], auto_init=False, trigger_mode=TRIGGER_MODE_MANUAL)
yaml = helm(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ behave = ">=1.2.6"
nose = ">=1.3.7"
testcontainers = ">=3.7.1"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ behave = ">=1.2.6"
nose = ">=1.3.7"
testcontainers = ">=3.7.1"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ nose = ">=1.3.7"
grpcio-tools = "^1.50.0"
grpcio-testing = "^1.50.0"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ black = ">=22.1.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
kappa-maki = ">=1.0.1"
pylint = "^3.1.0"


[build-system]
Expand Down

0 comments on commit 96f1035

Please sign in to comment.