[
https://issues.apache.org/jira/browse/BEAM-12939?focusedWorklogId=671829&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-671829
]
ASF GitHub Bot logged work on BEAM-12939:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Oct/21 05:48
Start Date: 29/Oct/21 05:48
Worklog Time Spent: 10m
Work Description: tvalentyn commented on a change in pull request #15751:
URL: https://github.com/apache/beam/pull/15751#discussion_r738949314
##########
File path: playground/backend/containers/java/build.gradle
##########
@@ -0,0 +1,68 @@
+/*
+ * 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.
+ */
+
+
+apply plugin: 'org.apache.beam.module'
+apply plugin: 'base'
+applyDockerNature()
+
+def playgroundJobServerProject = "${project.path.replace('-container', '')}"
+
+description = project(playgroundJobServerProject).description + " :: Container"
+
+configurations {
+ dockerDependency
+}
+
+dependencies {
+ dockerDependency project(path: playgroundJobServerProject, configuration:
"shadow")
+}
+
+task copyDockerfileDependencies(type: Copy) {
+ copy {
+ from '../../../backend/'
+ into 'build/src'
+ exclude 'containers'
+ }
+ copy {
+ from 'Dockerfile'
+ into 'build/'
+ }
+ copy {
+ from '../../../playground'
+ into 'build/playground'
+ }
+}
+
+docker {
+ name containerImageName(
+ name: project.docker_image_default_repo_prefix +
"playground-backend",
+ root: project.rootProject.hasProperty(["docker-repository-root"]) ?
+ project.rootProject["docker-repository-root"] :
+ project.docker_image_default_repo_root)
+ files "./build/"
+ tags project.rootProject.hasProperty(["image-tag"]) ?
Review comment:
which project is this referring to?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 671829)
Time Spent: 3.5h (was: 3h 20m)
> [Playground] Backend app - Docker container
> -------------------------------------------
>
> Key: BEAM-12939
> URL: https://issues.apache.org/jira/browse/BEAM-12939
> Project: Beam
> Issue Type: New Feature
> Components: beam-playground
> Reporter: Alex Kosolapov
> Assignee: Sergey Kalinin
> Priority: P3
> Labels: beam-playground-devops, beam-playground-sprint-1,
> beam-playground-sprint-2
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> As a Playground maintainer, I want to have a Docker container with the
> Playground backend application for automating deployments and updates via
> CI/CD
> Acceptance criteria:
> # Dockerfile is prepared
> # Dockerfile is used for built and run the application
--
This message was sent by Atlassian Jira
(v8.3.4#803005)