[
https://issues.apache.org/jira/browse/BEAM-7620?focusedWorklogId=286317&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-286317
]
ASF GitHub Bot logged work on BEAM-7620:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Aug/19 01:04
Start Date: 01/Aug/19 01:04
Worklog Time Spent: 10m
Work Description: markflyhigh commented on pull request #8929:
[BEAM-7620] Make run_rc_validation.sh non-interactive
URL: https://github.com/apache/beam/pull/8929#discussion_r309488150
##########
File path: release/src/main/scripts/script.config
##########
@@ -0,0 +1,139 @@
+#
+# 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.
+#
+# This file contains all configurations required by release scripts.
+
+
+########################################
+# Register all configs defined in this file.
+########################################
+
+CONFIG_NAME_LIST=(
+ RELEASE_VER
+ RC_NUM
+ REPO_URL
+ INSTALL_GCLOUD
+ USER_GCP_PROJECT
+ USER_GCS_BUCKET
+ USER_SERVICE_ACCOUNT_EMAIL
+ INSTALL_HUB
+ USER_REMOTE_URL
+ GITHUB_USERNAME
+ INSTALL_GNOME_TERMINAL
+ LOCAL_BEAM_DIR
+ java_quickstart_direct
+ java_quickstart_apex_local
+ java_quickstart_flink_local
+ java_quickstart_spark_local
+ java_quickstart_dataflow
+ java_mobile_game
+ python_quickstart_mobile_game
+ python_leaderboard_direct
+ python_leaderboard_dataflow
+ python_gamestats_direct
+ python_gamestats_dataflow
+)
+
+
+########################################
+# Environment Configurations
+########################################
+
+# Beam version of current release
+# e.g. 2.14.0
+RELEASE_VER=
+
+# Release candidate number
+# This is an identifier for each candidate we built for release. Start from 1
+# and increment if new candidate is built.
+# e.g. 1
+RC_NUM=
+
+# The repo URL from the vote email sent by Release Manager
+# e.g. https://repository.apache.org/content/repositories/orgapachebeam-0000
+REPO_URL=
+
+# Install Google Cloud SDK
+# Google Cloud SDK is required to run validation pipeline on DataflowRunner.
+# Set to true so that it will be installed if not found from local.
+INSTALL_GCLOUD=true
+
+# GCP project id
+# Required for running pipeline with DataflowRunner for validation.
+# e.g. apache-beam-testing
+USER_GCP_PROJECT=
+
+# GCS bucket name
+# Required for running pipeline with DataflowRunner for validation.
+# e.g. bucket-name (do not include 'gs://')
Review comment:
Looks like Gradle flag `-PgcsBucket` defined for java Dataflow test doesn't
allow `gs://` prefix. I can change this config to include `gs://` and remove it
in the script later.
As for existence and permission check, that's definitely worth to do.
However, if people follow the step to create a service account, it's clearly
note that this account should have project owner permission which should be
sufficient for all components in release validation. I would put it as a
further improvement.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 286317)
Time Spent: 2.5h (was: 2h 20m)
> Make release scripts non-interactive
> ------------------------------------
>
> Key: BEAM-7620
> URL: https://issues.apache.org/jira/browse/BEAM-7620
> Project: Beam
> Issue Type: Task
> Components: build-system
> Reporter: Mark Liu
> Assignee: Mark Liu
> Priority: Major
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)