diff --git a/.github/workflows/build_prod.yml b/.github/workflows/build_prod.yml index f159845c..6ea87224 100644 --- a/.github/workflows/build_prod.yml +++ b/.github/workflows/build_prod.yml @@ -73,3 +73,22 @@ jobs: - uses: actions/checkout@v4 - uses: deckhouse/modules-actions/setup@v1 - uses: deckhouse/modules-actions/build@v1 + + prod_se_setup_build: + runs-on: ubuntu-latest + name: Build and Push SE + steps: + - name: SET VAR + run: | + echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/se/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 diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 39c2a679..9b52e928 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -34,6 +34,9 @@ on: fe: type: boolean description: FE + se: + type: boolean + description: SE tag: description: "Tag of the module, example v1.21.1" @@ -114,3 +117,23 @@ jobs: chmod +x .github/check_previous_channel_release.sh .github/check_previous_channel_release.sh $MODULES_MODULE_NAME fe $RELEASE_CHANNEL $MODULES_MODULE_TAG license-token $MODULES_READ_REGISTRY_PASSWORD - uses: deckhouse/modules-actions/deploy@v1 + + job-SE: + name: Edition SE + runs-on: ubuntu-latest + if: github.event.inputs.se == 'true' + steps: + - run: echo "SE" + - name: SET VAR + run: | + echo "MODULES_MODULE_SOURCE=$MODULES_REGISTRY/$MODULE_SOURCE_NAME/se/modules" >> "$GITHUB_ENV" + - name: ECHO VAR + run: | + echo $MODULES_MODULE_SOURCE + - uses: actions/checkout@v4 + - uses: deckhouse/modules-actions/setup@v1 + - name: Check previous release + run: | + chmod +x .github/check_previous_channel_release.sh + .github/check_previous_channel_release.sh $MODULES_MODULE_NAME se $RELEASE_CHANNEL $MODULES_MODULE_TAG license-token $MODULES_READ_REGISTRY_PASSWORD + - uses: deckhouse/modules-actions/deploy@v1