Skip to content

Commit

Permalink
Pass IPFS port and repo path env vars to CI (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonsivar authored Dec 2, 2020
1 parent 213ffa0 commit af51300
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IPFS_NODE_ADDR: ${{ secrets.IPFS_NODE_ADDR }}
IPFS_NODE_PATH: ${{ secrets.IPFS_NODE_PATH }}
SERVICES_API_URL: ${{ secrets[steps.secretnames.outputs.SERVICES_API_URL] }}
VAULT_API_URL: ${{ secrets[steps.secretnames.outputs.VAULT_API_URL] }}
VAULT_SALT_SECRET: ${{ secrets[steps.secretnames.outputs.VAULT_SALT_SECRET] }}
Expand Down
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ builds:
- -X main.textileuserkey={{ .Env.TXL_USER_KEY }}
- -X main.textileusersecret={{ .Env.TXL_USER_SECRET }}
- -X main.spacestoragesiteurl={{ .Env.SPACE_STORAGE_SITE_URL }}
- -X main.ipfsnodeaddr={{ .Env.IPFS_NODE_ADDR }}
- -X main.ipfsnodepath={{ .Env.IPFS_NODE_PATH }}
main: ./cmd/space-daemon/main.go
binary: space
goos:
Expand All @@ -42,6 +44,8 @@ builds:
- -X main.textileuserkey={{ .Env.TXL_USER_KEY }}
- -X main.textileusersecret={{ .Env.TXL_USER_SECRET }}
- -X main.spacestoragesiteurl={{ .Env.SPACE_STORAGE_SITE_URL }}
- -X main.ipfsnodeaddr={{ .Env.IPFS_NODE_ADDR }}
- -X main.ipfsnodepath={{ .Env.IPFS_NODE_PATH }}
main: ./cmd/space-daemon/main.go
binary: space
goos:
Expand All @@ -64,6 +68,8 @@ builds:
- -X main.textileuserkey={{ .Env.TXL_USER_KEY }}
- -X main.textileusersecret={{ .Env.TXL_USER_SECRET }}
- -X main.spacestoragesiteurl={{ .Env.SPACE_STORAGE_SITE_URL }}
- -X main.ipfsnodeaddr={{ .Env.IPFS_NODE_ADDR }}
- -X main.ipfsnodepath={{ .Env.IPFS_NODE_PATH }}
main: ./cmd/space-daemon/main.go
binary: space
goos:
Expand Down

0 comments on commit af51300

Please sign in to comment.