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: correct is_ci value in metrics from APIC #1697

Merged
merged 3 commits into from Nov 6, 2023
Merged

Conversation

h4ck3rk3y
Copy link
Contributor

@h4ck3rk3y h4ck3rk3y commented Nov 6, 2023

Description:

Earlier metrics from the APIC wouldn't get the right value for is_ci as they would look for the CI environment(TF_BUILD, CIRCLE_CI...) variables which our docker container wouldn't contain;

Now

  1. CLI figures out if we are running in CI
  2. CLI passes the information down to Engine
  3. Engine Passes the information down to APIC

So if someone is running in Circle/GitHub actions - wherever the kurtosis engine restart happens we get the valid IS_CI value for that CLI

@h4ck3rk3y
Copy link
Contributor Author

Screen.Recording.2023-11-06.at.6.42.07.PM.mov

@leoporoli demo of the feature that reads from env variables on where engine restart is run

@h4ck3rk3y h4ck3rk3y added this pull request to the merge queue Nov 6, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 6, 2023
@h4ck3rk3y h4ck3rk3y added this pull request to the merge queue Nov 6, 2023
Merged via the queue into main with commit 9df62dd Nov 6, 2023
40 checks passed
@h4ck3rk3y h4ck3rk3y deleted the gyani/metrics branch November 6, 2023 21:54
github-merge-queue bot pushed a commit that referenced this pull request Nov 7, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.4](0.85.3...0.85.4)
(2023-11-07)


### Features

* add autocomplete for cluster set command
([#1695](#1695))
([d36164d](d36164d))
* manage parameters and URL
([#1689](#1689))
([eafc056](eafc056))
* new em ui enclave logs
([#1696](#1696))
([788c7bc](788c7bc))
* print Made with Kurtosis at the end of a run
([#1687](#1687))
([a08b0b1](a08b0b1))


### Bug Fixes

* correct is_ci value in metrics from APIC
([#1697](#1697))
([9df62dd](9df62dd))
* kurtosis run considers every nonexistent path to be a URL and fails
with a suspicious error
([#1706](#1706))
([0f7809e](0f7809e)),
closes [#1705](#1705)
* return the correct yaml parsing error
([#1691](#1691))
([c6170ec](c6170ec))
* user/instance id values were flipped
([#1698](#1698))
([901069c](901069c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
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.

None yet

2 participants