[
https://issues.apache.org/jira/browse/BEAM-12941?focusedWorklogId=690286&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-690286
]
ASF GitHub Bot logged work on BEAM-12941:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Dec/21 19:33
Start Date: 03/Dec/21 19:33
Worklog Time Spent: 10m
Work Description: emilymye commented on a change in pull request #16039:
URL: https://github.com/apache/beam/pull/16039#discussion_r762193203
##########
File path: playground/DEPLOY.md
##########
@@ -0,0 +1,95 @@
+<!--
+ 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.
+-->
+## Manual App Install
+To install Playground applications into existed GCP account you'll need to
follow several steps, in this document just simple set of commands will be
provided that will guide you over install process.
+
+Before starting that process, you will need to create GCP Artifact Registry
instance to store there docker files that would be deployed. Guide to install
that registry could be found in
[that](https://github.com/apache/beam/blob/master/playground/terraform/README.md)
document.
Review comment:
```suggestion
### Getting Started
You will need to create an GCP Artifact Registry instance to host Docker
image files used to deploy the Playground services.
```
It's unclear to me if the recommendation here is to create them using
Terraform by following
https://github.com/apache/beam/blob/master/playground/terraform/README.md#creating-gcp-resources-using-terraform
- if so, can we specifically link here and say
"""
Create the repository in Terraform by following this
[guide](https://github.com/apache/beam/blob/master/playground/terraform/README.md#creating-gcp-resources-using-terraform.
"""
##########
File path: playground/DEPLOY.md
##########
@@ -0,0 +1,95 @@
+<!--
+ 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.
+-->
+## Manual App Install
+To install Playground applications into existed GCP account you'll need to
follow several steps, in this document just simple set of commands will be
provided that will guide you over install process.
+
+Before starting that process, you will need to create GCP Artifact Registry
instance to store there docker files that would be deployed. Guide to install
that registry could be found in
[that](https://github.com/apache/beam/blob/master/playground/terraform/README.md)
document.
+### Common steps
+First of all you will need to get service account key in json format, that can
be done by following
[that](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)
document. Let's assume that you saved that key into file named key.json.
+Next step is to authentificate your account in GCP docker registry, this can
be done by running command:
+```bash
+$ cat /root/dt-key.json | docker login -u _json_key --password-stdin
REGISTRY_NAME
Review comment:
I would also note that this, and the gradle commands below, require
having Docker installed locally.
##########
File path: playground/DEPLOY.md
##########
@@ -0,0 +1,95 @@
+<!--
+ 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.
+-->
+## Manual App Install
+To install Playground applications into existed GCP account you'll need to
follow several steps, in this document just simple set of commands will be
provided that will guide you over install process.
Review comment:
```suggestion
This guide describes how to create a Playground application in an existing
GCP account.
```
--
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: 690286)
Time Spent: 3h 10m (was: 3h)
> [Playground] Application CI/CD scripts
> --------------------------------------
>
> Key: BEAM-12941
> URL: https://issues.apache.org/jira/browse/BEAM-12941
> Project: Beam
> Issue Type: New Feature
> Components: beam-playground
> Reporter: Alex Kosolapov
> Assignee: Sergey Kalinin
> Priority: P3
> Labels: beam-playground-devops, beam-playground-sprint-2,
> beam-playground-sprint-3
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> As a Playground maintainer, I want to have CI/CD pipelines in Apache Beam
> GitHub to automatically run tests in the Beam Playground project and deploy
> Beam Playground components to GCP infrastructure.
> Acceptance criteria:
> # CI/CD pipelines have been implemented using GitHub Actions and Jenkins
> # CI pipelines check style using linter for backend
> # CI pipelines check style using linter for frontend
> # CI pipelines run tests for the Beam Playground project
> # CI/CD pipelines built artifacts and docker images
> # CD pipelines deployed Beam Playground components to GCP
> # CI/CD pipelines integrated with Apache Beam CI/CD
> # Draft Deployment instruction/FAQ
--
This message was sent by Atlassian Jira
(v8.20.1#820001)