Skip to content

Commit 9fb53af

Browse files
committed
Move CICD scripts in bin/
Signed-off-by: freddidierRTE <[email protected]>
1 parent 254a6eb commit 9fb53af

File tree

13 files changed

+25
-25
lines changed

13 files changed

+25
-25
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,24 @@ jobs:
7878

7979
# Install all required tools
8080
- name: Install
81-
run: ./CICD/github/install.sh
81+
run: ./bin/github/install.sh
8282

8383
- name: Build
8484
if: ${{ github.event.inputs.build == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push'}}
8585
# build.sh set variable for sdk, nvm and gradle
8686
# if variable is set in install step it is not accessible in this step
87-
run: ./CICD/github/build.sh
87+
run: ./bin/github/build.sh
8888
env:
8989
# SonarCloud access token should be generated from https://sonarcloud.io/account/security/
9090
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
9191

9292
- name: Karate tests
9393
if: ${{ github.event.inputs.karate == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' }}
94-
run: ./CICD/github/launch_karate_tests.sh
94+
run: ./bin/github/launch_karate_tests.sh
9595

9696
- name: Cypress tests
9797
if: ${{ github.event.inputs.cypress == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' }}
98-
run: ./CICD/github/launch_cypress_tests.sh ${{ github.event.inputs.cypressTestFiles }}
98+
run: ./bin/github/launch_cypress_tests.sh ${{ github.event.inputs.cypressTestFiles }}
9999

100100
- name: Upload cypress screenshots and logs
101101
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -107,7 +107,7 @@ jobs:
107107
opfab.log
108108
- name: Load tests
109109
if: ${{ github.event.inputs.gatling == 'true' || github.event_name == 'schedule' }}
110-
run: ./CICD/github/launch_load_tests.sh
110+
run: ./bin/github/launch_load_tests.sh
111111
publish:
112112
runs-on: ubuntu-latest
113113
environment: publishVersion
@@ -141,24 +141,24 @@ jobs:
141141

142142
# Install all required tools
143143
- name: Install
144-
run: ./CICD/github/install.sh
144+
run: ./bin/github/install.sh
145145

146146
- name: Build
147147
if: ${{ github.event.inputs.build == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push'}}
148148
# set variable in this step (sdk, nvm et gradle)
149149
# if variable is set in install step it is not accessible in this step
150-
run: ./CICD/github/build.sh
150+
run: ./bin/github/build.sh
151151
env:
152152
# SonarCloud access token should be generated from https://sonarcloud.io/account/security/
153153
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
154154

155155
- name: Karate tests
156156
if: ${{ github.event.inputs.karate == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' }}
157-
run: ./CICD/github/launch_karate_tests.sh
157+
run: ./bin/github/launch_karate_tests.sh
158158

159159
- name: Cypress tests
160160
if: ${{ github.event.inputs.cypress == 'true' || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' }}
161-
run: ./CICD/github/launch_cypress_tests.sh
161+
run: ./bin/github/launch_cypress_tests.sh
162162

163163
- name: Upload cypress screenshots
164164
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -169,7 +169,7 @@ jobs:
169169

170170
- name: Load tests
171171
if: ${{ github.event.inputs.gatling == 'true' || github.event_name == 'schedule' }}
172-
run: ./CICD/github/launch_load_tests.sh
172+
run: ./bin/github/launch_load_tests.sh
173173

174174
- name: Publish Documentation
175175
if: ${{ github.event.inputs.doc == 'true' || github.event_name == 'schedule'}}
@@ -180,7 +180,7 @@ jobs:
180180
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
181181
source ./bin/load_environment_light.sh;
182182
./gradlew --build-cache generateOpenApiDocs asciidoctor;
183-
./CICD/github/upload_doc.sh
183+
./bin/github/upload_doc.sh
184184
env:
185185
GH_DOC_TOKEN: ${{ secrets.GH_DOC_TOKEN}}
186186

@@ -193,7 +193,7 @@ jobs:
193193
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
194194
source ./bin/load_environment_light.sh;
195195
./gradlew --build-cache generateOpenApiDocs asciidoctor;
196-
./CICD/github/upload_doc.sh --updateLatest true
196+
./bin/github/upload_doc.sh --updateLatest true
197197
env:
198198
GH_DOC_TOKEN: ${{ secrets.GH_DOC_TOKEN}}
199199

.github/workflows/testWithOldMongo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ jobs:
3333
restore-keys: ${{ runner.os }}-gradle
3434

3535
- name: Install
36-
run: ./CICD/github/install.sh
36+
run: ./bin/github/install.sh
3737

3838
- name: Build
3939
run: |
40-
./CICD/github/build.sh
41-
./CICD/github/setOldMongoVersion.sh
40+
./bin/github/build.sh
41+
./bin/github/setOldMongoVersion.sh
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4545

4646
- name: Karate tests
47-
run: ./CICD/github/launch_karate_tests.sh
47+
run: ./bin/github/launch_karate_tests.sh
4848

4949
- name: Cypress tests
50-
run: ./CICD/github/launch_cypress_tests.sh
50+
run: ./bin/github/launch_cypress_tests.sh
5151

5252
- name: Upload cypress screenshots
5353
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

.github/workflows/verify_copyright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Verify Copyright headers
33
on:
44
pull_request:
55

6-
76
# Declare default permissions as read only.
87
permissions: read-all
98

@@ -18,4 +17,5 @@ jobs:
1817
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
1918

2019
- name: Verify copyright headers
21-
run: ./CICD/github/licenceHeaderCheck.sh ${{ steps.changed-files.outputs.all_changed_files }}
20+
run: ./bin/github/licenceHeaderCheck.sh ${{ steps.changed-files.outputs.all_changed_files }}
21+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)