Skip to content

Commit

Permalink
Renaming to beslishulp
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Nov 29, 2024
1 parent e26fe88 commit fc97dd0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

env:
REGISTRY: ghcr.io
IMAGE_NAME: "minbzk/ai-act-beslisboom"
IMAGE_NAME: "minbzk/ai-act-beslishulp"

jobs:
build:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Get GHCR package hash
id: get_package_hash
run: |
container_id=$(gh api --paginate -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /orgs/MinBZK/packages/container/ai-act-beslisboom/versions | jq -r '.[] | select(.metadata.container.tags | contains(["main"])) | .name')
container_id=$(gh api --paginate -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /orgs/MinBZK/packages/container/ai-act-beslishulp/versions | jq -r '.[] | select(.metadata.container.tags | contains(["main"])) | .name')
echo "container_id=$container_id" >> "$GITHUB_OUTPUT"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -43,16 +43,16 @@ jobs:
- name: Make changes to the file
run: |
sed -i 's/newTag: .*$/newTag: main@${{ steps.get_package_hash.outputs.container_id }}/g' apps/ai-act-beslisboom/sandbox/kustomization.yaml
sed -i 's|minbzk.github.io/version: .*$|minbzk.github.io/version: main|g' apps/ai-act-beslisboom/sandbox/kustomization.yaml
git add apps/ai-act-beslisboom/sandbox/kustomization.yaml
sed -i 's/newTag: .*$/newTag: main@${{ steps.get_package_hash.outputs.container_id }}/g' apps/ai-act-beslishulp/sandbox/kustomization.yaml
sed -i 's|minbzk.github.io/version: .*$|minbzk.github.io/version: main|g' apps/ai-act-beslishulp/sandbox/kustomization.yaml
git add apps/ai-act-beslishulp/sandbox/kustomization.yaml
- name: show changes
run: git diff --staged

- name: push changes
run: |
git commit -m "Update ai-act-beslisboom sandbox tag ${{ steps.get_package_hash.outputs.container_id }}"
git commit -m "Update ai-act-beslishulp sandbox tag ${{ steps.get_package_hash.outputs.container_id }}"
git push --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions schemas/schema_decision_tree.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/MinBZK/AI-act-beslisboom/main/schemas/base.schema",
"title": "Beslisboom schema",
"description": "Beslisboom schema",
"$id": "https://raw.githubusercontent.com/MinBZK/AI-act-beslishulp/main/schemas/base.schema",
"title": "Decision tree schema",
"description": "Decision tree schema",
"type": "object",
"properties": {
"name": {
Expand Down
2 changes: 1 addition & 1 deletion script/gen_mermaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def create_html(file_name: str, flowchart_script: str) -> None:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Decision Tree</title>
<title>AI Act Beslishulp</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script src='https://unpkg.com/[email protected]/dist/mermaid.min.js'></script>
Expand Down

0 comments on commit fc97dd0

Please sign in to comment.