diff --git a/.github/workflows/build-essbase-stack-release.yml b/.github/workflows/build-essbase-stack-release.yml deleted file mode 100644 index 76e40b9..0000000 --- a/.github/workflows/build-essbase-stack-release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: 'essbase-stack-release' - -on: - release: - types: - - published - -jobs: - terraform_generate_packages: - name: Generate Stack Packages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: ~1.0 - - name: Terraform Init - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: ./terraform - run: terraform init - - name: 'Terraform Validate' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: ./terraform - run: terraform validate -no-color - - name: Build artifacts - run: | - /bin/bash -e build.sh - - name: Upload BYOL stack - uses: actions/upload-release-asset@v1.0.1 - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./build/essbase-stack-byol.zip - asset_name: essbase-stack-${{ github.event.release.tag_name }}-byol.zip - asset_content_type: application/zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Upload UCM stack - uses: actions/upload-release-asset@v1.0.1 - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./build/essbase-stack-ucm.zip - asset_name: essbase-stack-${{ github.event.release.tag_name }}-ucm.zip - asset_content_type: application/zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - diff --git a/.github/workflows/build-essbase-stack.yml b/.github/workflows/build-essbase-stack.yml deleted file mode 100644 index 278bca9..0000000 --- a/.github/workflows/build-essbase-stack.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: 'essbase-stack' - -on: - push: - paths-ignore: - - 'packer-image/**' - pull_request: - paths-ignore: - - 'packer-image/**' - -jobs: - terraform_generate_packages: - name: Generate Stack Packages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: ~1.0 - - name: Terraform Init - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: ./terraform - run: terraform init - - name: 'Terraform Validate' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: ./terraform - run: terraform validate -no-color - - name: Build artifacts - run: | - /bin/bash -e build.sh