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

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a06c9eca6d remove jenkins PostCommit BeamMetrics job (#28260)
9a06c9eca6d is described below

commit 9a06c9eca6df5114db09c906837c841649d80fae
Author: Vlado Djerek <[email protected]>
AuthorDate: Thu Aug 31 15:49:20 2023 +0200

    remove jenkins PostCommit BeamMetrics job (#28260)
---
 .../beam_PostCommit_BeamMetrics_Publish.yml        | 18 ++++++----
 .../job_PostCommit_BeamMetrics_Publish.groovy      | 41 ----------------------
 2 files changed, 12 insertions(+), 47 deletions(-)

diff --git a/.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml 
b/.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml
index bc24328d834..8a37768a5b9 100644
--- a/.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml
+++ b/.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml
@@ -16,12 +16,12 @@
 name: PostCommit BeamMetrics Publish
 
 on:
-  # push:
-  #   tags: ['v*']
-  #   branches: ['master', 'release-*']
-  #   paths: ['.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml']
-  # issue_comment:
-  #   types: [created]
+  push:
+    tags: ['v*']
+    branches: ['master', 'release-*']
+    paths: ['.github/workflows/beam_PostCommit_BeamMetrics_Publish.yml']
+  issue_comment:
+    types: [created]
   workflow_dispatch:
 
 #Setting explicit permissions for the action to avoid the default permissions 
which are `write-all` in case of pull_request_target event
@@ -45,6 +45,12 @@ concurrency:
   group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || 
github.sha || github.head_ref || github.ref }}-${{ github.event.sender.login 
}}-${{ github.event.schedule }}'
   cancel-in-progress: true
 
+
+env:
+  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
+  GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
+
 jobs:
   beam_PostCommit_BeamMetrics_Publish:
     if: |
diff --git a/.test-infra/jenkins/job_PostCommit_BeamMetrics_Publish.groovy 
b/.test-infra/jenkins/job_PostCommit_BeamMetrics_Publish.groovy
deleted file mode 100644
index 34912d2825f..00000000000
--- a/.test-infra/jenkins/job_PostCommit_BeamMetrics_Publish.groovy
+++ /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, eit    her express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import CommonJobProperties as commonJobProperties
-import Kubernetes
-import PostcommitJobBuilder
-
-PostcommitJobBuilder.postCommitJob('beam_PostCommit_BeamMetrics_Publish', 'Run 
Beam Metrics deployment',
-    'Beam Metrics deployment', this) {
-
-      description('Applies new configuration to Beam Metrics infrastructure.')
-
-      // Set common parameters.
-      commonJobProperties.setTopLevelMainJobProperties(delegate)
-
-      String kubeconfig = 
commonJobProperties.getKubeconfigLocationForNamespace('default')
-      Kubernetes.create(delegate, kubeconfig, '', 'metrics')
-
-      steps {
-        gradle {
-          rootBuildScriptDir(commonJobProperties.checkoutDir)
-          tasks(':beam-test-infra-metrics:deploy')
-          commonJobProperties.setGradleSwitches(delegate)
-        }
-      }
-    }

Reply via email to