Skip to content

Commit

Permalink
add dockerfile with emcee-cloud cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Prokop committed Jul 25, 2024
1 parent 1d81b5f commit 9dd478e
Show file tree
Hide file tree
Showing 33 changed files with 102 additions and 11,216 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

85 changes: 0 additions & 85 deletions .github/linters/.eslintrc.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/linters/tsconfig.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test e-action
name: Test action

on:
pull_request:
Expand All @@ -9,12 +9,11 @@ on:
- main

jobs:
e-action:
test-action:
runs-on: ubuntu-latest
name: hello
name: test-action
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Run tests
Expand All @@ -23,10 +22,9 @@ jobs:
with:
emcee_token: ${{ secrets.EMCEE_TOKEN }}
app_path: https://emcee.cloud/api/v1/file/download/0ecf3b28-a6e6-4c41-9762-55fdd107c6aa#app-debug.apk
tests_path: https://emcee-cloud-backend.k.avito.ru/file/download/29ca9838-195a-4ae3-8870-9099b3b03169#app-debug-androidTest.apk
tests: https://emcee-cloud-backend.k.avito.ru/file/download/29ca9838-195a-4ae3-8870-9099b3b03169#app-debug-androidTest.apk
platform: android
device_os_version: 27
download_reports: allure
# Use the output from the `hello` step
reports: allure
- name: Get the output time
run: echo "The time was ${{ steps.emcee.outputs.reports_path }}"
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

16 changes: 0 additions & 16 deletions .prettierrc.json

This file was deleted.

15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM debian:12.6-slim

ENV EMCEE_CLI_VERSION=0.0.1
ENV EMCE_CLII_ARCHITECTURE=x86_64

RUN apt-get update && apt-get -y install bash grep curl

RUN curl --location https://github.com/avito-tech/Emcee.cloud-CLI/releases/download/$EMCEE_CLI_VERSION/emcee-cloud_Linux_$EMCE_CLII_ARCHITECTURE.tar.gz --output emcee-cloud_Linux_$EMCE_CLII_ARCHITECTURE.tar.gz
RUN tar -xzf emcee-cloud_Linux_$EMCE_CLII_ARCHITECTURE.tar.gz -C /usr/bin/
RUN chmod +x /usr/bin/emcee-cloud
RUN emcee-cloud --version

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]
59 changes: 0 additions & 59 deletions __tests__/artifacts.test.ts

This file was deleted.

12 changes: 0 additions & 12 deletions __tests__/data.ts

This file was deleted.

68 changes: 0 additions & 68 deletions __tests__/emcee-client.test.ts

This file was deleted.

17 changes: 0 additions & 17 deletions __tests__/index.test.ts

This file was deleted.

Loading

0 comments on commit 9dd478e

Please sign in to comment.