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

chore: only run build_enclave_manager_webapp on non docs changes and tagged commits #2041

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

Dartoxian
Copy link
Contributor

@Dartoxian Dartoxian commented Jan 11, 2024

Description:

Yesterday we removed the logic which skips build_enclave_manager_webapp if the build commit diff against main has only docs changes. We did this because we want build_enclave_manager_webapp to run on main during publish - so that commit would always have no diff from main (as it would be the same commit.

This change means that we skip build_enclave_manager_webapp only if the current commit is not tagged and the diff against main has no changes other than docs changes.

This restores the previous behaviour, with the exception that build_enclave_manager_webapp runs on tagged commits - ie it can run during publish jobs.

Is this change user facing?

NO

References (if applicable):

@Dartoxian Dartoxian requested a review from adschwartz January 11, 2024 12:38
@Dartoxian Dartoxian enabled auto-merge January 11, 2024 14:41
@Dartoxian Dartoxian added this pull request to the merge queue Jan 11, 2024
Merged via the queue into main with commit e8ed4be Jan 11, 2024
36 checks passed
@Dartoxian Dartoxian deleted the bgazzard/emui-build-skip-docs branch January 11, 2024 15:24
github-merge-queue bot pushed a commit that referenced this pull request Jan 16, 2024
…ribe (#2047)

## Description:
This fixes the issue seen in
https://app.circleci.com/pipelines/github/kurtosis-tech/kurtosis/10677/workflows/66565433-39e0-4397-b0d8-4c3c81ad366b/jobs/152621.

When ci checks out code in a step it doesn't fetch tags, so `git
describe --exact-match` will always fail - this change fixes this by
fetching tags.

## Is this change user facing?
NO

## References (if applicable):
-
https://app.circleci.com/pipelines/github/kurtosis-tech/kurtosis/10677/workflows/66565433-39e0-4397-b0d8-4c3c81ad366b/jobs/152621
-#2041
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.

2 participants