fixed CI env variable for vault
Original commit: elastic/x-pack-elasticsearch@623ea83217
This commit is contained in:
parent
7dc4adf238
commit
9ed50211d1
|
@ -29,7 +29,7 @@ buildscript {
|
||||||
// first need to get an authentication token with vault
|
// first need to get an authentication token with vault
|
||||||
File githubToken = project.file('github.token')
|
File githubToken = project.file('github.token')
|
||||||
final String VAULT_ROLE_ID = "8e90dd88-5a8e-9c12-0da9-5439f293ff97"
|
final String VAULT_ROLE_ID = "8e90dd88-5a8e-9c12-0da9-5439f293ff97"
|
||||||
final String VAULT_SECRET_ID = System.env.SECRET_ID
|
final String VAULT_SECRET_ID = System.env.VAULT_SECRET_ID
|
||||||
String authBody = null
|
String authBody = null
|
||||||
if (githubToken.exists()) {
|
if (githubToken.exists()) {
|
||||||
Set<PosixFilePermission> perms = Files.getPosixFilePermissions(githubToken.toPath())
|
Set<PosixFilePermission> perms = Files.getPosixFilePermissions(githubToken.toPath())
|
||||||
|
|
Loading…
Reference in New Issue