-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add GCP image uploads to the pipeline #219
Conversation
Currently WIP, but this should be close. Doing some testing. Will add kola tests in a followup. |
HACKING.md
Outdated
create a credentials config as a secret within OpenShift. | ||
|
||
First grab a json file that represents the credentials for your service account | ||
from GCP. Then create the secret in OpenShift: |
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.
Can we put more details here on where to get the JSON file from/what format it is?
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.
fixed
optional: true | ||
# This secret is used for running GCP kola tests | ||
- name: gcp-image-upload-config | ||
- name: gcp-kola-tests-config |
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.
Two - name:
here.
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.
fixed I think
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.
fixed I think
manifests/pod.yaml
Outdated
- name: GCP_KOLA_TESTS_CONFIG | ||
value: /.gcp-kola-tests-config | ||
- name: gcp-image-upload-config | ||
- name: gcp-kola-tests-config |
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.
Two - name:
here.
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.
fixed I think
manifests/pod.yaml
Outdated
- name: GCP_IMAGE_UPLOAD_CONFIG | ||
value: /.gcp-image-upload-config | ||
- name: GCP_KOLA_TESTS_CONFIG | ||
value: /.gcp-kola-tests-config |
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.
Yeah... we should really look at constraining each container run to the minimal set of credentials it needs. E.g. no reason the AWS kola test needs GCP creds mounted in.
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.
I assume you mean something for us to do in the future?
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.
Yup, definitely!
5a66e2e
to
347fdd0
Compare
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.
LGTM!
pushed up a few small fixes for this. Now seems to be working in the pipeline! |
depends on coreos/coreos-assembler#1319 |
ok added a commit that removes the need to specify the project in various places. One final review before merge? |
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.
I'd squash those two commits together, but OK as is too.
We seem to be in a transition from GCE to GCP terminology. Let's update it here too.
coreos/coreos-assembler#1319 merged. |
No description provided.