-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e817ce5
commit 071fc32
Showing
2 changed files
with
41 additions
and
0 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: Install crudini to manipulate config.conf | ||
run: pip3 install crudini -c requirements.txt | ||
working-directory: .github/workflows | ||
shell: bash | ||
|
||
- name: Don't use community edition in config.conf | ||
run: crudini --existing=param --set config.conf community-edition hosts '' | ||
shell: bash | ||
|
||
- name: Set host in config file | ||
run: crudini --existing=param --set config.conf enterprise-edition hosts 127.0.0.1 | ||
working-directory: test | ||
shell: bash | ||
|
||
- name: Set user in config file | ||
run: crudini --existing=param --set config.conf enterprise-edition user superuser | ||
working-directory: test | ||
shell: bash | ||
|
||
- name: Set password in config file | ||
run: crudini --existing=param --set config.conf enterprise-edition password superuser | ||
working-directory: test | ||
shell: bash |
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,18 @@ | ||
name: 'Setup config.conf' | ||
description: 'Setup config.conf from config.conf.template' | ||
inputs: | ||
using-ee-server: | ||
required: false | ||
default: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install config.conf to use community edition | ||
run: cp config.conf.template config.conf | ||
working-directory: test | ||
shell: bash | ||
|
||
- name: If using EE server, modify config.conf accordingly | ||
if: ${{ inputs.using-ee-server == 'true' }} | ||
uses: ./.github/actions/setup-config-conf-for-ee |