-
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.
Signed-off-by: Aleksandr Zimin <[email protected]>
- Loading branch information
1 parent
5d63503
commit 490931b
Showing
2 changed files
with
80 additions
and
119 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 |
---|---|---|
@@ -1,77 +1,86 @@ | ||
# on: | ||
# push: | ||
# tags: | ||
# - '**' | ||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
# jobs: | ||
# prod_ce_setup_build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
# CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
# MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
# MODULES_MODULE_SOURCE: ${{ vars.PROD_CE_MODULE_SOURCE }} | ||
# MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
# MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
# MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
# name: Build and Push images | ||
# steps: | ||
# - run: | | ||
# echo $MODULES_REGISTRY | ||
# echo $MODULES_MODULE_NAME | ||
# echo $MODULES_MODULE_SOURCE | ||
# echo $MODULES_MODULE_TAG | ||
# shell: bash | ||
# name: Show vars | ||
jobs: | ||
prod_ce_setup_build: | ||
runs-on: ubuntu-latest | ||
env: | ||
MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULES_MODULE_SOURCE: ${{ vars.PROD_CE_MODULE_SOURCE }} | ||
MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
name: Build and Push images | ||
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 | ||
# - uses: actions/checkout@v4 | ||
# - uses: deckhouse/modules-actions/setup@v1 | ||
# - uses: deckhouse/modules-actions/build@v1 | ||
|
||
# prod_ee_setup_build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
# CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
# MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
# MODULES_MODULE_SOURCE: ${{ vars.PROD_EE_MODULE_SOURCE }} | ||
# MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
# MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
# MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
# name: Build and Push images | ||
# steps: | ||
# - run: | | ||
# echo $MODULES_REGISTRY | ||
# echo $MODULES_MODULE_NAME | ||
# echo $MODULES_MODULE_SOURCE | ||
# echo $MODULES_MODULE_TAG | ||
# shell: bash | ||
# name: Show vars | ||
prod_ee_setup_build: | ||
runs-on: ubuntu-latest | ||
env: | ||
MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULES_MODULE_SOURCE: ${{ vars.PROD_EE_MODULE_SOURCE }} | ||
MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
name: Build and Push images | ||
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 | ||
# - uses: actions/checkout@v4 | ||
# - uses: deckhouse/modules-actions/setup@v1 | ||
# - uses: deckhouse/modules-actions/build@v1 | ||
|
||
# prod_fe_setup_build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
# CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
# MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
# MODULES_MODULE_SOURCE: ${{ vars.PROD_FE_MODULE_SOURCE }} | ||
# MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
# MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
# MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
# name: Build and Push images | ||
# steps: | ||
# - run: | | ||
# echo $MODULES_REGISTRY | ||
# echo $MODULES_MODULE_NAME | ||
# echo $MODULES_MODULE_SOURCE | ||
# echo $MODULES_MODULE_TAG | ||
# shell: bash | ||
# name: Show vars | ||
prod_fe_setup_build: | ||
runs-on: ubuntu-latest | ||
env: | ||
MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} | ||
CI_COMMIT_REF_NAME: ${{ github.ref_name }} | ||
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} | ||
MODULES_MODULE_SOURCE: ${{ vars.PROD_FE_MODULE_SOURCE }} | ||
MODULES_REGISTRY_LOGIN: ${{ secrets.PROD_MODULES_REGISTRY_LOGIN }} | ||
MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} | ||
MODULES_MODULE_TAG: ${{ github.ref_name }} | ||
name: Build and Push images | ||
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 | ||
# - uses: actions/checkout@v4 | ||
# - uses: deckhouse/modules-actions/setup@v1 | ||
# - uses: deckhouse/modules-actions/build@v1 |
This file was deleted.
Oops, something went wrong.