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

fix(818): add sd environment to env var #126

Merged
merged 2 commits into from
May 12, 2020
Merged

fix(818): add sd environment to env var #126

merged 2 commits into from
May 12, 2020

Conversation

parthasl
Copy link
Contributor

@parthasl parthasl commented May 11, 2020

Context

pipeline-id/job-id/build-id is available in both beta and prod environments, which results in incorrect metrics.

Objective

Add sd environment to metrics data.

References

feat(818): Evaluate Kata Containers over HyperD
Launcher PR-352

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@@ -30,6 +30,8 @@ spec:
value: {{container}}
- name: SD_PIPELINE_ID
value: "{{pipeline_id}}"
- name: SD_ENVIRONMENT
Copy link
Member

Choose a reason for hiding this comment

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

personally, that VAR name is kind of confusing/misleading to me
not sure if something like SD_CLUSTER or SD_CLUSTER_PREFIX would make more sense

Copy link
Contributor Author

@parthasl parthasl May 12, 2020

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated to SD_BUILD_PREFIX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants