Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Denisenko <[email protected]>
  • Loading branch information
d2285 committed Dec 9, 2024
1 parent 58096b9 commit 173e9e6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trdl_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Publish
uses: werf/trdl-vault-actions/publish@main
with:
vault-addr: https://trrr.flant.dev
vault-addr: ${{ secrets.TRDL_VAULT_ADDR }}
project-name: deckhouse-cli
vault-auth-method: approle
vault-role-id: f1b89aca-a28b-04ed-1631-6413758a4ee3
vault-secret-id: dddec62a-39a9-71e2-fea4-f631cf399b09
vault-role-id: ${{ secrets.TRDL_VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.TRDL_VAULT_SECRET_ID }}
9 changes: 5 additions & 4 deletions .github/workflows/trdl_releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
- name: Release
uses: werf/trdl-vault-actions/release@main
with:
vault-addr: https://trrr.flant.dev
project-name: deckhouse-cli
git-tag: ${{ github.event.ref }}
vault-addr: ${{ secrets.TRDL_VAULT_ADDR }}
project-name: deckhouse-cli
vault-auth-method: approle
vault-role-id: f1b89aca-a28b-04ed-1631-6413758a4ee3
vault-secret-id: dddec62a-39a9-71e2-fea4-f631cf399b09
vault-role-id: ${{ secrets.TRDL_VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.TRDL_VAULT_SECRET_ID }}

15 changes: 0 additions & 15 deletions scripts/ci/release-build.sh

This file was deleted.

9 changes: 7 additions & 2 deletions trdl.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
docker_image: ubuntu@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97
docker_image: registry.deckhouse.io/base_images/golang:1.23.1-bullseye@sha256:a24507d1a36fce86431198a979435dadb187e8d0ce0b5c181f46d6788d84a40f
commands:
- ./scripts/ci/release-build.sh {{ .Tag }} && cp -a release-build/{{ .Tag }}/* /result
- apt-get update && apt-get install -y apt-utils libbtrfs-dev file git gcc
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/bin
- git config --global url."https://gitlab-ci-token:${{ secrets.FOX_PRIVATE_TOKEN }}@fox.flant.com/".insteadOf https://fox.flant.com/
- git config --global --add safe.directory '*'
- task -o group -p build:dist:all version={{ .Tag }}
- cp -a ./dist/{{ .Tag }}/* /result

0 comments on commit 173e9e6

Please sign in to comment.