Skip to content

Commit

Permalink
#305 build microservices scripts update
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Jul 21, 2024
1 parent 6409529 commit 6b7f231
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
test_dir: 'MiniSpace.Services.Posts/tests'
- project: 'MiniSpace.Services.Comments/src/MiniSpace.Services.Comments.Api'
test_dir: 'MiniSpace.Services.Comments/tests'
- project: 'MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api'
test_dir: 'MiniSpace.Services.Organizations/tests'
# - project: 'MiniSpace.Services.Organizations/src/MiniSpace.Services.Organizations.Api'
# test_dir: 'MiniSpace.Services.Organizations/tests'
- project: 'MiniSpace.Services.Posts/src/MiniSpace.Services.Posts.Api'
test_dir: 'MiniSpace.Services.Posts/tests'
- project: 'MiniSpace.Services.Reactions/src/MiniSpace.Services.Reactions.Api'
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/gitlab_sync_pr_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,15 @@ jobs:
GITLAB_REPO="https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/distributed-asp-net-core-blazor-social-app/distributed_minispace.git"
git remote add gitlab2 $GITLAB_REPO || git remote set-url gitlab2 $GITLAB_REPO
- name: Push all branches and tags to both GitLab repositories
- name: Push all branches to both GitLab repositories
run: |
git push gitlab1 --all --tags --force
git push gitlab2 --all --tags --force
git push gitlab1 --all --force
git push gitlab2 --all --force
- name: Push all tags to both GitLab repositories
run: |
git push gitlab1 --tags --force
git push gitlab2 --tags --force
- name: Sync Pull Requests and Issues to GitLab
env:
Expand All @@ -69,4 +74,4 @@ jobs:
GITLAB_REPO_1: 'SaintAngeLs/distributed_minispace'
GITLAB_REPO_2: 'distributed-asp-net-core-blazor-social-app/distributed_minispace'
run: |
python .github/workflows/sync_prs_issues.py
python .github/workflows/sync_prs_issues.py

0 comments on commit 6b7f231

Please sign in to comment.