-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop_tchap' into 485-when-i-try-to-join-a-room-witho…
…ut-rights-to-it-error-message-is-in-english
- Loading branch information
Showing
24 changed files
with
120 additions
and
63 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Run the tests | ||
# Todo : reuse a build from another action, instead of rebuilding for nothing. | ||
# tchap modification : use "./scripts/install-yarn-linked-repositories.sh" instead of "./scripts/layered.sh" | ||
# tchap modification : use "./scripts/tchap/install-yarn-linked-repositories.sh" instead of "./scripts/layered.sh" | ||
name: Cypress End to End Tests | ||
on: | ||
pull_request: {} | ||
|
@@ -28,7 +28,7 @@ jobs: | |
node-version: 16 | ||
|
||
- name: Install Dependencies | ||
run: "./scripts/install-yarn-linked-repositories.sh" | ||
run: "./scripts/tchap/install-yarn-linked-repositories.sh" | ||
|
||
- name: Run Cypress tests | ||
uses: cypress-io/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ src/vector/modernizr.js | |
|
||
#remove tchap files from prettier | ||
patches/patches.json | ||
yarn-linked-dependencies/ |
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
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
# Tchap: File copied from scripts/package.js | ||
# This file is meant to be used in scalingo and github actions | ||
|
||
set -e | ||
|
||
today=$(date +%Y%m%d) | ||
|
||
version=$(./scripts/tchap/get-version-from-package-json.sh) | ||
export VERSION=$version | ||
echo "VERSION is set to $VERSION" | ||
|
||
if [[ -n "$CONFIG" ]]; then | ||
echo "CONFIG=$CONFIG" | ||
cp "config.$CONFIG.json" config.json | ||
echo "Using config.$CONFIG.json" | ||
else | ||
echo "No config specified, using config.json." | ||
fi | ||
|
||
yarn clean | ||
yarn build | ||
|
||
mkdir -p dist | ||
cp -r webapp tchap-$version | ||
|
||
# if $version looks like semver with leading v, strip it before writing to file | ||
if [[ ${version} =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(-.+)?$ ]]; then | ||
echo ${version:1} > tchap-$version/version | ||
else | ||
echo ${version} > tchap-$version/version | ||
fi | ||
|
||
# Copy the files in /dist, ready to be served. | ||
cp -r tchap-$version/* dist/ | ||
|
||
# Also make a tar file. Useful for releases. | ||
#tar chvzf tchap-$version-$CONFIG-$today.tar.gz dist | ||
rm -r tchap-$version | ||
|
||
echo | ||
echo "Packaged tchap-$version-$CONFIG" |
File renamed without changes.
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 |
---|---|---|
@@ -1,8 +1,4 @@ | ||
|
||
|
||
export default class TchapUrls { | ||
|
||
//url to request the opening of a new domain on Tchap | ||
public static requestDomainUrl = "https://www.demarches-simplifiees.fr/commencer/utiliser-tchap"; | ||
|
||
} | ||
} |
Oops, something went wrong.