Skip to content

Commit

Permalink
Add OSS repo name to github actions trigger (gravitational#21439)
Browse files Browse the repository at this point in the history
* Add OSS repo name to github actinons trigger

* Bumped 'e' reference
  • Loading branch information
fheinecke authored Feb 9, 2023
1 parent 1bbaf23 commit 810a89c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ steps:
- cd "/go/src/github.com/gravitational/teleport/build.assets/tooling"
- go run ./cmd/gh-trigger-workflow -owner ${DRONE_REPO_OWNER} -repo teleport.e -workflow
release-linux-arm64.yml -workflow-ref=${DRONE_BRANCH} -input oss-teleport-ref=${DRONE_COMMIT}
-input upload-artifacts=false
-input upload-artifacts=false -input oss-teleport-repo="${DRONE_REPO}"
environment:
GHA_APP_KEY:
from_secret: GITHUB_WORKFLOW_APP_PRIVATE_KEY
Expand Down Expand Up @@ -4987,7 +4987,7 @@ steps:
- cd "/go/src/github.com/gravitational/teleport/build.assets/tooling"
- go run ./cmd/gh-trigger-workflow -owner ${DRONE_REPO_OWNER} -repo teleport.e -workflow
release-linux-arm64.yml -workflow-ref=${DRONE_TAG} -input oss-teleport-ref=${DRONE_TAG}
-input upload-artifacts=true
-input upload-artifacts=true -input oss-teleport-repo="${DRONE_REPO}"
environment:
GHA_APP_KEY:
from_secret: GITHUB_WORKFLOW_APP_PRIVATE_KEY
Expand Down Expand Up @@ -18925,6 +18925,6 @@ volumes:
temp: {}
---
kind: signature
hmac: 15f7736eba15053496af1d878b536305fac52b52949918de4d4395fae7d0f130
hmac: 581038eef83233caf9bfc59f9268050d0a19a709cbcb71ec6b3bff078cfce1a9

...
3 changes: 2 additions & 1 deletion dronegen/gha.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ func ghaBuildPipeline(b ghaBuildType) pipeline {
`go run ./cmd/gh-trigger-workflow -owner ${DRONE_REPO_OWNER} -repo teleport.e -workflow release-linux-arm64.yml ` +
fmt.Sprintf(`-workflow-ref=${%s} `, b.workflowRefVar) +
fmt.Sprintf(`-input oss-teleport-ref=${%s} `, b.srcRefVar) +
fmt.Sprintf(`-input upload-artifacts=%t`, b.uploadArtifacts),
fmt.Sprintf(`-input upload-artifacts=%t `, b.uploadArtifacts) +
`-input oss-teleport-repo="${DRONE_REPO}"`,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion e
Submodule e updated from 1620f1 to 046051

0 comments on commit 810a89c

Please sign in to comment.