ci: fix pipelines on first run with apps-externa submodule change #228
Merged
printminion-co merged 3 commits intorc/ncw-4from Feb 10, 2026
Merged
ci: fix pipelines on first run with apps-externa submodule change #228printminion-co merged 3 commits intorc/ncw-4from
printminion-co merged 3 commits intorc/ncw-4from
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes CI cache restoration so cached app tarballs don’t extract into pre-existing git submodule directories, preventing misplaced files during the first pipeline run.
Changes:
- Remove existing
$APP_PATHdirectory before extracting/restoring cached app artifacts from JFrog cache. - Remove existing
$APP_PATHdirectory before restoring cached app artifacts from GitHub cache.
Author
|
@copilot open a new pull request to apply changes based on the comments in this thread |
7 tasks
|
@printminion-co I've opened a new pull request, #230, to work on those changes. Once the pull request is ready, I'll request review from you. |
…he and JFrog Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
10310f7 to
bc7ad3f
Compare
…atch for artifact uploads
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
.github/workflows/build-artifact.yml:1
- Making JFrog CLI setup unconditional can break workflow runs where
secrets.*are unavailable (notablypull_requestruns from forks), because the action and subsequentjf rt pingwill likely fail with empty credentials. Consider restoring a conditional guard (e.g., only run whenhas_apps_to_restoreorhas_apps_to_buildis true), and/or gating on events where secrets are guaranteed to be present.
name: Build Nextcloud Workspace artifact (Optimized)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Misha M.-Kupriyanov <145785698+printminion-co@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request refactors and simplifies the app restoration process in the
build-artifact.ymlGitHub Actions workflow. The main improvements include consolidating the app restoration logic into a single step, switching from artifact downloads to direct JFrog downloads for newly built apps, and expanding the conditions for uploading artifacts to Artifactory. These changes streamline the workflow, reduce complexity, and improve reliability.App restoration process simplification:
Workflow condition improvements:
workflow_dispatchevents, in addition to PRs and branch pushes. This allows for more flexible triggering of uploads.Minor workflow adjustments:
Test
Checklist