-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Release 2024.02.16 Initial prod deploy #105
Open
juanma1996
wants to merge
75
commits into
main
Choose a base branch
from
release/2024.02.16-initial-prod-deploy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTES: - removing execution of this job from main/dev branches because we're not building docker images automatically from them
which activates the CreditcoinLocal network in the menu, which in turn enables testing the PR preview build with a locally running creditcoin3-node
in order to make it more explicit that the preview build can be used for early testing as well.
b/c we still want to see the sanity docker build (and whetever sanity tests we may add in the future) succeeding after a PR has been merged. Conditionally skip preview builds and uploads to Azure because they are valid only in the context of a pull request!
because I want to adjust the conditionals later
for PRs against `main` we still want to have the preview functionality. however a "development" build is not the same as a "production" build so we don't want to take the risk and do that! To elaborate, "the risk" is that we build a development preview build, maybe test it directly from the PR preview URL, instead of building it locally and then declaring it PASS, while in reality a production build may be failing! IMO the above mentioned risk is extremely small in practice, however in theory it isn't zero! This change renders the PR preview build impossible to connect to the CreditcoinLocal network which eliminates the risk of testing one thing but shipping another! The inconvenience is that any testing on PRs against `main` branch will require also testing against Devnet (or Testnet, or Mainnet)!
* [SS-457] Connect - order of web wallets doesn't match Gluwa's preferences * [SS-456] Removed hardware wallet option * [SS-454] Remove extra links in Resources view * [SS-453] Remove hardware wallet link on resources view * [SS-453][SS-446] Remove Language, Theme icon on footer
It turns out that we need NODE_ENV='development' is we want to use `vite build`. Otherwise the CreditcoinLocal network doesn't show in the preview build!
This reverts commit c461333.
because they choke on almost everything which is source code and report too many false positive
again, too many false positives
because our releases aren't automated in the same way as upstream
- replace with their current equivalent or - remove entirely if referenced file not found
it is full with broken URLs and we should keep our own changelog anyway
there is `yarn lint` which is executed as part of another CI job that takes care of this
and the opposing formats will cause builds to fail in CI
this is only used for a global installation of yarn inside the build environment. The application itself pins dependencies versions via package.json & yarn.lock files
this is something that came from upstream anyway Finding: const BoardToken = 'REDACTED' Secret: REDACTED RuleID: generic-api-key Entropy: 3.662573 File: src/pages/explore/Feedback.tsx Line: 10 Commit: 134962d Author: Ross Bulat Email: ross@jkrbinvestments.com Date: 2022-04-25T06:06:04Z Fingerprint: 134962d:src/pages/explore/Feedback.tsx:generic-api-key:10
Co-authored-by: Frank Li <frank.li@gluwa.com>
Co-authored-by: Frank Li <frank.li@gluwa.com>
…ong (#64) * Allow Docker pipeline to not report FAIL if we cannot upload static HTML into Azure * fix: Remove deduct twice fee --------- Co-authored-by: Alex Todorov <alex.todorov@gluwa.com> Co-authored-by: Frank Li <frank.li@gluwa.com>
* [SS-457] Connect - order of web wallets doesn't match Gluwa's preferences * [SS-456] Removed hardware wallet option * [SS-454] Remove extra links in Resources view * [SS-453] Remove hardware wallet link on resources view * [SS-453][SS-446] Remove Language, Theme icon on footer * [SS-472] [CC3 Dashboard] Resources (#69) * [SS-463] [CC3 Dashboard] Staking dashboard wallet clean up (#67) * Feature/v1.0.0 (#38) * [SS-457] Connect - order of web wallets doesn't match Gluwa's preferences * [SS-456] Removed hardware wallet option * [SS-454] Remove extra links in Resources view * [SS-453] Remove hardware wallet link on resources view * [SS-453][SS-446] Remove Language, Theme icon on footer * Add `git diff` in CI for easier debugging of PR preview builds * Change how we build the PR preview builds It turns out that we need NODE_ENV='development' is we want to use `vite build`. Otherwise the CreditcoinLocal network doesn't show in the preview build! * CSUB-959: Change LeavePool label to Unbond funds * Revert "CSUB-959: Change LeavePool label to Unbond funds" This reverts commit c461333. * [SS-465] [CC3 Dashboard] When leaving pool change message (#57) * Bash format * Fix markdown lint issues * Disable spell checkers because they choke on almost everything which is source code and report too many false positive * Disable JSCPD copy-paste checker again, too many false positives * Remove Release section from CONTRIBUTING.md + related GH action because our releases aren't automated in the same way as upstream * Replace upstream URLs with ours * Fix broken URLs that return 404 - replace with their current equivalent or - remove entirely if referenced file not found * Nuke upstream's Changelog file it is full with broken URLs and we should keep our own changelog anyway * Disable eslint as part of the MegaLinter workflow there is `yarn lint` which is executed as part of another CI job that takes care of this * Disable markdown-table-formatter because it conflicts with eslint and the opposing formats will cause builds to fail in CI * Remove extra curly braces to satisfy actionlint * Ensure to-level permissions are not set to write-all * Consolidate RUN instructions - make hadolint happy * hadolint ignore: warning: Pin versions in npm this is only used for a global installation of yarn inside the build environment. The application itself pins dependencies versions via package.json & yarn.lock files * Allow comments in jsonlint and fix some issues * ignore leaked token for a source file which doesn't exist this is something that came from upstream anyway Finding: const BoardToken = 'REDACTED' Secret: REDACTED RuleID: generic-api-key Entropy: 3.662573 File: src/pages/explore/Feedback.tsx Line: 10 Commit: 134962d Author: Ross Bulat Email: ross@jkrbinvestments.com Date: 2022-04-25T06:06:04Z Fingerprint: 134962d:src/pages/explore/Feedback.tsx:generic-api-key:10 * Disable ts-standard b/c it conflicts with current eslint configuration * Disable deprecated scss-lint linter MegaLinter tells us to disable this linter: https://megalinter.io/latest/descriptors/css_scss_lint/ Also it's SpaceAfterPropertyColon rule conflicts with the chosen format (yarn lint) in this repository. * Disable stylelint linter trying to add conffiguration for it will not work because it needs the stylelint-scss plugin installed inside the MegaLinter environment and there doesn't seem to be any way to install extra software inside MegaLinter (it's a container) * Add HTML keywords for djlint * Ignore CVEs agaist transitive dependencies reported by grype and trivy * Provide rules for htmlhint disable the rule head-script-disabled because upstream code violates it by design: ./index.html L80 | <script src="/lottie/player.js"></script> ^ The <script> tag cannot be used in a <head> tag. (head-script-disabled) and I'm not certain if fixing this rule will lead to unsuspected problems because of how these JavaScript files expect to interact with one another! * Disable check for USER directive in Dockerfile * Add HEALTHCHECK command for the container this is the command for the alpine image according to https://stackoverflow.com/a/62178148 * chore(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps-dev): bump @typescript-eslint/parser from 6.13.1 to 6.18.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.13.1 to 6.18.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.2 Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.0.1 to 5.1.2. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.0.1...v5.1.2) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps-dev): bump @typescript-eslint/eslint-plugin Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.1 to 6.18.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps-dev): bump vitest from 1.0.1 to 1.1.3 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.0.1 to 1.1.3. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.3/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump date-fns from 2.30.0 to 3.2.0 Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.2.0. - [Release notes](https://github.com/date-fns/date-fns/releases) - [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md) - [Commits](date-fns/date-fns@v2.30.0...v3.2.0) --- updated-dependencies: - dependency-name: date-fns dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump react-i18next from 13.5.0 to 14.0.0 Bumps [react-i18next](https://github.com/i18next/react-i18next) from 13.5.0 to 14.0.0. - [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md) - [Commits](i18next/react-i18next@v13.5.0...v14.0.0) --- updated-dependencies: - dependency-name: react-i18next dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: Check all validators * fix: Show join button (#56) Co-authored-by: Frank Li <frank.li@gluwa.com> * fix: Show favorites always (#58) Co-authored-by: Frank Li <frank.li@gluwa.com> * CSUB-944: CC3 Staking Dashboard fee balance is calculated slightly wrong (#64) * Allow Docker pipeline to not report FAIL if we cannot upload static HTML into Azure * fix: Remove deduct twice fee --------- Co-authored-by: Alex Todorov <alex.todorov@gluwa.com> Co-authored-by: Frank Li <frank.li@gluwa.com> * [SS-463] [CC3 Dashboard] Staking dashboard wallet clean up --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: nbass3 <70085020+nbass3@users.noreply.github.com> Co-authored-by: Alex Todorov <alex.todorov@gluwa.com> Co-authored-by: frankli-dev <51565705+frankli-dev@users.noreply.github.com> Co-authored-by: Alexander Todorov <atodorov@otb.bg> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frank Li <frank.li@gluwa.com> * [SS-473] Renewal design/color/measures (#70) * [SS-473] Renewal design/color/measures * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Eunjeong Park <71509928+dev-eunjeong@users.noreply.github.com> Co-authored-by: yiseul <46887050+rosee-xo@users.noreply.github.com> Co-authored-by: Alex Todorov <alex.todorov@gluwa.com> Co-authored-by: frankli-dev <51565705+frankli-dev@users.noreply.github.com> Co-authored-by: Alexander Todorov <atodorov@otb.bg> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frank Li <frank.li@gluwa.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [SS-463] [CC3 Dashboard] Staking dashboard wallet clean up * [SS-463] [CC3 Dashboard] Staking dashboard wallet clean up
* fix: Zero era status * fix: Not in this branch * fix: is GreatThan * fix: isNotZero --------- Co-authored-by: Frank Li <frank.li@gluwa.com>
…or page to Active + number (#72) * fix: Zero era status * fix: Not in this branch * fix: Remove waiting on era status * fix: Show validators even they don't have nominators * fix: Update component on total stake change * fix: Clear filter --------- Co-authored-by: Frank Li <frank.li@gluwa.com>
* [SS-486] [CC3 Dashboard]Change Github link * [SS-486] Remove non-break space on the right --------- Co-authored-by: yiseul.jo <yiseul.jo@gluwa.com>
Co-authored-by: Frank Li <frank.li@gluwa.com>
* [SS-488] [CC3 Dashboard]Remove '(Coming Soon)' phrase.
* feat: Network list by env * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Added testnet env file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changes to make test image for test environment, prod image that only has cc3 testnet * fix: Update order * fixed dockerfiles * fix: Default Network * fix: env back * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: yarn build * fix: Lint * fix: Lint * fix: reverse yarn lock * fix: update yarn lock * fix: by node v21 --------- Co-authored-by: Frank Li <frank.li@gluwa.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Thomas McDonald <mcdonald.thomas1284@gmail.com>
* [SS-499] Fix subscan button * remove test codes
* [SS-499] Fix subscan button * remove test codes * [SS-499] Fix validator address link
* [SS-499] Fix subscan button * remove test codes * [SS-499] Fix validator address link * [SS-499] change subscan url
* fix: Validator community * feat: Added dev --------- Co-authored-by: Frank Li <frank.li@gluwa.com>
* [SS-501] Move Odometer component to separate module * Fix some code * Fix some decimal logic with Odometer --------- Co-authored-by: chulhyun.park <chulhyun.park@gluwa.com>
* separate code division on logo area * Change logo to svg * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [SS-504] fix not working search in validators * Revert link fixing
* [SS-500] [CC3 Dashboard]Favicon image change request * [SS-500] remove the svg favicon
…ific environment (#97) * fix: Change networks by environment * smarter use of docker file * fixing github action as well * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * azdo ci fix * proper way to reference var * fix * build and push have to be seperated * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fux * fix: Remove duplicated build options * fix: staging = prod * fix: yarn build --------- Co-authored-by: Frank Li <frank.li@gluwa.com> Co-authored-by: Thomas McDonald <mcdonald.thomas1284@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: Subscan api updated * fix: remove last character * fix: Update explorer * fix: Use proxy --------- Co-authored-by: Frank Li <frank.li@gluwa.com>
* fix: Logo as black * fix: Logo --------- Co-authored-by: Frank Li <frank.li@gluwa.com>
be1403a
to
f176403
Compare
Test before merge -> Staking Dashboad Preview! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.