From 94a9829e81c3ebee47556732d4247dbb32a5945c Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 6 Dec 2021 21:44:41 -0500 Subject: [PATCH] CI: use 0.1 --- .github/workflows/main.yml | 2 +- README.md | 1 + action.yaml | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aca77c8..3f7446f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/checkout@v2 - id: devstack-action - uses: EmilienM/devstack-action@v1 + uses: EmilienM/devstack-action@v0.1 - name: Upload logs artifacts on failure if: failure() uses: actions/upload-artifact@v2 diff --git a/README.md b/README.md index 8ad27c8..af00a6f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # devstack-actions Github actions for Devstack + diff --git a/action.yaml b/action.yaml index c5f61d3..6bc0578 100644 --- a/action.yaml +++ b/action.yaml @@ -1,6 +1,9 @@ name: 'devstack-action' description: 'Deploy OpenStack with devstack' inputs: + branch: + description: 'Name of the branch to deploy' + default: 'master' enabled_services: description: 'Add or remove services to deploy via devstack' default: '' @@ -20,6 +23,7 @@ runs: - name: Checkout Devstack uses: actions/checkout@v2 with: + ref: ${{ inputs.branch }} repository: openstack/devstack path: ./devstack - name: Configure devstack @@ -31,7 +35,7 @@ runs: RABBIT_PASSWORD=secret SERVICE_PASSWORD=secret SWIFT_HASH=1234123412341234 - ENABLED_SERVICES+=${{ inputs.enabled_services }} + ENABLED_SERVICES+=-horizon,-dstat,${{ inputs.enabled_services }} LOGFILE=${{ inputs.log_dir }}/devstack.log EOF working-directory: ./devstack