Skip to content

Commit

Permalink
Added gpg sign commit for flyte-bot (flyteorg#92)
Browse files Browse the repository at this point in the history
* Added gpg sign

Signed-off-by: Yuvraj <code@evalsocket.dev>
  • Loading branch information
yindia authored and austin362667 committed May 7, 2024
1 parent 6b8a585 commit 9302179
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flytectl/.github/workflows/boilerplate-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.FLYTE_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.FLYTE_BOT_GPG_PASSPHRASE }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Update Boilerplate
run: |
make update_boilerplate
Expand Down
6 changes: 6 additions & 0 deletions flytectl/.github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
path: ~/.cache/pip
key: docs-pip-${{ runner.os }}-${{ hashFiles('doc-requirements.txt') }}-${{ hashFiles('doc-requirements.in') }}
restore-keys: docs-pip-
- uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.FLYTE_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.FLYTE_BOT_GPG_PASSPHRASE }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Install Dependencies
run: |
# Install all requirments
Expand Down
47 changes: 47 additions & 0 deletions flytectl/.github/workflows/release-automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Update flyteidl version
on:
workflow_dispatch:

jobs:
update-flyte-releases:
name: Update Flyteidl version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.FLYTE_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.FLYTE_BOT_GPG_PASSPHRASE }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Update Flyte component
run: |
FLYTEIDL_VERSION=$(curl --silent "https://api.github.com/repos/flyteorg/flyteidl/releases/latest" | jq -r .tag_name)
go get -u github.com/flyteorg/flyteidl@$FLYTEIDL_VERSION
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.FLYTE_BOT_PAT }}
commit-message: Update Flyteidl version
committer: Flyte-Bot <admin@flyte.org>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: flyte-bot-update-flyteidl
delete-branch: true
title: 'Update Flyteidl version'
body: |
Update Flyteidl version
- Auto-generated by [flyte-bot]
labels: |
flyteidl
team-reviewers: |
owners
maintainers
draft: false

0 comments on commit 9302179

Please sign in to comment.