Skip to content

Commit

Permalink
Restore old CI/CD Back & Front workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Feb 28, 2024
1 parent 9b34c05 commit c99df79
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 65 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/application_build.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Application Build

on:
push:
paths:
- "**.css"
- "**.kt"
- "**.png"
- "**.js"
- "**.json"
- "**.snap"
- "**.ts"
- "**.tsx"
- "**.yml"
- ".github/workflows/cicd.yml"
- "infra/configurations/**.properties"
- "infra/docker/app/**"
- "**.sql"
- "backend/pom.xml"
- "backend/build.gradle.kts"
- "Makefile"
- "frontend"
schedule:
- cron: "38 11 */3 * *"
workflow_dispatch:
# push:
# paths:
# - "**.css"
# - "**.kt"
# - "**.png"
# - "**.js"
# - "**.json"
# - "**.snap"
# - "**.ts"
# - "**.tsx"
# - "**.yml"
# - ".github/workflows/cicd.yml"
# - "infra/configurations/**.properties"
# - "infra/docker/app/**"
# - "**.sql"
# - "backend/pom.xml"
# - "backend/build.gradle.kts"
# - "Makefile"
# - "frontend"
# schedule:
# - cron: "38 11 */3 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.push.head_commit.id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/application_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
github-token: ${{ secrets.GH_PAT }}
name: workflow_share
repository: MTES-MCT/monitorfish
run-id: ${{ github.event.workflow_run.id }}
run-id: ${{ github.event.workflow_run.workflow.id }}

- name: Set STATUS_CHECK_ID environment variable
run: |
Expand Down
43 changes: 22 additions & 21 deletions .github/workflows/application_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Application Unit Tests

on:
push:
paths:
- "**.css"
- "**.kt"
- "**.png"
- "**.js"
- "**.json"
- "**.snap"
- "**.ts"
- "**.tsx"
- "**.yml"
- ".github/workflows/cicd.yml"
- "infra/configurations/**.properties"
- "infra/docker/app/**"
- "**.sql"
- "backend/pom.xml"
- "backend/build.gradle.kts"
- "Makefile"
- "frontend"
schedule:
- cron: "38 11 */3 * *"
workflow_dispatch:
# push:
# paths:
# - "**.css"
# - "**.kt"
# - "**.png"
# - "**.js"
# - "**.json"
# - "**.snap"
# - "**.ts"
# - "**.tsx"
# - "**.yml"
# - ".github/workflows/cicd.yml"
# - "infra/configurations/**.properties"
# - "infra/docker/app/**"
# - "**.sql"
# - "backend/pom.xml"
# - "backend/build.gradle.kts"
# - "Makefile"
# - "frontend"
# schedule:
# - cron: "38 11 */3 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: CI/CD Back & Front

on:
workflow_dispatch:
# push:
# paths:
# - "**.css"
# - "**.kt"
# - "**.png"
# - "**.js"
# - "**.json"
# - "**.snap"
# - "**.ts"
# - "**.tsx"
# - "**.yml"
# - ".github/workflows/cicd.yml"
# - "infra/configurations/**.properties"
# - "infra/docker/app/**"
# - "**.sql"
# - "backend/pom.xml"
# - "backend/build.gradle.kts"
# - "Makefile"
# - "frontend"
# schedule:
# - cron: "38 11 */3 * *"
# workflow_dispatch:
push:
paths:
- "**.css"
- "**.kt"
- "**.png"
- "**.js"
- "**.json"
- "**.snap"
- "**.ts"
- "**.tsx"
- "**.yml"
- ".github/workflows/cicd.yml"
- "infra/configurations/**.properties"
- "infra/docker/app/**"
- "**.sql"
- "backend/pom.xml"
- "backend/build.gradle.kts"
- "Makefile"
- "frontend"
schedule:
- cron: "38 11 */3 * *"

jobs:
version:
Expand Down

0 comments on commit c99df79

Please sign in to comment.