target staging deployment for testing #110
Workflow file for this run
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
--- | |
name: InstallApp | |
on: [push] | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- 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 }} | |
ACS_URL: ${{ secrets.ACS_URL }} | |
run: make install-app-victoria # this can be changed to install-app to install an app on a classic stack |