Skip to content

Skip UI make targets - #1849

Merged
stehessel merged 1 commit into
masterfrom
skip-ui-build-if-no-change
May 26, 2022
Merged

stehessel merged 1 commit into
masterfrom
skip-ui-build-if-no-change

Conversation

@stehessel

Copy link
Copy Markdown
Collaborator

The touch build seems to be required to properly skip UI make targets
if no change has been detected. Without it, the make build target in
ui/Makefile is always executed, regardless of actual changes to source
files.

As a result, this change decreases the execution time of make image in
most cases.

Checklist

  • Investigated and inspected CI test results
  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on [openshift/openshift-docs](https://github.com/openshift/openshift-docs) and merge into rhacs-docs)

If any of these don't apply, please comment below.

Testing Performed

TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.

In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

The `touch build` seems to be required to properly skip UI make targets
if no change has been detected. Without it, the `make build` target in
`ui/Makefile` is always executed, regardless of actual changes to source
files.

As a result, this change decreases the execution time of `make image` in
most cases.
@stehessel
stehessel requested review from a team and viswajithiii May 25, 2022 23:07
@ghost

ghost commented May 25, 2022

Copy link
Copy Markdown

Tag for build #598612 is 3.70.x-200-g6d039629f4.

💻 For deploying this image using the dev scripts, run the following first:

export MAIN_IMAGE_TAG='3.70.x-200-g6d039629f4'

🕹️ A roxctl binary can be downloaded from the CircleCI artifacts.

@pedrottimark pedrottimark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for investigating the problem and finding a solution.

@stehessel
stehessel merged commit 4e86245 into master May 26, 2022
@stehessel
stehessel deleted the skip-ui-build-if-no-change branch May 26, 2022 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants