Skip to content

Commit

Permalink
ci: add github actions for codefresh migration
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy MacDonald <tim.macdonald@lacework.net>
  • Loading branch information
tmac1973 committed Mar 15, 2024
1 parent d5c3546 commit e2a674d
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Nightly Build

on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # Run every day at 10AM UTC

jobs:
call-nightly-workflow:
uses: lacework/oss-actions/.github/workflows/tf-nightly.yml@main
secrets: inherit
8 changes: 8 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Prepare Release

on: workflow_dispatch

jobs:
call-nightly-workflow:
uses: lacework/oss-actions/.github/workflows/tf-prepare-release.yml@main
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release

on:
workflow_dispatch:
push:
tags:
- 'v*'

jobs:
call-nightly-workflow:
uses: lacework/oss-actions/.github/workflows/tf-release.yml@main
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/test-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test Compatibility

on:
workflow_dispatch:
issue_comment:
types: [created, edited]


jobs:
call-nightly-workflow:
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, 'make it so')
uses: lacework/oss-actions/.github/workflows/tf-test-compatibility.yml@main
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/verify-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Verify Release

on:
workflow_dispatch:
push:
branches:
- release

jobs:
call-nightly-workflow:
uses: lacework/oss-actions/.github/workflows/tf-verify.yml@main
secrets: inherit

0 comments on commit e2a674d

Please sign in to comment.