You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/19 15:05:00 UTC

[jira] [Work logged] (BEAM-12936) [Playground] Code editor - Docker container

     [ https://issues.apache.org/jira/browse/BEAM-12936?focusedWorklogId=667061&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-667061 ]

ASF GitHub Bot logged work on BEAM-12936:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Oct/21 15:04
            Start Date: 19/Oct/21 15:04
    Worklog Time Spent: 10m 
      Work Description: damondouglas commented on a change in pull request #15740:
URL: https://github.com/apache/beam/pull/15740#discussion_r731967699



##########
File path: playground/frontend/Dockerfile
##########
@@ -0,0 +1,39 @@
+###############################################################################
+#  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.
+###############################################################################
+
+FROM debian:11 as build
+ENV FLUTTER_VERSION=2.5.2-stable
+
+RUN apt-get update && apt-get install -y wget xz-utils git protobuf-compiler
+RUN wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_$FLUTTER_VERSION.tar.xz &&\
+    tar -xf flutter_linux_$FLUTTER_VERSION.tar.xz &&\
+    mv flutter /opt/ &&\
+    ln -s /opt/flutter/bin/flutter /usr/bin/flutter &&\
+    ln -s /opt/flutter/bin/dart /usr/bin/dart &&\
+    dart pub global activate protoc_plugin &&\
+    ln -s /root/.pub-cache/bin/protoc-gen-dart /usr/bin/
+
+
+COPY . /app
+WORKDIR /app
+RUN mkdir lib/generated && protoc playground.proto --dart_out=grpc:lib/generated --proto_path=$(pwd)/playground/v1

Review comment:
       Why do we need to run protoc if the client/server stubs are already version controlled in the repository?

##########
File path: playground/frontend/nginx_default.conf
##########
@@ -0,0 +1,61 @@
+###############################################################################
+#  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.
+###############################################################################
+
+server {

Review comment:
       Doesn't appengine flex already have a managed service ingress?




-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 667061)
    Remaining Estimate: 0h
            Time Spent: 10m

> [Playground] Code editor - Docker container
> -------------------------------------------
>
>                 Key: BEAM-12936
>                 URL: https://issues.apache.org/jira/browse/BEAM-12936
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-playground
>            Reporter: Alex Kosolapov
>            Assignee: Sergey Kalinin
>            Priority: P3
>              Labels: beam-playground-sprint-2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As a Playground maintainer, I want to have a Docker container with the Playground frontend 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)