-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into services/loterre-resolvers/migrate
- Loading branch information
Showing
495 changed files
with
78,553 additions
and
584 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,6 @@ | ||
# Disable autocrlf on generated files, they always generate with LF | ||
# Add any extra files or paths here to make git stop saying they | ||
# are changed when only line endings change. | ||
services/**/*.hurl text eol=lf | ||
# Use CRLF on terms-tools test file. | ||
services/terms-tools/*.hurl text eol=crlf |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,68 @@ | ||
# .github/workflows/docker-build-on-tag.yml | ||
|
||
name: Build, Test & Push | ||
|
||
on: | ||
push: | ||
tags: | ||
- "ws-*@*" | ||
|
||
jobs: | ||
test-on-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout from Git | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install Hurl | ||
run: | | ||
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/4.3.0/hurl_4.3.0_amd64.deb | ||
sudo dpkg -i hurl_4.3.0_amd64.deb | ||
hurl --version | ||
- name: Build .env from Github Actions secrets | ||
shell: bash | ||
run: | | ||
bin/create-env.sh ${{ github.ref_name }} ${{ secrets.WEBDAV_LOGIN }} ${{ secrets.WEBDAV_PASSWORD }} ${{ secrets.WEBDAV_URL }} ${{secrets.OPENALEX_API_KEY}} ${{secrets.UNPAYWALL_API_KEY}} | ||
ls -l services/*/.env | ||
- name: Build Docker Image & Test | ||
shell: bash | ||
run: | | ||
bin/test-on-tag.sh ${{ github.ref_name }} | ||
build-on-tag: | ||
needs: | ||
- test-on-tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout from Git | ||
uses: actions/checkout@v4 | ||
|
||
- name: Docker Login | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Build .env from Github Actions secrets | ||
shell: bash | ||
run: | | ||
bin/create-env.sh ${{ github.ref_name }} ${{ secrets.WEBDAV_LOGIN }} ${{ secrets.WEBDAV_PASSWORD }} ${{ secrets.WEBDAV_URL }} ${{secrets.OPENALEX_API_KEY}} ${{secrets.UNPAYWALL_API_KEY}} | ||
ls -l services/*/.env | ||
- name: Build & Push Docker Image | ||
shell: bash | ||
run: | | ||
echo "Building and pushing image for ${{ github.ref_name }}" | ||
bin/build-and-push.sh ${{ github.ref_name }} |
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,41 @@ | ||
# .github/workflows/docker-build-on-push.yml | ||
|
||
name: Build & Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- "services/*/*" | ||
paths-ignore: | ||
- "**.md" | ||
- "**/swagger.json" | ||
|
||
jobs: | ||
test-on-commit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout from Git | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install Hurl | ||
run: | | ||
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/4.3.0/hurl_4.3.0_amd64.deb | ||
sudo dpkg -i hurl_4.3.0_amd64.deb | ||
hurl --version | ||
- name: Build .env from Github Actions secrets | ||
shell: bash | ||
run: | | ||
bin/create-env.sh ${{ github.ref_name }} ${{ secrets.WEBDAV_LOGIN }} ${{ secrets.WEBDAV_PASSWORD }} ${{ secrets.WEBDAV_URL }} ${{secrets.OPENALEX_API_KEY}} ${{secrets.UNPAYWALL_API_KEY}} | ||
ls -l services/*/.env | ||
- name: Build Docker Image & Test | ||
shell: bash | ||
run: | | ||
bin/test-on-branch.sh ${{ github.ref_name }} |
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 @@ | ||
external-sources=true |
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.