-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflows, merge repository kuzzle-containers (#2502)
* Update workflows, merge repository kuzzle-containers * Should fix workflow files * Update worfklow.yaml file * Update workflow * Update package-lock * Lint the application * Lint ts, js * Fix tests * Add build kuzzle before launching tests * Update workflow * Add mqtt module * Update requested changes * Update matrix with node_version * Update kuzzle-runner workflow * Update Dockerfile to avoid duplication * Change matrix * Does it fix the node_version * Remove steps that forge matrix, this is not needed * Add dummy steps to allow outputs of a job * Add dummy steps to allow outputs of a job * Update matrix in jobs * Try with env variable * Fix prepare-matrix and use it inside each jobs * Update matrix
- Loading branch information
Showing
283 changed files
with
4,363 additions
and
4,041 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 |
---|---|---|
@@ -1,4 +1,13 @@ | ||
{ | ||
"plugins": ["kuzzle"], | ||
"extends": ["plugin:kuzzle/default", "plugin:kuzzle/node"] | ||
} | ||
"plugins": [ | ||
"kuzzle" | ||
], | ||
"extends": [ | ||
"plugin:kuzzle/default", | ||
"plugin:kuzzle/node" | ||
], | ||
"rules": { | ||
"sort-keys": "warn", | ||
"kuzzle/array-foreach": "warn" | ||
} | ||
} |
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,38 @@ | ||
name: kuzzleio/core-dev | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
env: | ||
DOCKER_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7" | ||
|
||
jobs: | ||
build-and-push: | ||
name: Build and push core-dev image | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./core-dev | ||
file: ./core-dev/Dockerfile | ||
push: true | ||
platforms: ${{ env.DOCKER_PLATFORMS }} | ||
tags: kuzzleio/core-dev:2,kuzzleio/core-dev:latest |
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,40 @@ | ||
name: kuzzleio/elasticsearch | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
env: | ||
DOCKER_PLATFORMS: "linux/amd64,linux/arm64" | ||
ELASTICSEARCH_VERSION: "7.16.2" | ||
|
||
jobs: | ||
build-and-push: | ||
name: Build and push elasticsearch image | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./elasticsearch | ||
file: ./elasticsearch/Dockerfile | ||
push: true | ||
build-args: ELASTICSEARCH_VERSION=${{ env.ELASTICSEARCH_VERSION }} | ||
platforms: ${{ env.DOCKER_PLATFORMS }} | ||
tags: kuzzleio/elasticsearch:${{ env.ELASTICSEARCH_VERSION }},kuzzleio/elasticsearch:7, kuzzleio/elasticsearch:latest |
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 @@ | ||
name: kuzzleio/kuzzle-runner | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
env: | ||
DOCKER_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7" | ||
|
||
jobs: | ||
publish-runner: | ||
name: Build and push image embedding Node.js | ||
runs-on: ubuntu-22.04 | ||
matrix: | ||
node-version: [16, 18, 20] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ./kuzzle-runner | ||
file: ./kuzzle-runner/Dockerfile | ||
push: true | ||
build-args: NODE_LTS_VERSION=${{ matrix.node-version }} | ||
platforms: ${{ env.DOCKER_PLATFORMS }} | ||
tags: kuzzleio/kuzzle-runner:${{ matrix.node-version }} |
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.