You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/07/17 10:53:48 UTC

[camel-k] branch release-2.0.x updated: fix(ci): remove staging action

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

pcongiusti pushed a commit to branch release-2.0.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-2.0.x by this push:
     new 93519eb60 fix(ci): remove staging action
93519eb60 is described below

commit 93519eb6008e959355dd4f9912833060cd6ec8ec
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Jul 17 12:52:22 2023 +0200

    fix(ci): remove staging action
    
    Not required
---
 .github/actions/release-staging/action.yml | 73 ------------------------------
 .github/workflows/staging-release.yml      | 52 ---------------------
 script/Makefile                            |  2 +-
 3 files changed, 1 insertion(+), 126 deletions(-)

diff --git a/.github/actions/release-staging/action.yml b/.github/actions/release-staging/action.yml
deleted file mode 100644
index 8f0ee2786..000000000
--- a/.github/actions/release-staging/action.yml
+++ /dev/null
@@ -1,73 +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: release-staging
-description: 'action used to release staging'
-
-inputs:
-  goVersion:
-    required: true
-    type: string
-  javaVersion:
-    required: true
-    type: string
-  # Make sure to treat the below values confidential (ie, not logging)
-  secretE2ECluster:
-    required: true
-  secretE2EKube:
-    required: true
-  secretDockerHubUser:
-    required: true
-  secretDockerHubPassword:
-    required: true
-  secretGithubToken:
-    required: true
-
-runs:
-  using: "composite"
-
-  steps:
-    - name: Install Go ${{ inputs.goVersion }}
-      uses: actions/setup-go@v4
-      with:
-        go-version: ${{ inputs.goVersion }}
-    - name: Install newer docker CLI supporting multi platform build
-      shell: bash
-      run: |
-        sudo apt-get update
-        sudo apt-get install ca-certificates curl gnupg
-        sudo install -m 0755 -d /etc/apt/keyrings
-        curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
-        sudo chmod a+r /etc/apt/keyrings/docker.gpg
-        echo \
-        "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
-        "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
-        sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
-        sudo apt-get update
-        sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
-    - name: Set up QEMU (required by multi platform build)
-      uses: docker/setup-qemu-action@v2
-    - name: Login to Container Registry
-      uses: docker/login-action@v2
-      with:
-        username: ${{ inputs.secretDockerHubUser }}
-        password: ${{ inputs.secretDockerHubPassword }}
-    - name: Build and release staging containers
-      shell: bash
-      run: |
-        make images-all
-        make STAGING_IMAGE_NAME=docker.io/${TEST_DOCKER_HUB_USERNAME:-testcamelk}/camel-k images-push-staging
diff --git a/.github/workflows/staging-release.yml b/.github/workflows/staging-release.yml
deleted file mode 100644
index 649ed5a75..000000000
--- a/.github/workflows/staging-release.yml
+++ /dev/null
@@ -1,52 +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 release
-
-env:
-  TEST_CLUSTER: kind
-  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-  NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
-  NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
-
-on:
-  workflow_dispatch:
-
-jobs:
-  release:
-
-    if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-latest
-    steps:
-    - name: "Checkout code"
-      uses: actions/checkout@v3
-      with:
-        ref: release-2.0.x
-        persist-credentials: false
-        submodules: recursive
-    - name: Release staging release-2.0.x branch
-      uses: ./.github/actions/release-staging
-      with:
-        goVersion: "1.18.x"
-        javaVersion: "17"
-        secretE2ECluster: ${{ secrets.E2E_CLUSTER_CONFIG }}
-        secretE2EKube: ${{ secrets.E2E_KUBE_CONFIG }}
-        secretDockerHubUser: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
-        secretDockerHubPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
-        secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
diff --git a/script/Makefile b/script/Makefile
index b902356d7..802261b5c 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -509,7 +509,7 @@ cross-compile:
 
 release: clean codegen set-module-version set-version build-resources check-licenses images images-push cross-compile git-tag
 
-release-staging: clean codegen set-module-version set-version build-resources check-licenses images images-push-staging cross-compile fabric8-crds git-tag
+release-staging: clean codegen set-module-version set-version build-resources check-licenses images-all images-push-staging cross-compile fabric8-crds git-tag
 
 # Build images
 images-nightly: clean codegen set-module-version set-version build-resources images