This is an automated email from the ASF dual-hosted git repository.

tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 8554c77fcaa NO-ISSUE: Remove staging GitHub Actions workflows, 
unnecessary after definition of new release procedures for Apache KIE 10 (#2467)
8554c77fcaa is described below

commit 8554c77fcaade96d7218899f6a6842727bae0a13
Author: Tiago Bento <[email protected]>
AuthorDate: Fri Jul 12 14:51:54 2024 -0400

    NO-ISSUE: Remove staging GitHub Actions workflows, unnecessary after 
definition of new release procedures for Apache KIE 10 (#2467)
---
 .../workflows/staging_build_extended_services.yml  | 108 ---------------------
 .../staging_dry_run_extended_services.yml          |  41 --------
 .../staging_publish_extended_services.yml          |  70 -------------
 3 files changed, 219 deletions(-)

diff --git a/.github/workflows/staging_build_extended_services.yml 
b/.github/workflows/staging_build_extended_services.yml
deleted file mode 100644
index d79640bbc54..00000000000
--- a/.github/workflows/staging_build_extended_services.yml
+++ /dev/null
@@ -1,108 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-name: "Staging :: Build (Extended Services)"
-
-on:
-  workflow_call:
-    inputs:
-      dry_run:
-        type: boolean
-        required: true
-      base_ref:
-        type: string
-        required: true
-      tag:
-        type: string
-        required: false
-        default: "0.0.0"
-      upload_asset_url:
-        type: string
-        required: false
-        default: ""
-    secrets:
-      gh_token:
-        required: false
-
-env:
-  TMPDIR: "${{ github.workspace }}/kie-tools/tmp"
-
-jobs:
-  build:
-    runs-on: ${{ matrix.os }}
-
-    strategy:
-      matrix:
-        os: [macos-13, windows-latest]
-    steps:
-      - name: "Support longpaths (Windows only)"
-        if: runner.os == 'Windows'
-        run: git config --system core.longpaths true
-
-      - name: "Checkout @ GitHub default"
-        uses: actions/checkout@v3
-        with:
-          path: kie-tools
-
-      - name: "Checkout @ Simulated squashed-merge if PR"
-        uses: ./kie-tools/.github/actions/checkout-pr
-        with:
-          ref: ${{ inputs.base_ref }}
-          path: kie-tools
-
-      - name: "Setup environment"
-        uses: ./kie-tools/.github/actions/setup-env
-        with:
-          working_dir: kie-tools
-
-      - name: "Bootstrap"
-        id: bootstrap
-        uses: ./kie-tools/.github/actions/bootstrap
-        with:
-          working_dir: kie-tools
-          pnpm_filter_string: -F @kie-tools/extended-services...
-
-      - name: "Build Extended Services"
-        working-directory: ${{ github.workspace }}/kie-tools
-        env:
-          EXTENDED_SERVICES__kieSandboxUrl: 
"https://apache.github.io/incubator-kie-kogito-online-staging/${{ inputs.tag 
}}-prerelease"
-        run: >-
-          pnpm ${{ steps.bootstrap.outputs.pnpm_filter_string }} build:prod
-
-      - name: "STAGING: Upload Extended Services for macOS (macOS only)"
-        if: ${{ runner.os == 'macOS' && !inputs.dry_run }}
-        uses: actions/[email protected]
-        env:
-          GITHUB_TOKEN: ${{ secrets.gh_token }}
-        with:
-          upload_url: ${{ inputs.upload_asset_url }}
-          asset_path: ${{ github.workspace 
}}/kie-tools/packages/extended-services/dist/darwin/Kogito.dmg
-          asset_name: STAGING__kie_sandbox_extended_services_macos_${{ 
inputs.tag }}.dmg
-          asset_content_type: application/octet-stream
-
-      - name: "STAGING: Upload Extended Services for Windows (Windows only)"
-        if: ${{ runner.os == 'Windows' && !inputs.dry_run }}
-        uses: actions/[email protected]
-        env:
-          GITHUB_TOKEN: ${{ secrets.gh_token }}
-        with:
-          upload_url: ${{ inputs.upload_asset_url }}
-          asset_path: "${{ github.workspace 
}}/kie-tools/packages/extended-services/dist/win32/kie_sandbox_extended_services.exe"
-          asset_name: "STAGING__kie_sandbox_extended_services_windows_${{ 
inputs.tag }}.exe"
-          asset_content_type: application/octet-stream
diff --git a/.github/workflows/staging_dry_run_extended_services.yml 
b/.github/workflows/staging_dry_run_extended_services.yml
deleted file mode 100644
index 5417cd4a480..00000000000
--- a/.github/workflows/staging_dry_run_extended_services.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-name: "Staging :: Dry Run (Extended Services)"
-
-on:
-  workflow_dispatch:
-  schedule:
-    - cron: "0 3 * * *" # 3am UTC everyday
-  pull_request:
-    branches: ["**"]
-    paths:
-      - ".github/workflows/staging*"
-      - ".github/actions/**"
-
-concurrency:
-  group: ${{ github.event.pull_request && format('staging-dry-run-pr-{0}', 
github.event.pull_request.number) || format('staging-dry-run-ref-{0}', 
github.ref_name) }}
-  cancel-in-progress: true
-
-jobs:
-  dry_run:
-    uses: ./.github/workflows/staging_build_extended_services.yml
-    with:
-      dry_run: true
-      base_ref: ${{ github.event.pull_request && github.base_ref || github.ref 
}}
diff --git a/.github/workflows/staging_publish_extended_services.yml 
b/.github/workflows/staging_publish_extended_services.yml
deleted file mode 100644
index 24a5e6df384..00000000000
--- a/.github/workflows/staging_publish_extended_services.yml
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-name: "Staging :: Publish (Extended Services)"
-
-on:
-  workflow_dispatch:
-    inputs:
-      tag:
-        type: string
-        required: true
-        description: "Tag associated with the pre-release"
-
-concurrency:
-  group: staging-publish
-  cancel-in-progress: true
-
-jobs:
-  prepare:
-    runs-on: ubuntu-latest
-    outputs:
-      upload_asset_url: ${{ 
fromJSON(steps.fetch_release_for_tag.outputs.data).upload_url }}
-      release_ref: ${{ 
fromJSON(steps.fetch_release_for_tag.outputs.data).target_commitish }}
-    steps:
-      - name: "Fetch pre-release for ${{ github.event.inputs.tag }}"
-        uses: octokit/[email protected]
-        id: fetch_release_for_tag
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        with:
-          route: GET /repos/{repo}/releases/tags/{tag}
-          repo: ${{ github.repository }}
-          tag: ${{ github.event.inputs.tag }}
-
-      - name: "Checkout"
-        uses: actions/checkout@v3
-        with:
-          ref: ${{ 
fromJSON(steps.fetch_release_for_tag.outputs.data).target_commitish }}
-
-      - name: "Check `tag` against `(package.json).version`"
-        shell: bash
-        run: |
-          [ "${{ github.event.inputs.tag }}" == "$(node -p 
"require('./package.json').version")" ]
-
-  build_and_publish:
-    needs: [prepare]
-    uses: ./.github/workflows/staging_build_extended_services.yml
-    with:
-      dry_run: false
-      base_ref: ${{ needs.prepare.outputs.release_ref }}
-      tag: ${{ github.event.inputs.tag }}
-      upload_asset_url: ${{ needs.prepare.outputs.upload_asset_url }}
-    secrets:
-      gh_token: ${{ secrets.GITHUB_TOKEN }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to