-
Notifications
You must be signed in to change notification settings - Fork 27
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
Moving to rsync #938
Moving to rsync #938
Conversation
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.
Looks fine!
…cause turbo can not pass arguments to single targets
}; | ||
|
||
const presetsTheme = { | ||
customCss: require.resolve('./src/css/custom.css'), |
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.
The css files might need an update too.
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.
Updated c736f89
@dprokop I managed to fix the build issues related to cache by removing the single github actions caches manually
but I think the cache logic you are using in this workflow should be re-evaluated https://github.com/grafana/scenes/blob/main/.github/actions/yarn-nm-install/action.yml as it will most likely happen to other PRs. It also takes quite a while to store - e.g. https://github.com/grafana/scenes/actions/runs/11344746920/job/31550341163#step:12:1 |
Following up on: grafana/plugin-tools#1214 and https://github.com/grafana/grafana-developer-portal/pull/22
Switching to using rsync with delete option - to ensure that the GCS content equals the content of the build, up until now we just added new files but never deleted the old ones. Since it is a static site - it can lead to some weird old built pages still being available even when deleted from the source code. This PR cleans it up.
Starting as dry run
-n
and will remove it before merge.Additional yak shaving changes:
Example runs:
Dev https://github.com/grafana/scenes/actions/runs/11343394573/job/31545849078
Prod - will run once merged
Remove dry run for dev
Remove dry run for prod