Skip to content

Commit

Permalink
chore(ci): replace action converge with werf command (werf#6410)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <[email protected]>
  • Loading branch information
Fral738 authored Nov 13, 2024
1 parent 6a4baaf commit 9681751
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/_docs_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,17 @@ jobs:
EOF
fi
- name: Install werf
uses: werf/actions/install@v2

- name: Deploy
uses: werf/actions/converge@v2
with:
env: ${{ inputs.env }}
kube-config-base64-data: ${{ secrets.kubeConfig }}
run: |
. $(werf ci-env github --as-file)
werf converge
env:
WERF_NAMESPACE: werfio-${{ inputs.env }}
WERF_DIR: docs
WERF_LOG_VERBOSE: on
WERF_REPO: ghcr.io/${{ github.repository_owner }}/werfio
WERF_ENV: ${{ inputs.env }}
WERF_KUBE_CONFIG_BASE64: ${{ secrets.kubeConfig }}
12 changes: 8 additions & 4 deletions .github/workflows/release_trdl-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ jobs:
with:
fetch-depth: 0

- name: Install werf
uses: werf/actions/install@v2

- name: Converge
uses: werf/actions/converge@v2
with:
env: production
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_PROD }}
run: |
. $(werf ci-env github --as-file)
werf converge
env:
WERF_NAMESPACE: "werfio-production"
WERF_DIR: "ci"
WERF_ENV: production
WERF_KUBE_CONFIG_BASE64: ${{ secrets.KUBECONFIG_BASE64_PROD }}

publish_werf_images:
name: Publish images with werf by trdl group and channel
Expand Down

0 comments on commit 9681751

Please sign in to comment.