Skip to content

Commit

Permalink
updating workflow on site generation (#251)
Browse files Browse the repository at this point in the history
* updating workflow due to changes from prysmaticlabs/prysm#12719

* updating readme
  • Loading branch information
james-prysm committed Dec 1, 2023
1 parent 61ea091 commit 83355ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/web-ui-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,33 +121,4 @@ jobs:
with:
find: ${{ steps.previous_shasum.outputs.SHASUM }}
replace: ${{ needs.build_and_release.outputs.new_sha }}
include: "prysm_repo/WORKSPACE"

- name: Setup bazel
uses: jwlawson/actions-setup-bazel@v1
with:
bazel-version: '5.4.0'

- name: Run Bazel
run: cd prysm_repo && bazel build //validator/web:site_data

- name: Copy build site data
run: cd prysm_repo && cp bazel-bin/validator/web/site_data.go ./validator/web/site_data.go

- name: Run go FMT
run: cd prysm_repo && gofmt -w -s ./validator/web/site_data.go

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Web-ui-version-${{ steps.current_version.outputs.TAG }}-commit
title: 'Prysm Web UI Release ${{ steps.current_version.outputs.TAG }}'
body: >
This PR is auto-generated by
[create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: automated pr
path: prysm_repo
#reviewers: rauljordan, james-prysm
token: ${{ secrets.PAToken }}
branch: prysm-web-ui-${{ steps.current_version.outputs.TAG }}
base: develop
include: "prysm_repo/WORKSPACE"
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ Then, do

You should see protos being regenerated under `./src/app/proto`, which will be used as the types in our frontend application.

## Steps to create release

1. Once all commits are added to master, update the `CHANGELOG.md` file for all the associated changes.
2. Create a version tag against master and push the new version tag. This will trigger the git action workflow.
3. Follow README.md instructions on the [prysm repo](https://github.com/prysmaticlabs/prysm/tree/develop/validator/web) to update the validator client with the new UI.

0 comments on commit 83355ad

Please sign in to comment.