-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move CI Start/Stop Server to Github Action
- Loading branch information
Showing
5 changed files
with
52 additions
and
33 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,23 @@ | ||
name: 'CI Start Server' | ||
description: 'Start CI server from distribution' | ||
inputs: | ||
debug: | ||
description: 'Enable debug mode. Prints commands, and preserves temp directories if used.' | ||
required: false | ||
default: 'false' | ||
domain: | ||
description: 'XMPP domain name of server.' | ||
required: false | ||
default: 'example.org' | ||
ip: | ||
description: 'Set a hosts file for the given IP and host (or for example.com if running locally)' | ||
required: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- if: ${{ inputs.debug_mode == 'true' }} | ||
run: ./startCIServer -d -l -i ${{ inputs.ip }} -h ${{ inputs.domain }} | ||
- if: ${{ inputs.debug_mode != 'true' }} | ||
run: ./startCIServer -l -i ${{ inputs.ip }} -h ${{ inputs.domain }} | ||
shell: bash |
File renamed without changes.
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,23 @@ | ||
name: 'CI Stop Server' | ||
description: 'Stops CI server' | ||
inputs: | ||
debug: | ||
description: 'Enable debug mode. Prints commands, and preserves temp directories if used.' | ||
required: false | ||
default: 'false' | ||
domain: | ||
description: 'XMPP domain name of server.' | ||
required: false | ||
default: 'example.org' | ||
ip: | ||
description: 'Set a hosts file for the given IP and host (or for example.com if running locally)' | ||
required: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- if: ${{ inputs.debug_mode == 'true' }} | ||
run: ./stopCIServer -d -l -i ${{ inputs.ip }} -h ${{ inputs.domain }} | ||
- if: ${{ inputs.debug_mode != 'true' }} | ||
run: ./stopCIServer -l -i ${{ inputs.ip }} -h ${{ inputs.domain }} | ||
shell: bash |
File renamed without changes.
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