Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
72432649
Commit
72432649
authored
Mar 15, 2023
by
Yuliya Sharafitdinova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update e2e workflow
parent
3b6d9809
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
e2e-tests.yml
.github/workflows/e2e-tests.yml
+10
-5
No files found.
.github/workflows/e2e-tests.yml
View file @
72432649
name
:
Run E2E tests k8s
on
:
pull_request_review
:
types
:
[
submitted
]
push
:
tags
:
# pull_request_review:
# types: [submitted]
workflow_dispatch
:
env
:
...
...
@@ -19,6 +21,7 @@ jobs:
runs-on
:
ubuntu-latest
outputs
:
shortSha
:
${{ steps.output-step.outputs.short-sha }}
tags
:
${{ steps.meta.outputs.tags }}
steps
:
-
name
:
Check out the repo
uses
:
actions/checkout@v3
...
...
@@ -35,6 +38,8 @@ jobs:
uses
:
docker/metadata-action@v4
with
:
images
:
ghcr.io/blockscout/frontend
tags
:
|
type=ref,event=tag
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v2
...
...
@@ -58,10 +63,10 @@ jobs:
file
:
./Dockerfile
push
:
true
cache-from
:
type=gha
tags
:
ghcr.io/blockscout/frontend:
prerelease-${{ env.GITHUB_REF_NAME_SLUG
}}
tags
:
ghcr.io/blockscout/frontend:
${{ steps.meta.outputs.tags
}}
labels
:
${{ steps.meta.outputs.labels }}
build-args
:
|
GIT_COMMIT_SHA=${{ env.GITHUB_
EVENT_PULL_REQUEST_HEAD_
SHA_SHORT }}
GIT_COMMIT_SHA=${{ env.GITHUB_SHA_SHORT }}
deploy_and_tests
:
if
:
github.event.review.state == 'approved'
...
...
@@ -69,7 +74,7 @@ jobs:
uses
:
blockscout/blockscout-ci-cd/.github/workflows/e2e_new.yaml@master
with
:
appNamespace
:
e2e-front-$GITHUB_SHA_SHORT
frontendImage
:
ghcr.io/blockscout/frontend:
prerelease-$GITHUB_REF_NAME_SLUG
frontendImage
:
ghcr.io/blockscout/frontend:
${{ needs.push_to_registry.outputs.tags }}
blockscoutIngressHost
:
e2e-blockscout-$GITHUB_SHA_SHORT
frontendIngressHost
:
e2e-blockscout-$GITHUB_SHA_SHORT
gethIngressHost
:
e2e-geth-$GITHUB_SHA_SHORT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment