-
Notifications
You must be signed in to change notification settings - Fork 2
Add smoke tests #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8c6aa03
be3e960
Add job for annotating the cas-issuer serviceaccount
maelvls 72cfc27
f34b96c
0c2dc1b
Pass a jsonkey to the smoketest job for CAS issuer
maelvls 9fe9a1b
Remove the google-cas-issuer test
maelvls f7342a4
$REGISTRY/cert-manager-controller:1.0.0 -> $REGISTRY:1.0.0
maelvls 73dc4e1
Typo in Docker comment
maelvls f667cb5
Solution name "cert-manager" -> "jetstack-secure-for-cert-manager"
maelvls be7acc0
Remove the defaultPrivateCAIssuer for now
maelvls 5ac4c76
google-cas-issuer: add a resource limits and requests
maelvls ebed6b2
Missing ending newline
maelvls 2880f2a
Readme: detail the "primary" image
maelvls 4789b64
Schema: rename image "cert-manager-preflight" -> "preflight"
maelvls a80a7d9
Preflight deployment image: remove the "v"
maelvls d9c4b76
WATCH OUT: disable the preflight Deployment due to missing configmap
maelvls c2d308e
Cloudbuild: stream the deployer logs
maelvls 1acd783
Cloudbuild: wait until the deployer pod is ready
maelvls c583c64
Smoke test: explain the quicrks
maelvls c5df070
Use "1.1.0-gcm.1" instead of "1.1.0+gcm.1"
maelvls cb7bd87
Use the deployer's serviceaccount for the smoke tests
maelvls 1883d82
Preflight: missing EOF newline
maelvls 44c55ad
Smoke test: use cert-manager v1 instead of v1alpha2
maelvls a30bbe9
Add a link to the TODO about the missing smoke test
maelvls 95b450e
PR comment: --for=condition expects a Uppercase condition
maelvls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,28 @@ | ||
| # Doc: https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/building-deployer-helm.md#build-your-deployer-container | ||
| # This Dockerfile allows us to create a "deployer" image. The deployer | ||
| # image, using this "ombuild" base image, will contain our Marketplace | ||
| # application's Helm chart and will be in charge of doing the "helm install" | ||
| # (which is the only thing the deployer image ever does). | ||
| # | ||
| # See: | ||
| # https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/4335f9/docs/building-deployer-helm.md#build-your-deployer-container | ||
|
|
||
| FROM gcr.io/cloud-marketplace-tools/k8s/deployer_helm/onbuild | ||
|
|
||
| # The schema,yaml and chart/ have already been added thanks to the | ||
| # "onbuild" Dockerfile: | ||
| # https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/4335f9/marketplace/deployer_helm_base/onbuild/Dockerfile#L4-L12 | ||
| # | ||
| # Since the deployer image must only contain compressed charts, i.e., | ||
| # chart/chart.tar.gz (which is created by the "onbuild" Docker image), and | ||
| # a data-test/chart/chart.tar.gz. That is why we need to tar the chart in | ||
| # data-test. | ||
| COPY data-test/schema.yaml /data-test/schema.yaml | ||
| COPY data-test/chart /tmp/data-test/chart.tmp | ||
| RUN cd /tmp/data-test \ | ||
| && mv chart.tmp/* chart \ | ||
| && tar -czvf /tmp/data-test/chart.tar.gz chart \ | ||
| && mv chart.tar.gz /data-test/chart/ | ||
|
|
||
|
|
||
| # If you wonder what magic is this, take a look at: | ||
| # https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/4335f9/marketplace/deployer_helm_base/onbuild/Dockerfile#L16-L20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/schema.md#image-declaration-and-parameterization I noticed that it says:
Perhaps we should do the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍