-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continue developing service token v2
- Loading branch information
Showing
156 changed files
with
4,453 additions
and
1,472 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
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 |
---|---|---|
|
@@ -12,6 +12,8 @@ node_modules | |
.DS_Store | ||
|
||
/dist | ||
/completions/ | ||
/manpages/ | ||
|
||
# frontend | ||
|
||
|
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 |
---|---|---|
|
@@ -6,6 +6,11 @@ | |
# - cd cli && go mod tidy | ||
# # you may remove this if you don't need go generate | ||
# - cd cli && go generate ./... | ||
before: | ||
hooks: | ||
- ./cli/scripts/completions.sh | ||
- ./cli/scripts/manpages.sh | ||
|
||
builds: | ||
- id: darwin-build | ||
binary: infisical | ||
|
@@ -30,20 +35,30 @@ builds: | |
- openbsd | ||
- windows | ||
goarch: | ||
- 386 | ||
- "386" | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goarm: | ||
- 6 | ||
- 7 | ||
- "6" | ||
- "7" | ||
ignore: | ||
- goos: windows | ||
goarch: "386" | ||
- goos: freebsd | ||
goarch: "386" | ||
dir: ./cli | ||
|
||
archives: | ||
- format_overrides: | ||
- goos: windows | ||
format: zip | ||
files: | ||
- README* | ||
- LICENSE* | ||
- manpages/* | ||
- completions/* | ||
|
||
release: | ||
replace_existing_draft: true | ||
mode: 'replace' | ||
|
@@ -85,13 +100,22 @@ nfpms: | |
homepage: https://infisical.com/ | ||
maintainer: Infisical, Inc | ||
description: The offical Infisical CLI | ||
license: Apache 2.0 | ||
license: MIT | ||
formats: | ||
- rpm | ||
- deb | ||
- apk | ||
- archlinux | ||
bindir: /usr/bin | ||
contents: | ||
- src: ./completions/infisical.bash | ||
dst: /etc/bash_completion.d/infisical | ||
- src: ./completions/infisical.fish | ||
dst: /usr/share/fish/vendor_completions.d/infisical.fish | ||
- src: ./completions/infisical.zsh | ||
dst: /usr/share/zsh/site-functions/_infisical | ||
- src: ./manpages/infisical.1.gz | ||
dst: /usr/share/man/man1/infisical.1.gz | ||
scoop: | ||
bucket: | ||
owner: Infisical | ||
|
@@ -101,7 +125,31 @@ scoop: | |
email: [email protected] | ||
homepage: "https://infisical.com" | ||
description: "The official Infisical CLI" | ||
license: Apache-2.0 | ||
license: MIT | ||
aurs: | ||
- | ||
name: infisical-bin | ||
homepage: "https://infisical.com" | ||
description: "The official Infisical CLI" | ||
maintainers: | ||
- Infisical, Inc <[email protected]> | ||
license: MIT | ||
private_key: '{{ .Env.AUR_KEY }}' | ||
git_url: 'ssh://[email protected]/infisical-bin.git' | ||
package: |- | ||
# bin | ||
install -Dm755 "./infisical" "${pkgdir}/usr/bin/infisical" | ||
# license | ||
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/infisical/LICENSE" | ||
# completions | ||
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/" | ||
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/" | ||
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/" | ||
install -Dm644 "./completions/infisical.bash" "${pkgdir}/usr/share/bash-completion/completions/infisical" | ||
install -Dm644 "./completions/infisical.zsh" "${pkgdir}/usr/share/zsh/site-functions/infisical" | ||
install -Dm644 "./completions/infisical.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/infisical.fish" | ||
# man pages | ||
install -Dm644 "./manpages/infisical.1.gz" "${pkgdir}/usr/share/man/man1/infisical.1.gz" | ||
# dockers: | ||
# - dockerfile: goreleaser.dockerfile | ||
# goos: linux | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
4 changes: 2 additions & 2 deletions
4
backend/src/controllers/botController.ts → backend/src/controllers/v1/botController.ts
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
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
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
6 changes: 3 additions & 3 deletions
6
.../src/controllers/integrationController.ts → ...c/controllers/v1/integrationController.ts
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
6 changes: 3 additions & 3 deletions
6
backend/src/controllers/keyController.ts → backend/src/controllers/v1/keyController.ts
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
Oops, something went wrong.