Skip to content

Commit

Permalink
Skip everything except for VS Code Extensions on staging builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobento committed Mar 2, 2022
1 parent 8e75122 commit 63f8663
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/staging_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
lerna run build:prod --stream
- name: "STAGING: Push dmn-dev-sandbox-deployment-base-image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.DMN_DEV_SANDBOX__baseImageName }}"
Expand All @@ -154,7 +154,7 @@ jobs:
password: "${{ secrets.quay_registry_password }}"

- name: "STAGING: Push kie-sandbox-extended-services-image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.KIE_SANDBOX_EXTENDED_SERVICES__imageName }}"
Expand All @@ -165,7 +165,7 @@ jobs:

- name: "STAGING: Deploy kie-sandbox-extended-services-image to OpenShift (Ubuntu only)"
id: deploy_kie_sandbox_extended_services_image
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: ./kie-tools/.github/actions/deploy-openshift
with:
image_tag: ${{ env.DEPLOY_TAG }}
Expand All @@ -178,7 +178,7 @@ jobs:
deployment_icon: "golang"

- name: "STAGING: Push cors-proxy-image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.CORS_PROXY__imageName }}"
Expand All @@ -189,7 +189,7 @@ jobs:

- name: "STAGING: Deploy cors-proxy-image to OpenShift (Ubuntu only)"
id: deploy_cors_proxy_image
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: ./kie-tools/.github/actions/deploy-openshift
with:
image_tag: ${{ env.DEPLOY_TAG }}
Expand All @@ -202,7 +202,7 @@ jobs:
deployment_icon: "nodejs"

- name: "STAGING: Push kie-sandbox-image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.KIE_SANDBOX__imageName }}"
Expand All @@ -212,14 +212,14 @@ jobs:
password: "${{ secrets.quay_registry_password }}"

- name: "STAGING: Prepare environment variables for OpenShift deployment (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
shell: bash
run: |
echo "KIE_SANDBOX_EXTENDED_SERVICES_URL=${{ steps.deploy_kie_sandbox_extended_services_image.outputs.route_url }}" >> deployment.env
echo "CORS_PROXY_URL=${{ steps.deploy_cors_proxy_image.outputs.route_url }}" >> deployment.env
- name: "STAGING: Deploy kie-sandbox-image to OpenShift (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: ./kie-tools/.github/actions/deploy-openshift
with:
image_tag: ${{ env.DEPLOY_TAG }}
Expand All @@ -233,7 +233,7 @@ jobs:
deployment_icon: "js"

- name: "STAGING: Deploy Online Editor to kogito-online-staging (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
working-directory: ${{ github.workspace }}/kogito-online-staging
env:
DEPLOYMENT_DIR: ${{ inputs.tag }}-prerelease
Expand Down Expand Up @@ -262,13 +262,13 @@ jobs:
git push origin main
- name: "Compress Online Editor (Ubuntu only)"
if: matrix.os == 'ubuntu-latest'
if: ${{ false }}
working-directory: ${{ github.workspace }}/kie-tools/packages/online-editor
run: |
zip -r dist.zip dist/*
- name: "STAGING: Upload Online Editor (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
asset_content_type: application/zip

- name: "STAGING: Upload Chrome Extension (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -356,7 +356,7 @@ jobs:
asset_content_type: application/zip

- name: "STAGING: Upload Desktop App for Linux (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -367,7 +367,7 @@ jobs:
asset_content_type: application/tar+gzip

- name: "STAGING: Upload Desktop App for macOS (macOS only)"
if: ${{ matrix.os == 'macos-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -378,11 +378,11 @@ jobs:
asset_content_type: application/zip

- name: "Compress Desktop App (Windows only)"
if: matrix.os == 'windows-latest'
if: ${{ false }}
run: "Compress-Archive -Path \"kie-tools\\packages\\desktop\\out\\Business Modeler Preview-win32-x64\" -DestinationPath \"kie-tools\\packages\\desktop\\out\\Business Modeler Preview-win32-x64.zip\""

- name: "STAGING: Upload Desktop App for Windows (Windows only)"
if: ${{ matrix.os == 'windows-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -393,7 +393,7 @@ jobs:
asset_content_type: application/zip

- name: "STAGING: Upload Extended Services for Linux (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -404,7 +404,7 @@ jobs:
asset_content_type: application/tar+gzip

- name: "STAGING: Upload Extended Services for macOS (macOS only)"
if: ${{ matrix.os == 'macos-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -415,7 +415,7 @@ jobs:
asset_content_type: application/octet-stream

- name: "STAGING: Upload Extended Services for Windows (Windows only)"
if: ${{ matrix.os == 'windows-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -426,7 +426,7 @@ jobs:
asset_content_type: application/octet-stream

- name: "STAGING: Upload DashBuilder Assets (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
Expand All @@ -437,7 +437,7 @@ jobs:
asset_content_type: application/zip

- name: "STAGING Push dashbuilder-authoring image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.DASHBUILDER_AUTHORING__baseImageName }}"
Expand All @@ -447,7 +447,7 @@ jobs:
password: "${{ secrets.quay_registry_password }}"

- name: "STAGING Push dashbuilder-runtime image to quay.io (Ubuntu only)"
if: ${{ matrix.os == 'ubuntu-latest' && !inputs.dry_run }}
if: ${{ false }}
uses: redhat-actions/push-to-registry@v2
with:
image: "${{ env.DASHBUILDER_RUNTIME__baseImageName }}"
Expand Down

0 comments on commit 63f8663

Please sign in to comment.