-
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.
[CI] Add GitHub workflows. Migrate commits from gitlab --------- Signed-off-by: v.oleynikov <[email protected]> Signed-off-by: Aleksandr Zimin <[email protected]> Signed-off-by: Alexandr Okhrimenko <[email protected]> Co-authored-by: Aleksandr Zimin <[email protected]> Co-authored-by: Alexandr Okhrimenko <[email protected]> Co-authored-by: Kirill Kononovich <[email protected]> Co-authored-by: Viktor Kramarenko <[email protected]>
- Loading branch information
1 parent
8a5e2a9
commit 303114a
Showing
16 changed files
with
376 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
dev_setup_build: | ||
runs-on: ubuntu-latest | ||
env: | ||
MODULES_REGISTRY: ${{ vars.DEV_REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULES_MODULE_SOURCE: ${{ vars.DEV_MODULE_SOURCE }} | ||
MODULES_REGISTRY_LOGIN: ${{ secrets.DEV_MODULES_REGISTRY_LOGIN }} | ||
MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }} | ||
name: Build and Push images | ||
steps: | ||
- run: | | ||
MODULES_MODULE_TAG="$(echo pr${{ github.ref_name }} | sed 's/\/.*//g')" | ||
echo $MODULES_REGISTRY | ||
echo $CI_COMMIT_REF_NAME | ||
echo "MODULES_MODULE_TAG=$MODULES_MODULE_TAG" >> "$GITHUB_ENV" | ||
echo $MODULES_MODULE_NAME | ||
echo $MODULES_MODULE_SOURCE | ||
echo $MODULES_MODULE_TAG | ||
shell: bash | ||
name: Show vars | ||
- uses: actions/checkout@v4 | ||
- uses: deckhouse/modules-actions/setup@v1 | ||
- uses: deckhouse/modules-actions/build@v1 |
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,73 @@ | ||
name: Build and push for prod | ||
|
||
env: | ||
MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULE_SOURCE_NAME: ${{ vars.PROD_MODULE_SOURCE_NAME }} | ||
MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
prod_ce_setup_build: | ||
runs-on: ubuntu-latest | ||
name: Build and Push CE | ||
steps: | ||
- name: SET VAR | ||
run: | | ||
echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/ce/modules" >> "$GITHUB_ENV" | ||
- run: | | ||
echo $MODULES_REGISTRY | ||
echo $MODULES_MODULE_NAME | ||
echo $MODULES_MODULE_SOURCE | ||
echo $MODULES_MODULE_TAG | ||
shell: bash | ||
name: Show vars | ||
- uses: actions/checkout@v4 | ||
- uses: deckhouse/modules-actions/setup@v1 | ||
- uses: deckhouse/modules-actions/build@v1 | ||
|
||
prod_ee_setup_build: | ||
runs-on: ubuntu-latest | ||
name: Build and Push EE | ||
steps: | ||
- name: SET VAR | ||
run: | | ||
echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/ee/modules" >> "$GITHUB_ENV" | ||
- run: | | ||
echo $MODULES_REGISTRY | ||
echo $MODULES_MODULE_NAME | ||
echo $MODULES_MODULE_SOURCE | ||
echo $MODULES_MODULE_TAG | ||
shell: bash | ||
name: Show vars | ||
- uses: actions/checkout@v4 | ||
- uses: deckhouse/modules-actions/setup@v1 | ||
- uses: deckhouse/modules-actions/build@v1 | ||
|
||
prod_fe_setup_build: | ||
runs-on: ubuntu-latest | ||
name: Build and Push FE | ||
steps: | ||
- name: SET VAR | ||
run: | | ||
echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/fe/modules" >> "$GITHUB_ENV" | ||
- run: | | ||
echo $MODULES_REGISTRY | ||
echo $MODULES_MODULE_NAME | ||
echo $MODULES_MODULE_SOURCE | ||
echo $MODULES_MODULE_TAG | ||
shell: bash | ||
name: Show vars | ||
- uses: actions/checkout@v4 | ||
- uses: deckhouse/modules-actions/setup@v1 | ||
- uses: deckhouse/modules-actions/build@v1 |
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: "The Sds-Node-Configurator module: settings" | ||
--- | ||
{% alert level="warning" %} | ||
The module is guaranteed to work in the following cases only: | ||
- if stock kernels shipped with [supported distributions](../../supported_versions.html#linux) are used; | ||
- if a 10Gbps network is used. | ||
|
||
As for any other configurations, the module may work, but its smooth operation is not guaranteed. | ||
{% endalert %} | ||
|
||
{% include module-bundle.liquid %} | ||
|
||
No configuration on the user's side is required |
Oops, something went wrong.