Skip to content

add github workflow to demo using acs cli for ci-cd (#26) #107

add github workflow to demo using acs cli for ci-cd (#26)

add github workflow to demo using acs cli for ci-cd (#26) #107

Workflow file for this run

---
name: InstallApp
on: [push]
jobs:
install:
runs-on: self-hosted
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build cloudCtl
run: make build-cloudctl
- name: Generate Package
run: make generate-app-package
- name: Vet The Package - AppInspect
env:
SPLUNK_COM_USERNAME: ${{ secrets.SPLUNK_COM_USERNAME }}
SPLUNK_COM_PASSWORD: ${{ secrets.SPLUNK_COM_PASSWORD }}
run: make inspect-app-victoria # this can be changed to inspect-app to vet an app intended to be installed on a classic stack
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: report.json
path: report.json
- name: Install The App On Stack - ACS
env:
SPLUNK_COM_USERNAME: ${{ secrets.SPLUNK_COM_USERNAME }}
SPLUNK_COM_PASSWORD: ${{ secrets.SPLUNK_COM_PASSWORD }}
STACK_TOKEN: ${{ secrets.VICTORIA_STACK_TOKEN }}
STACK_NAME: ${{ secrets.VICTORIA_STACK_NAME }}
run: make install-app-victoria # this can be changed to install-app to install an app on a classic stack