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
001b2990
Commit
001b2990
authored
Aug 11, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor workflow files
parent
0a992acd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
22 deletions
+23
-22
deploy-main.yml
.github/workflows/deploy-main.yml
+6
-5
deploy-review-l2.yml
.github/workflows/deploy-review-l2.yml
+5
-7
deploy-review.yml
.github/workflows/deploy-review.yml
+5
-7
e2e-tests.yml
.github/workflows/e2e-tests.yml
+7
-3
No files found.
.github/workflows/
publish-docker-image-and-deploy
.yml
→
.github/workflows/
deploy-main
.yml
View file @
001b2990
name
:
Publish Docker image on every push to
main branch
name
:
Deploy from
main branch
on
:
push
:
...
...
@@ -10,8 +10,8 @@ concurrency:
cancel-in-progress
:
true
jobs
:
pu
sh_to_registry
:
name
:
Pu
sh Docker image to registry
pu
blish_image
:
name
:
Pu
blish Docker image
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out the repo
...
...
@@ -52,7 +52,7 @@ jobs:
deploy_main
:
name
:
Deploy frontend
needs
:
pu
sh_to_registry
needs
:
pu
blish_image
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy_helmfile.yaml@master
with
:
appName
:
front
...
...
@@ -61,9 +61,10 @@ jobs:
kubeConfigSecret
:
ci/data/dev/kubeconfig/k8s-dev
vaultRole
:
ci-dev
secrets
:
inherit
deploy_l2
:
name
:
Deploy frontend (L2)
needs
:
pu
sh_to_registry
needs
:
pu
blish_image
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy_helmfile.yaml@master
with
:
appName
:
l2-optimism-goerli
...
...
.github/workflows/
publish-docker-
deploy-review-l2.yml
→
.github/workflows/deploy-review-l2.yml
View file @
001b2990
name
:
Deploy
l2 review environment (manually
)
name
:
Deploy
review environment (L2
)
on
:
# pull_request:
# push:
workflow_dispatch
:
jobs
:
pu
sh_to_registry
:
name
:
Pu
sh Docker image to registry
pu
blish_image
:
name
:
Pu
blish Docker image
runs-on
:
ubuntu-latest
outputs
:
shortSha
:
${{ steps.output-step.outputs.short-sha }}
...
...
@@ -56,8 +54,8 @@ jobs:
GIT_COMMIT_SHA=${{ env.SHORT_SHA }}
deploy_review_l2
:
name
:
Deploy
review l2
needs
:
pu
sh_to_registry
name
:
Deploy
frontend (L2)
needs
:
pu
blish_image
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy_helmfile.yaml@master
with
:
appName
:
review-l2-$GITHUB_REF_NAME_SLUG
...
...
.github/workflows/
publish-docker-
deploy-review.yml
→
.github/workflows/deploy-review.yml
View file @
001b2990
name
:
Deploy review environment
(manually)
name
:
Deploy review environment
on
:
# pull_request:
# push:
workflow_dispatch
:
jobs
:
pu
sh_to_registry
:
name
:
Pu
sh Docker image to registry
pu
blish_image
:
name
:
Pu
blish Docker image
runs-on
:
ubuntu-latest
outputs
:
shortSha
:
${{ steps.output-step.outputs.short-sha }}
...
...
@@ -56,8 +54,8 @@ jobs:
GIT_COMMIT_SHA=${{ env.SHORT_SHA }}
deploy_review
:
name
:
Deploy
review
needs
:
pu
sh_to_registry
name
:
Deploy
frontend
needs
:
pu
blish_image
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy_helmfile.yaml@master
with
:
appName
:
review-$GITHUB_REF_NAME_SLUG
...
...
.github/workflows/e2e-tests.yml
View file @
001b2990
...
...
@@ -9,8 +9,8 @@ concurrency:
cancel-in-progress
:
true
jobs
:
pu
sh_to_registry
:
name
:
Pu
sh Docker image to registry
pu
blish_image
:
name
:
Pu
blish Docker image
runs-on
:
ubuntu-latest
outputs
:
shortSha
:
${{ steps.output-step.outputs.short-sha }}
...
...
@@ -59,8 +59,10 @@ jobs:
build-args
:
|
GIT_COMMIT_SHA=${{ env.SHORT_SHA }}
GIT_TAG=${{ github.ref_type == 'tag' && github.ref_name || '' }}
deploy_e2e
:
needs
:
push_to_registry
name
:
Deploy E2E instance
needs
:
publish_image
runs-on
:
ubuntu-latest
permissions
:
write-all
steps
:
...
...
@@ -86,7 +88,9 @@ jobs:
ref
:
main
wait_interval
:
30
client_payload
:
'
{
"instance":
"dev",
"globalEnv":
"e2e"}'
test
:
name
:
Run tests
needs
:
deploy_e2e
uses
:
blockscout/blockscout-ci-cd/.github/workflows/e2e_new.yaml@master
secrets
:
inherit
\ No newline at end of file
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