-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feature/remove-db-a…
…bstract * origin/master: (153 commits) Update the client version with the operational risks fix. Added the new version 2.12.7 Added the data path global const to use it in all the places. Update issue templates Update bug_report.md Updated the frontoffice dependency with the fix of snapshots creation. Added setting up the project the PROJECT_ROOT const, update the core dependency where the const is used. Updated the client dependency with a deliverable generation fix. Update the client dependency with the profile removal fix. Changing the script permissions. Updated the import anrs script permission and the clients db upgrade parameter. [WSL]Updated FO install [WSL]Updated Full install [WSL]Updated README [WSL] Typo [WSL]Fixed stats-service install [WSL]Updated stats-service install [WSL]Added missing npm install [WSL]Updated WSL Full install [WSL]Updated WSL Full install ... # Conflicts: # composer.json # composer.lock
- Loading branch information
Showing
60 changed files
with
3,161 additions
and
7,521 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
name: MonarcAppFO releases | ||
|
||
on: | ||
push: | ||
branches: [ 'master' ] | ||
tags: [ 'v*.*', 'v*.*.*', 'v*.*.*-*' ] | ||
pull_request: | ||
branches: [ 'master' ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ "16.x" ] | ||
php-version: [ "8.1" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: install deps | ||
run: sudo apt-get update && sudo apt install -y gettext | ||
|
||
# PHP | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
tools: composer:v2.3 | ||
extensions: bcmath | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install PHP dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest --no-dev --ignore-platform-req=php | ||
|
||
- name: Symlink Monarc modules | ||
run: | | ||
mkdir -p module/Monarc | ||
ln -s ../../vendor/monarc/core module/Monarc/Core | ||
ln -s ../../vendor/monarc/frontoffice module/Monarc/FrontOffice | ||
# javascript | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- uses: oprypin/find-latest-tag@v1 | ||
with: | ||
repository: monarc-project/ng-anr | ||
releases-only: true | ||
id: ng_anr_lasttag | ||
|
||
- run: echo "ng-anr is at version ${{ steps.ng_anr_lasttag.outputs.tag }}" | ||
|
||
- name: Install ng-anr | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: monarc-project/ng-anr | ||
ref: ${{ steps.ng_anr_lasttag.outputs.tag }} | ||
path: './node_modules/ng_anr' | ||
|
||
|
||
- uses: oprypin/find-latest-tag@v1 | ||
with: | ||
repository: monarc-project/ng-client | ||
releases-only: true | ||
id: ng_client_lasttag | ||
|
||
- run: echo "ng-client is at version ${{ steps.ng_client_lasttag.outputs.tag }}" | ||
|
||
- name: Install ng-client | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: monarc-project/ng-client | ||
ref: ${{ steps.ng_client_lasttag.outputs.tag }} | ||
path: './node_modules/ng_client' | ||
|
||
- name: Install ng-client dependencies | ||
run: | | ||
cd node_modules/ng_client | ||
npm ci | ||
# final "cleanup" | ||
- name: post job | ||
run: | | ||
bash -ex ./scripts/link_modules_resources.sh | ||
bash -ex ./scripts/compile_translations.sh | ||
# prepare release | ||
- name: Get repository name | ||
id: repository | ||
run: echo "::set-output name=pathref::$(echo '${{ github.repository }}' | cut -d'/' -f2)-$(echo '${{ github.ref_name }}' | sed 's/[^[:alnum:]\.-]/_/g')" | ||
|
||
- name: create artifact archive | ||
run: | | ||
tar --exclude .git --exclude .github -zcf '../${{ steps.repository.outputs.pathref }}.tar.gz' . | ||
- name: release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
../${{ steps.repository.outputs.pathref }}.tar.gz | ||
fail_on_unmatched_files: true | ||
if: startsWith(github.ref, 'refs/tags/') |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.