Skip to content

Commit 463ccf7

Browse files
authored
Merge pull request #5 from EmilienM/test
Update README
2 parents 01a3d2e + 94a9829 commit 463ccf7

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/checkout@v2
99
- id: devstack-action
10-
uses: EmilienM/devstack-action@v1
10+
uses: EmilienM/devstack-action@v0.1
1111
- name: Upload logs artifacts on failure
1212
if: failure()
1313
uses: actions/upload-artifact@v2

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# devstack-actions
22
Github actions for Devstack
3+

action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: 'devstack-action'
22
description: 'Deploy OpenStack with devstack'
33
inputs:
4+
branch:
5+
description: 'Name of the branch to deploy'
6+
default: 'master'
47
enabled_services:
58
description: 'Add or remove services to deploy via devstack'
69
default: ''
@@ -20,6 +23,7 @@ runs:
2023
- name: Checkout Devstack
2124
uses: actions/checkout@v2
2225
with:
26+
ref: ${{ inputs.branch }}
2327
repository: openstack/devstack
2428
path: ./devstack
2529
- name: Configure devstack
@@ -31,7 +35,7 @@ runs:
3135
RABBIT_PASSWORD=secret
3236
SERVICE_PASSWORD=secret
3337
SWIFT_HASH=1234123412341234
34-
ENABLED_SERVICES+=${{ inputs.enabled_services }}
38+
ENABLED_SERVICES+=-horizon,-dstat,${{ inputs.enabled_services }}
3539
LOGFILE=${{ inputs.log_dir }}/devstack.log
3640
EOF
3741
working-directory: ./devstack

0 commit comments

Comments
 (0)