This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new c9ed2e1 Merge pull request #16137 from
[BEAM-13381][Playground][Bugfix] Update CI/CD To Remove Github Actions That Are
Not Permitted To Use In Beam Repo
c9ed2e1 is described below
commit c9ed2e116b9e5b3032aeec65093f2ac17862c453
Author: Sergey Kalinin <[email protected]>
AuthorDate: Mon Dec 6 17:17:54 2021 +0300
Merge pull request #16137 from [BEAM-13381][Playground][Bugfix] Update
CI/CD To Remove Github Actions That Are Not Permitted To Use In Beam Repo
* [Playground][BEAM-12941][Bugfix] Fix workflows for playground
applications (#83)
* Update workflows for playground
* Attempt to fix tests
* Remove continue on error to catch errors
* Fix linter problem for backend dockerfile
* Update folder to run backend go linter
* Moved flutter test to execution via gradle tasks
* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground
applications (#83)" (#88)
This reverts commit b73f5f70ac4184b56a0a03922731c5f2f69b9566.
* Replace actions that are not permitted to be used in Apache repo
Co-authored-by: Ilya <[email protected]>
Co-authored-by: Aydar Zainutdinov <[email protected]>
Co-authored-by: daria.malkova <[email protected]>
Co-authored-by: Pavel Avilov <[email protected]>
Co-authored-by: Aydar Farrakhov <[email protected]>
---
.github/workflows/build_playground_backend.yml | 4 ++--
.github/workflows/build_playground_frontend.yml | 16 +++++++++++-----
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build_playground_backend.yml
b/.github/workflows/build_playground_backend.yml
index 48eab26..44ae4ea 100644
--- a/.github/workflows/build_playground_backend.yml
+++ b/.github/workflows/build_playground_backend.yml
@@ -33,9 +33,9 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v2
- - name: Set up JDK 1.8
- uses: joschi/setup-jdk@v2
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: '8'
- uses: actions/setup-go@v2
with:
diff --git a/.github/workflows/build_playground_frontend.yml
b/.github/workflows/build_playground_frontend.yml
index 4f5d3e1..bd8515b 100644
--- a/.github/workflows/build_playground_frontend.yml
+++ b/.github/workflows/build_playground_frontend.yml
@@ -30,17 +30,23 @@ jobs:
GO_VERSION: 1.17.0
BEAM_VERSION: 2.33.0
TERRAFORM_VERSION: 1.0.9
+ FLUTTER_VERSION: 2.5.2-stable
steps:
- name: Check out the repo
uses: actions/checkout@v2
- - name: Set up JDK 1.8
- uses: joschi/setup-jdk@v2
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: '8'
- name: install flutter
- uses: subosito/flutter-action@v1
- with:
- channel: 'stable'
+ 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/
- name: Remove default github maven configuration
# This step is a workaround to avoid a decryption issue
run: rm ~/.m2/settings.xml