-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ansible-lockdown/devel
Added GitHub Workflows Signed-off-by: George Nalen <[email protected]>
- Loading branch information
Showing
6 changed files
with
82 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CommunityToDevel | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the devel branch | ||
on: | ||
pull_request: | ||
branches: [ devel ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Refactr pipeline for devel pull request/merge | ||
- name: Refactr - Run Pipeline (to devel) | ||
# You may pin to the exact commit or the version. | ||
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53 | ||
uses: refactr/[email protected] | ||
with: | ||
# API token | ||
api_token: '${{ secrets.REFACTR_KEY }}' | ||
# Project ID | ||
project_id: 5f47f0c4a13c7b18373e5556 | ||
# Job ID | ||
job_id: 5fdd15849b7a34765da4c2ef | ||
# Variables | ||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/Windows-2019-STIG.git", "image": "ami-0ae930fa924b34ed3", "githubBranch": "${{ github.head_ref }}" }' | ||
# Refactr API base URL | ||
api_url: # optional |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: DevelToMain | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the devel branch | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Refactr pipeline for devel pull request/merge | ||
- name: Refactr - Run Pipeline (to main) | ||
# You may pin to the exact commit or the version. | ||
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53 | ||
uses: refactr/[email protected] | ||
with: | ||
# API token | ||
api_token: '${{ secrets.REFACTR_KEY }}' | ||
# Project ID | ||
project_id: 5f47f0c4a13c7b18373e5556 | ||
# Job ID | ||
job_id: 5fdd1d9683f833b179c51275 | ||
# Variables | ||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/Windows-2019-STIG.git", "image": "ami-0ae930fa924b34ed3", "githubBranch": "devel" }' | ||
# Refactr API base URL | ||
api_url: # optional |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- hosts: demo | ||
- hosts: all | ||
vars: | ||
is_container: false | ||
|
||
|
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