generated from sergeyWh1te/go-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from lidofinance/feature/deploy
Added deploy step to wf, added minimal ansibly code for deploy.
- Loading branch information
Showing
28 changed files
with
2,367 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Configure sops | ||
description: Import gpg key and mask sops secrets | ||
inputs: | ||
gpg_private_key: | ||
description: 'GPG private key exported as an ASCII armored version or its base64 encoding' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: ./.github/actions/import_gpg | ||
with: | ||
gpg_private_key: "${{ inputs.gpg_private_key }}" | ||
- run: | | ||
./scripts/mask_sops_secrets_in_gh.py | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# https://help.github.com/en/articles/metadata-syntax-for-github-actions | ||
name: 'Import GPG' | ||
description: 'GitHub Action to easily import a GPG key' | ||
author: 'crazy-max' | ||
branding: | ||
color: 'yellow' | ||
icon: 'lock' | ||
|
||
inputs: | ||
gpg_private_key: | ||
description: 'GPG private key exported as an ASCII armored version or its base64 encoding' | ||
required: true | ||
passphrase: | ||
description: 'Passphrase of the GPG private key' | ||
required: false | ||
git_config_global: | ||
description: 'Set Git config global' | ||
default: 'false' | ||
required: false | ||
git_user_signingkey: | ||
description: 'Set GPG signing keyID for this Git repository' | ||
default: 'false' | ||
required: false | ||
git_commit_gpgsign: | ||
description: 'Sign all commits automatically' | ||
default: 'false' | ||
required: false | ||
git_tag_gpgsign: | ||
description: 'Sign all tags automatically' | ||
default: 'false' | ||
required: false | ||
git_push_gpgsign: | ||
description: 'Sign all pushes automatically' | ||
default: 'if-asked' | ||
required: false | ||
git_committer_name: | ||
description: 'Commit author''s name' | ||
required: false | ||
git_committer_email: | ||
description: 'Commit author''s email' | ||
required: false | ||
workdir: | ||
description: 'Working directory (below repository root)' | ||
default: '.' | ||
required: false | ||
fingerprint: | ||
description: 'Specific fingerprint to use (subkey)' | ||
required: false | ||
|
||
outputs: | ||
fingerprint: | ||
description: 'Fingerprint of the GPG key (recommended as user ID)' | ||
keyid: | ||
description: 'Low 64 bits of the X.509 certificate SHA-1 fingerprint' | ||
email: | ||
description: 'Email address associated with the GPG key' | ||
|
||
runs: | ||
using: 'node20' | ||
main: 'dist/index.js' | ||
post: 'dist/index.js' |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.