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

[ci/workflow] build assets with the policy-engine from cloudoperators and block in sapcc #606

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/block-apps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Block PRs on apps supernova, huereka, greenhouse and greenhouse-management and libs communicator, oauth and juno-ui-components
name: Block PRs on apps supernova, huereka, greenhouse and greenhouse-management and libs communicator, oauth, policy-engine and juno-ui-components

on:
pull_request:
Expand Down Expand Up @@ -75,15 +75,16 @@ jobs:
echo libs: ${{ needs.changes.outputs.libs }}
echo app changes: ${{ needs.changes.outputs.app-changes }}
echo lib changes: ${{ needs.changes.outputs.lib-changes }}
- name: Check if changes belongs to apps supernova, huereka, greenhouse or greenhouse-management or libs communicator, oauth or juno-ui-components
- name: Check if changes belongs to apps supernova, huereka, greenhouse or greenhouse-management or libs communicator, oauth, policy-engine or juno-ui-components
if: |
contains(needs.changes.outputs.app-changes, 'supernova') ||
contains(needs.changes.outputs.app-changes, 'huereka') ||
contains(needs.changes.outputs.app-changes, 'greenhouse') ||
contains(needs.changes.outputs.app-changes, 'greenhouse-management') ||
contains(needs.changes.outputs.lib-changes, 'communicator') ||
contains(needs.changes.outputs.lib-changes, 'policy-engine') ||
contains(needs.changes.outputs.lib-changes, 'oauth') ||
contains(needs.changes.outputs.lib-changes, 'juno-ui-components')
run: |
echo "::error not allowed to make changes to supernova, huereka, greenhouse or greenhouse-management apps or communicator, oauth or juno-ui-components libs"
echo "::error not allowed to make changes to supernova, huereka, greenhouse or greenhouse-management apps or communicator, oauth, policy-engine or juno-ui-components libs"
exit 1
3 changes: 2 additions & 1 deletion ci/pipeline.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"playground": { type: "app", path: "apps/playground"},
# "juno-ui-components": { type: "lib", path: "libs/juno-ui-components"},
"messages-provider": { type: "lib", path: "libs/messages-provider"},
"policy-engine": { type: "lib", path: "libs/policy-engine"},
# "policy-engine": { type: "lib", path: "libs/policy-engine"},
"url-state-provider": { type: "lib", path: "libs/url-state-provider"},
"url-state-router": { type: "lib", path: "libs/url-state-router"},
"utils": { type: "lib", path: "libs/utils"},
Expand All @@ -30,6 +30,7 @@
CLOUDOPERATOR_ASSETS = {
"communicator": { type: "lib", path: "libs/communicator"},
"juno-ui-components": { type: "lib", path: "libs/juno-ui-components"},
"policy-engine": { type: "lib", path: "libs/policy-engine"},
"oauth": { type: "lib", path: "libs/oauth"},
}

Expand Down
Loading