Skip to content
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

Checkout kyma for kyma integration job #86

Merged

Conversation

strekm
Copy link
Contributor

@strekm strekm commented Oct 31, 2018

Description

Changes proposed in this pull request:

  • TBD

Related issue(s)
See #20

@strekm strekm added area/ci Issues or PRs related to CI related topics WIP labels Oct 31, 2018
@strekm strekm added this to the Sprint_Toad_4 milestone Oct 31, 2018
@strekm strekm requested review from a-thaler, clebs, lilitgh and a team as code owners October 31, 2018 08:09
@strekm strekm force-pushed the checkout-kyma-for-kyma-integration-job branch from ea89526 to d2268d7 Compare October 31, 2018 08:28
prow/config.yaml Outdated
entrypoint: "gcr.io/k8s-prow/entrypoint:v20181019-08e9d55c9"
sidecar: "gcr.io/k8s-prow/sidecar:v20181019-08e9d55c9"
gcs_configuration:
bucket: "prow-mst"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bucket name

@strekm strekm force-pushed the checkout-kyma-for-kyma-integration-job branch from 82bae9e to 33c98d2 Compare October 31, 2018 10:04
@@ -59,5 +59,5 @@ do
ENCRYPTED_FILE="${FILE}.${EXTENSTION}"
gsutil cp gs://${BUCKET}/${ENCRYPTED_FILE} ${TMP_DIR}/${FILE}
gcloud kms decrypt --location "${LOCATION}" --keyring "${KEYRING}" --key "${KEY}" --ciphertext-file "${TMP_DIR}/${FILE}" --plaintext-file "${TMP_DIR}/${FILE}"
kubectl create secret generic "${FILE}" --from-file="${TMP_DIR}/${FILE}"
kubectl create secret generic "${FILE}" --from-file="service-account.json"="${TMP_DIR}/${FILE}"
Copy link
Member

@Tomasz-Smelcerz-SAP Tomasz-Smelcerz-SAP Oct 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should better use "create or replace" approach here - allows for updates of existing secrets.
My proposal goes like this:
kubectl create secret generic secret3 --from-file="aaa.txt"="secret1.json" --dry-run -o yaml | kubectl apply -f -

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prepared issue for that: #88

@strekm strekm force-pushed the checkout-kyma-for-kyma-integration-job branch from 33c98d2 to e4438fe Compare November 5, 2018 08:37
@strekm strekm removed the WIP label Nov 5, 2018
@strekm strekm merged commit 225539e into kyma-project:master Nov 5, 2018
@kyma-bot
Copy link
Contributor

kyma-bot commented Nov 5, 2018

@strekm: Updated the job-config configmap using the following files:

  • key kyma-integration.yaml using file prow/jobs/kyma/kyma-integration.yaml

In response to this:

Description

Changes proposed in this pull request:

  • TBD

Related issue(s)
See #20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@strekm strekm deleted the checkout-kyma-for-kyma-integration-job branch November 5, 2018 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues or PRs related to CI related topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants