Skip to content

Commit

Permalink
allure envs part
Browse files Browse the repository at this point in the history
  • Loading branch information
dtuchs committed Oct 17, 2024
1 parent 533fa7b commit b3288b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
env:
ARCH: amd64
ALLURE_DOCKER_API: ${{ secrets.ALLURE_DOCKER_API }}
BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
EXECUTION_TYPE: github
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -27,6 +30,10 @@ jobs:
- name: Pull browsers
run: |
docker pull selenoid/vnc_chrome:125.0
- name: Get the last commit message
run: |
MESSAGE=$(git log -1 --pretty=%B)
echo "HEAD_COMMIT_MESSAGE=$MESSAGE" >> $GITHUB_ENV
- name: Run tests
id: e2e-test
run: |
Expand Down
5 changes: 5 additions & 0 deletions docker-compose-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ services:
build:
context: ./
dockerfile: ./rococo-e2e/Dockerfile
environment:
- ALLURE_DOCKER_API=${ALLURE_DOCKER_API}
- BUILD_URL=${BUILD_URL}
- EXECUTION_TYPE=${EXECUTION_TYPE}
- HEAD_COMMIT_MESSAGE=${HEAD_COMMIT_MESSAGE}
depends_on:
client.rococo.dc:
condition: service_started
Expand Down

0 comments on commit b3288b6

Please sign in to comment.