[
https://issues.apache.org/jira/browse/BEAM-13173?focusedWorklogId=679870&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-679870
]
ASF GitHub Bot logged work on BEAM-13173:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Nov/21 19:43
Start Date: 10/Nov/21 19:43
Worklog Time Spent: 10m
Work Description: tvalentyn commented on a change in pull request #15878:
URL: https://github.com/apache/beam/pull/15878#discussion_r746931826
##########
File path: .github/workflows/build_playground_frontend.yml
##########
@@ -0,0 +1,77 @@
+# 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.
+
+name: Build And Deploy Playground Frontend Application
+
+on:
+ push:
+ branches: ['master', 'release-*']
+ tags: 'v*'
+ pull_request:
+ branches: ['master', 'release-*']
+ tags: 'v*'
+ paths: ['playground/backend/**']
+ workflow_dispatch:
+
+jobs:
+ build_playground_frontend_docker_image:
+ name: Build Playground Frontend App
+ runs-on: ubuntu-latest
+ env:
+ GO_VERSION: 1.17.0
+ BEAM_VERSION: 2.33.0
+ steps:
+ - name: Check out the repo
+ uses: actions/checkout@v2
+ - name: Set up JDK 1.8
+ uses: joschi/setup-jdk@v2
+ with:
+ java-version: '8'
+ - name: install flutter
+ uses: subosito/flutter-action@v1
+ with:
+ channel: 'stable'
+ - name: Prepare Flutter lint
+ run: "flutter pub add flutter_lints --dev"
+ working-directory: playground/frontend/
+ continue-on-error: true
+ - name: Run Lint
+ run: "flutter analyze"
+ working-directory: playground/frontend/
+ continue-on-error: true
+ - name: Run Tests
+ run: flutter test
+ working-directory: playground/frontend/
+ continue-on-error: true
+ - name: install npm
+ uses: actions/setup-node@v2
+ with:
+ node-version: '14'
+ - name: install docker linter
+ run: npm install -g dockerlint
+ - name: lint dockerfile
+ run: dockerlint Dockerfile
+ working-directory: playground/frontend
+ - name: Setup GCP account
+ run: echo ${{ secrets.GCP_ACCESS_KEY }} | base64 -d >
/tmp/gcp_access.json
Review comment:
if the pr needs to be merged before you can trigger the job.
--
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: 679870)
Time Spent: 2h 10m (was: 2h)
> [Playground] Frontend Application CI/CD Scripts
> -----------------------------------------------
>
> Key: BEAM-13173
> URL: https://issues.apache.org/jira/browse/BEAM-13173
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Sergey Kalinin
> Assignee: Sergey Kalinin
> Priority: P2
> Labels: beam-playground-devops, beam-playground-frontend
> Time Spent: 2h 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 Frontend Application to GCP infrastructure.
> Acceptance criteria:
> # CI/CD pipelines have been implemented using GitHub Actions and Jenkins
> # CI pipelines check style using linter for frontend
> # CI pipelines run tests for the Beam Playground Frontend Application
> # 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)