Skip to content

Commit

Permalink
chore(ci): add se-plus edition (#581)
Browse files Browse the repository at this point in the history
Add SEPlus edition

Signed-off-by: Nikita Korolev <[email protected]>
  • Loading branch information
universal-itengineer authored Dec 18, 2024
1 parent f1d9066 commit b9c0dc5
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/release_module_build-and-registration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,33 @@ jobs:
- uses: deckhouse/modules-actions/setup@v1
- uses: deckhouse/modules-actions/build@v1

prod_se_plus_setup_build:
runs-on: ubuntu-latest
needs: prod_ee_setup_build
name: Build and Push SE Plus
steps:
- name: SET VAR
run: |
echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/se-plus/modules" >> "$GITHUB_ENV"
echo "MODULE_EDITION=EE" >> "$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
with:
fetch-depth: 0

- name: Remove unwanted software
uses: ./.github/actions/remove-unwanted-software

- uses: deckhouse/modules-actions/setup@v1
- uses: deckhouse/modules-actions/build@v1

prod_fe_setup_build:
runs-on: ubuntu-latest
needs: prod_ee_setup_build
Expand Down
30 changes: 29 additions & 1 deletion .github/workflows/release_module_release-channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:
description: CE
ee:
type: boolean
description: EE
description: EE (also build CE ans SEPlus)

tag:
description: "Tag of the module, example v1.21.1"
Expand Down Expand Up @@ -137,6 +137,34 @@ jobs:

- uses: deckhouse/modules-actions/deploy@v1

job-SE-Plus:
name: Edition SE Plus
needs: job-EE
runs-on: ubuntu-latest
steps:
- run: echo "SE Plus"
- name: SET VAR
run: |
echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/se-plus/modules" >> "$GITHUB_ENV"
echo "MODULE_EDITION=EE" >> "$GITHUB_ENV"
- name: ECHO VAR
run: |
echo $MODULES_MODULE_SOURCE
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Remove unwanted software
if: ${{ github.event.inputs.enableBuild == 'true' }}
uses: ./.github/actions/remove-unwanted-software

- uses: deckhouse/modules-actions/setup@v1

- if: ${{ github.event.inputs.enableBuild == 'true' }}
uses: deckhouse/modules-actions/build@v1

- uses: deckhouse/modules-actions/deploy@v1

job-FE:
name: Edition FE
needs: job-EE
Expand Down

0 comments on commit b9c0dc5

Please sign in to comment.