Skip to content

Commit

Permalink
Release/v0.7.0 (#870)
Browse files Browse the repository at this point in the history
* Add exit dumper (#806)

* Add exit dumper

* Bump up go version

* Fix go lint

(cherry picked from commit b3a6b06)

* Fix: gateway horizontal scrollbar. (#821)

(cherry picked from commit b23ab2b)

* added release-please (#823)

* added release-please

* Update release-please.yml

* on push develop, default master

(cherry picked from commit 4eb3c9c)

* [AA] fix UserOpMethodHandler estimateUserOperationGas #752 (#756)

* userop-estimateUserOperationGas

* fix-integ-test

* add-bundler-utils

* rmlock

* integration test

* bundler-main

* lock rm

integration test debugging

bundler-main

* Update integration-tests/test/eth-l2/boba_aa_bundler.spec.ts

Co-authored-by: Ino Murko <[email protected]>

* Update UserOpMethodHandler.ts

* debugging

* bundlerProvider

* wallets

* test fixed

* alt

* rm only

* dep

* bnb tests

* Update boba_aa_bundler.spec.ts

* feedback

* failedop status

status

merge

fix-mapping

* resp

* undo-package

---------

Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit 4a31038)

* remove rinkeby|ropsten with goerli (#834)

(cherry picked from commit 9a5991b)

* make hosted and AM names consistent (#839)

(cherry picked from commit 8de8f2a)

* message for swap (#825)

(cherry picked from commit 2e7abf3)

* Deploy audit contracts to testnets (#841)

* Deploy audit contracts to Goerli

* Deploy audit contracts to BSC testnet

* Deploy audit contracts to Fuji

* Deploy audit contracts to Opera testnet and bobabase

(cherry picked from commit 77aaa9d)

* [AA] test: add more paymaster ownership tests (#810)

* test: add paymaster ownership tests

* fix: alt-l1 tests

* add gaslimit

(cherry picked from commit 7ef780d)

* Fix : Alert for Boba Opera shutting down (#814)

* fantom opera disable alert + textual change for moonbeam alert

* updated test cases for notification banner

* updated dates for the opera shutdown

* updated test cases

* updated test cases failure

(cherry picked from commit f949b70)

* Bump @openzeppelin/contracts-upgradeable (#840)

(cherry picked from commit 92e1688)

* install yq (#844)

build all side containers

release building containers

(cherry picked from commit 1c17ac3)

* Bump undici from 5.14.0 to 5.22.1 (#850)

Bumps [undici](https://github.com/nodejs/undici) from 5.14.0 to 5.22.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.14.0...v5.22.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit d443e83)

* Bump cookiejar from 2.1.3 to 2.1.4 (#848)

Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 3200612)

* Add Snyk, Dependabot, Secretfinder (#838)

* Create dependabot.yml

* Update dependabot.yml

* snyk

* secret-detect

* build(detect-secrets): Commit the newly-generated .secrets.baseline file

* error on

* fix-vulnerabilities

* snyk

* integ

* Update package.json

* Update package.json

* Update package.json

* Update snyk.yml

* Update secret-detect.yml

* Update .github/dependabot.yml

Co-authored-by: Ino Murko <[email protected]>

---------

Co-authored-by: wsdt <[email protected]>
Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit 19b2367)

* Fix dependabot (reviewers) intendation (#853)

(cherry picked from commit 3e84e29)

* Revert "Fix dependabot (reviewers) intendation" (#854)

* Revert "Fix dependabot (reviewers) intendation (#853)"

This reverts commit 3e84e29.

* Update dependabot.yml

---------

Co-authored-by: Riedl Kevin, Bsc <[email protected]>
(cherry picked from commit 276eb71)

* Bump @types/chai from 4.3.4 to 4.3.5 (#859)

Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f3f78df)

* Bump typedoc from 0.22.18 to 0.24.7 (#858)

Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.18 to 0.24.7.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](TypeStrong/typedoc@v0.22.18...v0.24.7)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 0b8938e)

* Bump prettier and @types/prettier (#857)

Bumps [prettier](https://github.com/prettier/prettier) and [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier). These dependencies needed to be updated together.

Updates `prettier` from 2.8.2 to 2.8.8
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.2...2.8.8)

Updates `@types/prettier` from 2.2.1 to 2.7.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: "@types/prettier"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ee80d8c)

* Bump @emotion/react from 11.10.6 to 11.11.0 (#856)

Bumps [@emotion/react](https://github.com/emotion-js/emotion) from 11.10.6 to 11.11.0.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/[email protected]...@emotion/[email protected])

---
updated-dependencies:
- dependency-name: "@emotion/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2b559d3)

* Bump http-cache-semantics from 4.1.0 to 4.1.1 (#849)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2d84ebb)

* Verifier fixes (#835)

* Pin web3.py dependency to last working version (v6.x has incompatible changes)

 Changes to be committed:
	modified:   boba_community/fraud-detector/docker/Dockerfile.fraud-detector

* Update the verifier docker-compose.yml structure to match the replica (../boba-node/docker-compose.yml).
 Changes to be committed:
	modified:   docker-compose.yml

* Move addresses.json file (mainnet)
 Changes to be committed:
	renamed:    addresses.json -> addresses/mainnet/addresses.json

* Avoid expensive queries to AddressManager contract by returning
values from the configured addressList. Assumes that contract
addresses do not change after deployment (within the relevant
range of blocks).

 Changes to be committed:
	modified:   packages/data-transport-layer/src/services/l1-ingestion/service.ts
	modified:   packages/data-transport-layer/src/services/main/service.ts

* Add Goerli files.
 Changes to be committed:
	new file:   docker-compose-goerli.yml
	new file:   state-dumps/goerli/addresses.json
	new file:   state-dumps/goerli/boba-addr.json
	new file:   state-dumps/goerli/state-dump.latest.json
	renamed:    addresses/mainnet/addresses.json -> state-dumps/mainnet/addresses.json

* Add Verifier / Fraud Detector support for the legacy mainnet
prior to the regenesis.

 Changes to be committed:
	new file:   docker-compose-v1_mainnet.yml
	modified:   docker-compose.yml
	modified:   fraud-detector.py
	new file:   state-dumps/v1_mainnet/addresses.json
	new file:   state-dumps/v1_mainnet/state-dump.latest.json

* Update documentation; fix V1 contract names.

 Changes to be committed:
	modified:   README.md
	modified:   state-dumps/v1_mainnet/addresses.json

* Fixes.
 Changes to be committed:
	modified:   README.md
	modified:   docker-compose-goerli.yml
	modified:   docker-compose.yml

---------

Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit 10f0e3a)

* Add more information to Bundler SDK release & versioning (#813)

* fix npm versioning

* branch

* changed-refspec

* push

* define-branch

* Bump Bundler SDK version

* path-filters

define-branch

push

changed-refspec

branch

fix npm versioning

* package metadata, docs

finish actions

trigger-change

trigger-change

fix-test-branch

switch-actions

* yarn.lcok

* trigger

* Bump Bundler SDK version

* fix-lock

* fix-lock

* works

test

ghtok

dev

version

test

trigger

trigger

trigger

trigger

has-updated

* Update .github/workflows/aa-bundler-sdk-pr.yml

Co-authored-by: Ino Murko <[email protected]>

* Update aa-bundler-sdk-pr.yml

* Update aa-bundler-sdk.yml

* open a PR

* update tags

* check if packages *was* updated

* set base branch for new PR

* use GH_PERSONAL_ACCESS_TOKEN instead of GITHUB_TOKEN

* use yarn instead of npm

* use yarn with jq

* use action-bump-semver

* run only on merge to develop when theres a change

---------

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Ino Murko <[email protected]>
Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit 2f6f8fe)

* Github: CI/CD for gateway deployment to staging. (#824)

* testing tag version

* update yml

* prepare the github workflow for deploy to stage & cleanup unused workflow

* env params value

* cleanup keys & script from package.json

(cherry picked from commit fc0dee7)

* Gateway CI/CD : workflow fixes (#863)

* workflow fixes

* removed linting, added working directory while sync with s3

(cherry picked from commit 00c586e)

* Update SDK version (#862)

Co-authored-by: InoMurko <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
(cherry picked from commit 3ef009a)

* fix: bundler relies on eth_getLogs with indefinite range (#855)

* fix: workaround for bundler eth_getLogs range

* remove unused deps

* fix: rename to l2Offset

* add configurable logsChunckSize

---------

Co-authored-by: Riedl Kevin, Bsc <[email protected]>
(cherry picked from commit 13a1222)

---------

Co-authored-by: Boyuan-Chen <[email protected]>
Co-authored-by: Sahil K <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Souradeep Das <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Montour <[email protected]>
Co-authored-by: bobabot-enya-ai <[email protected]>
  • Loading branch information
8 people committed Jun 1, 2023
1 parent 216cd2c commit 9963ad1
Show file tree
Hide file tree
Showing 149 changed files with 6,005 additions and 756 deletions.
36 changes: 36 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
reviewers:
- "souradeep-das"
- "wsdt"
- "Boyuan-Chen"
- "InoMurko"
- package-ecosystem: "docker" # See documentation for possible values
directory: "/ops" # Location of package manifests
schedule:
interval: "weekly"
reviewers:
- "souradeep-das"
- "wsdt"
- "Boyuan-Chen"
- "InoMurko"
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "souradeep-das"
- "wsdt"
- "Boyuan-Chen"
- "InoMurko"
105 changes: 85 additions & 20 deletions .github/workflows/aa-bundler-sdk-pr.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,91 @@
name: Will trigger release of AA-Bundler to NPM (PR comment)
name: Will trigger version bump of AA-Bundler for NPM

on:
pull_request:
push:
branches:
- develop
paths:
# only on change
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
- 'packages/boba/account-abstraction/**/*'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
bundler_sdk:
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
- name: PR commenter
if: steps.filter.outputs.bundler_sdk == 'true'
uses: mshick/add-pr-comment@v2
with:
message: |
⚠️ **This PR triggers a minor release of the Bundler SDK** (Account Abstraction) to NPM as you made changes in the corresponding `bundler_sdk` directory.
Please make sure this is intentional.
The package that is going to be updated is `@bobanetwork/bundler_sdk`.
- uses: actions/checkout@v3

- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
bundler_sdk:
- 'packages/boba/account-abstraction/**/*'
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
- name: PR commenter
if: steps.filter.outputs.bundler_sdk == 'true'
uses: mshick/add-pr-comment@v2
with:
message: |
⚠️ **This PR triggers a minor release of the Bundler SDK** (Account Abstraction) to NPM as you made changes in the corresponding `bundler_sdk` directory.
Please make sure this is intentional.
The package that is going to be updated is `@bobanetwork/bundler_sdk`.
- uses: MontyD/[email protected]
id: version-updated
with:
path: packages/boba/bundler_sdk/package.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: get-latest-tag
working-directory: ./packages/boba/bundler_sdk
run: echo "sdk_current_version=$(cat package.json | jq -r '.version')" >> $GITHUB_OUTPUT

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
with:
current_version: ${{ steps.get-latest-tag.outputs.sdk_current_version }}
level: patch

- name: Increment patch version
if: steps.version-updated.outputs.has-updated == 'true'
working-directory: ./packages/boba/bundler_sdk
run: yarn version patch --no-commit-hooks --no-git-tag-version --new-version ${{ steps.bump-semver.outputs.new_version }}

- name: Create Pull Request
if: steps.version-updated.outputs.has-updated == 'true'
id: cpr
uses: peter-evans/create-pull-request@v5
with:
base: develop
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
commit-message: Update SDK version
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: automated/bump_bundler_sdk_version
delete-branch: true
title: 'Bump Bundler SDK version'
body: |
Bump Bundler SDK version
labels: |
automated pr
bundler
bundler sdk
account-abstraction
reviewers: |
souradeep-das
wsdt
Boyuan-Chen
inomurko
draft: false

13 changes: 4 additions & 9 deletions .github/workflows/aa-bundler-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Publish AA-Bundler to NPM
on:
push:
branches:
- develop
paths:
# only on change
- 'packages/boba/bundler_sdk/**/*'
- 'packages/boba/bundler_utils/**/*'
tags:
- '*'

jobs:
build:
Expand All @@ -19,11 +15,10 @@ jobs:
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies and build 🔧
run: yarn install --frozen-lockfile --legacy-peer-deps && yarn run build
- name: Increment patch version
working-directory: ./packages/boba/bundler_sdk
run: npm version minor --legacy-peer-deps

- name: Publish package on NPM 📦
working-directory: ./packages/boba/bundler_sdk
run: npm publish --access public
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/boba-publish-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- uses: actions/checkout@v2
- uses: chrisdickinson/setup-yq@latest

- name: yq - portable yaml processor
uses: mikefarah/[email protected]

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down Expand Up @@ -109,21 +112,23 @@ jobs:

- name: Build the side services
working-directory: ./ops
run: docker-compose -f docker-compose.yml -f docker-compose-side.yml build -- $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
run: |
#standard yq setup: $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
docker-compose -f docker-compose.yml -f docker-compose-side.yml build -- $(yq eval '(.services | keys)[]' < ./docker-compose-side.yml | tr '\n' ' ')
- name: Print images
working-directory: ./
run: docker images

- name: Rename and retag the optimism images
- name: Rename and retag images
working-directory: ./ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
docker image tag "$i" bobanetwork/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):latest
done
docker images
- name: Rename and retag the optimism images
- name: Push images
working-directory: ./ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/boba-publish-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:

- uses: actions/checkout@v2

- uses: chrisdickinson/setup-yq@latest
- name: yq - portable yaml processor
uses: mikefarah/[email protected]

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down Expand Up @@ -126,21 +127,23 @@ jobs:

- name: Build the side services
working-directory: ./ops
run: docker-compose -f docker-compose.yml -f docker-compose-side.yml build -- $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
run: |
#standard yq setup: $(yq '(.services | keys)[]' docker-compose-side.yml | tr '\n' ' ')
docker-compose -f docker-compose.yml -f docker-compose-side.yml build -- $(yq eval '(.services | keys)[]' < ./docker-compose-side.yml | tr '\n' ' ')
- name: Print images
working-directory: ./
run: docker images

- name: Rename and retag the Optimism images
- name: Rename and retag images
working-directory: ./ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
docker image tag "$i" bobanetwork/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):${{ steps.tag.outputs.VERSION }}
done
docker images
- name: Rename and retag the optimism images
- name: Push images
working-directory: ./ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/gateway-deploy-stage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Deploy gateway to stage

on:
push:
branches:
- 'develop'
paths:
# when only on change
- 'packages/boba/gateway/**/*'
env:
STAGING_BUCKET_NAME: ${{ secrets.STAGING_BUCKET_NAME }}
REACT_APP_SPEED_CHECK: ${{ secrets.SPEED_CHECK }}
REACT_APP_INFURA_ID: ${{ secrets.INFURA_ID }}
REACT_APP_GA4_MEASUREMENT_ID: ${{ secrets.GA4_MEASUREMENT_ID }}
REACT_APP_SENTRY_DSN: ${{ secrets.SENTRY_DSN_MAINNET }}

jobs:
build-gateway:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install dependencies at root
run: yarn install
- name: Build in root
run: yarn build
- name: Latest tag
id: tag
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Print current tag
run: echo ${{ steps.tag.outputs.VERSION }}
- name: Prepare gateway build for stage
working-directory: ./packages/boba/gateway
run: yarn build:prod
env:
SKIP_PREFLIGHT_CHECK: true
REACT_APP_POLL_INTERVAL: 15000
REACT_APP_STATUS: 'normal'
REACT_APP_DISABLE_VE_DAO: 1
REACT_APP_BOBA_BEAM_STATUS: 1
REACT_APP_WALLET_VERSION: ${{ steps.tag.outputs.VERSION }}
REACT_APP_SPEED_CHECK: ${{ env.REACT_APP_SPEED_CHECK }}
REACT_APP_INFURA_ID: ${{ env.REACT_APP_INFURA_ID }}
REACT_APP_GA4_MEASUREMENT_ID: ${{ env.REACT_APP_GA4_MEASUREMENT_ID }}
REACT_APP_SENTRY_DSN: ${{ env.REACT_APP_SENTRY_DSN }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: ${{ secrets.AWS_REGION }}
- name: 'Deploy to S3:Staging'
working-directory: ./packages/boba/gateway
run: aws s3 rm s3://${{ env.STAGING_BUCKET_NAME }} --recursive && aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }} && aws s3 cp s3://${{ env.STAGING_BUCKET_NAME }}/index.html s3://${{ env.STAGING_BUCKET_NAME }}/index.html --metadata-directive REPLACE --cache-control max-age=0 --content-type text/html
4 changes: 2 additions & 2 deletions .github/workflows/geth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
go-version: 1.16.x

- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
go-version: 1.18.x

- name: Checkout code
uses: actions/checkout@v2
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .github/workflows/release-please.yml
name: release-please
on:
push:
branches:
- develop
jobs:
release-please:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: terraform-module # Multiple release types are supported
default-branch: master
19 changes: 19 additions & 0 deletions .github/workflows/secret-detect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This runs Yelp's 'detect-secrets': https://github.com/Yelp/detect-secrets/blob/master/README.md
name: Scan Code for Secrets
on:
pull_request:
branches:
- develop # develop instead of master to reduce time-to-discover

jobs:
check-for-secrets:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run Yelp's detect-secrets
uses: RobertFischer/[email protected]
- name: Commit back .secrets.baseline (if it was missing)
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "build(detect-secrets): Commit the newly-generated .secrets.baseline file"
21 changes: 21 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Snyk
on:
push:
branches:
- develop
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Node - Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ packages/regenesis-surgery/state-dump

# monitor
ops_boba/api/watcher-api/env-rinkeby.yml
ops_boba/api/watcher-api/env-goerli.yml
ops_boba/api/watcher-api/env-mainnet.yml
ops_boba/api/watcher-api/env.yml
ops_boba/monitor/yarn.lock
Expand Down
Loading

0 comments on commit 9963ad1

Please sign in to comment.