Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/dev_build_precache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ env:
MODULES_REGISTRY_LOGIN: ${{ vars.DEV_MODULES_REGISTRY_LOGIN }}
MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }}
SOURCE_REPO: "${{secrets.SOURCE_REPO}}"
SOURCE_REPO_GIT: "${{secrets.SOURCE_REPO_GIT}}"

on:
workflow_dispatch:
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev_module_build-and-registration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
RELEASE_CHANNEL: ${{ github.event.inputs.channel }}
MODULES_MODULE_TAG: ${{ github.event.inputs.tag }}-dev
SOURCE_REPO: "${{secrets.SOURCE_REPO}}"
SOURCE_REPO_GIT: "${{secrets.SOURCE_REPO_GIT}}"
GO_VERSION: "1.22.7"
MODULE_EDITION: "EE"

Expand Down
21 changes: 5 additions & 16 deletions .github/workflows/release_module_build-and-registration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }}
MODULES_MODULE_TAG: ${{ github.ref_name }}
SOURCE_REPO: "${{ secrets.SOURCE_REPO }}"
SOURCE_REPO_GIT: "${{secrets.SOURCE_REPO_GIT}}"

on:
push:
Expand All @@ -39,7 +40,7 @@ concurrency:

jobs:
prod_ce_setup_build:
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
name: Build and Push CE
steps:
- name: SET VAR
Expand All @@ -58,9 +59,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand All @@ -82,7 +80,7 @@ jobs:
secondary_repo: "${{ vars.DEV_MODULE_SOURCE }}/${{ vars.MODULE_NAME }}"

prod_ee_setup_build:
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
name: Build and Push EE
steps:
- name: SET VAR
Expand All @@ -101,9 +99,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand All @@ -125,7 +120,7 @@ jobs:
secondary_repo: "${{ vars.DEV_MODULE_SOURCE }}/${{ vars.MODULE_NAME }}"

prod_se_plus_setup_build:
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
needs: prod_ee_setup_build
name: Build and Push SE Plus
steps:
Expand All @@ -145,9 +140,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand All @@ -169,7 +161,7 @@ jobs:
secondary_repo: "${{ vars.DEV_MODULE_SOURCE }}/${{ vars.MODULE_NAME }}"

prod_fe_setup_build:
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
needs: prod_ee_setup_build
name: Build and Push FE
steps:
Expand All @@ -189,9 +181,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand Down
27 changes: 6 additions & 21 deletions .github/workflows/release_module_release-channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }}
MODULES_MODULE_TAG: ${{ github.event.inputs.tag }}
SOURCE_REPO: "${{secrets.SOURCE_REPO}}"
SOURCE_REPO_GIT: "${{secrets.SOURCE_REPO_GIT}}"

on:
workflow_dispatch:
Expand Down Expand Up @@ -58,7 +59,7 @@ on:

jobs:
print-vars:
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
name: Print vars
steps:
- name: PRINT VARS
Expand All @@ -73,7 +74,7 @@ jobs:

job-CE:
name: Edition CE
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
if: github.event.inputs.ce == 'true'
steps:
- run: echo "CE"
Expand All @@ -88,10 +89,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand Down Expand Up @@ -122,7 +119,7 @@ jobs:

job-EE:
name: Edition EE
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
if: github.event.inputs.ee == 'true'
steps:
- run: echo "EE"
Expand All @@ -137,10 +134,6 @@ jobs:
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@v2
with:
registry: ${{ vars.PROD_REGISTRY }}
Expand Down Expand Up @@ -178,7 +171,7 @@ jobs:
job-SE-Plus:
name: Edition SE Plus
needs: job-EE
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
steps:
- run: echo "SE Plus"
- name: SET VAR
Expand All @@ -192,10 +185,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand Down Expand Up @@ -227,7 +216,7 @@ jobs:
job-FE:
name: Edition FE
needs: job-EE
runs-on: ubuntu-latest
runs-on: [self-hosted, large]
steps:
- run: echo "FE"
- name: SET VAR
Expand All @@ -245,10 +234,6 @@ jobs:
with:
fetch-depth: 0

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

- name: Login to PROD_REGISTRY
uses: deckhouse/modules-actions/setup@v2
with:
Expand Down