Skip to content

Commit

Permalink
Merge pull request #1533 from aeternity/release/v1.1.0
Browse files Browse the repository at this point in the history
Release 1.1.0
  • Loading branch information
davidyuk authored Jan 24, 2024
2 parents 1c5b0e3 + 7fd4a6b commit f486525
Show file tree
Hide file tree
Showing 415 changed files with 21,388 additions and 51,378 deletions.
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*

!package*
!config
!public
!src
!.env
!.postcssrc.js
!babel.config.js
!vue.config.js
!docker
7 changes: 3 additions & 4 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
UNFINISHED_FEATURES=true
VUE_APP_REMOTE_CONNECTION_BACKEND_URL=https://signaling.aepps.com
VUE_APP_VAPID_PUBLIC_KEY=BJP4PnSPRizQofIOBhe8o-AlaElRYbp7Mi_nirXzPYkJPkZfu-ONL7M14Y2c_q9LfU1K3XUcwzfx3lNM_jBLJrc
VUE_APP_HOME_PAGE_URL=https://registry.aepps.tech
VUE_APP_BACKEND_URL=https://base-backend.prd.aepps.com
VUE_APP_VAPID_PUBLIC_KEY=BHkQhNWW2TKfKfxo7vAgXkZGcVOXGrjhIZJlN1hKp6abIjWJgO8FYPswXJ35XEuKw46O9yZ-8KmsZ4-TXNBePcw
VUE_APP_HOME_PAGE_URL=https://docs.aeternity.com/aepp-base-home-page
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VUE_APP_BACKEND_URL=https://base-backend.stg.aepps.com
1 change: 0 additions & 1 deletion .env.production

This file was deleted.

12 changes: 11 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ module.exports = {
env: {
node: true,
},
globals: {
ENV_MOBILE_DEVICE: true,
},
ignorePatterns: ['dist', 'www'],
extends: [
'plugin:vue/recommended',
'plugin:@intlify/vue-i18n/recommended',
Expand Down Expand Up @@ -44,13 +48,19 @@ module.exports = {
'vuejs-accessibility/alt-text': 'off',
},
parserOptions: {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
},
overrides: [{
files: '**/__tests__/*',
env: {
jest: true,
},
}, {
files: 'backend/**',
rules: {
'import/no-extraneous-dependencies': ['error', { packageDir: 'backend' }],
'import/extensions': ['error', 'ignorePackages'],
},
}],
settings: {
'vue-i18n': {
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/_validate-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
workflow_call:

jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: npm ci
working-directory: 'backend'
- run: npm test
working-directory: 'backend'
- run: npm ci --legacy-peer-deps # TODO: remove --legacy-peer-deps after updating dependencies
- run: npm test
- uses: stefanzweifel/git-auto-commit-action@v5
if: failure()
with:
commit_message: "fixme: update e2e screenshots"
file_pattern: 'tests/e2e/*.png'
- run: docker-compose logs
if: always()
25 changes: 25 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: integration

on:
push:
branches: [ develop ]

jobs:
validate:
uses: ./.github/workflows/_validate-npm.yml
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
BUILD_ARGS: REVISION=${{ github.sha }}
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [publish]
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: "${{ github.event.repository.name }}"
DEPLOY_VERSION: develop
DEPLOY_SUBDOMAIN: "base"
112 changes: 0 additions & 112 deletions .github/workflows/prod-docker.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/pull-request-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: pull-request-cleanup

on:
pull_request:
branches: [ master, develop ]
types: [ closed ]

jobs:
rollback:
uses: aeternity/github-actions/.github/workflows/[email protected]
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: ${{ github.event.repository.name }}
DEPLOY_VERSION: "pr-${{ github.event.number }}"
DEPLOY_SUBDOMAIN: "pr-${{ github.event.number }}-base"
delete-tag:
uses: aeternity/github-actions/.github/workflows/[email protected]
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
DOCKERHUB_TAG: "pr-${{ github.event.number }}"
25 changes: 25 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: pull-request

on:
pull_request:
branches: [ master, develop ]

jobs:
validate:
uses: ./.github/workflows/_validate-npm.yml
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
BUILD_ARGS: REVISION=${{ github.sha }}
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [publish]
secrets: inherit
with:
DEPLOY_ENV: stg
DEPLOY_APP: ${{ github.event.repository.name }}
DEPLOY_VERSION: "pr-${{ github.event.number }}"
DEPLOY_SUBDOMAIN: "pr-${{ github.event.number }}-base"
17 changes: 17 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: release-please

on:
push:
branches: [ master ]

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: ""
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"ci","section":"CI / CD","hidden":false},{"type":"test","section":"Testing","hidden":false},{"type":"refactor","section":"Refactorings","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release

on:
push:
tags: [ v* ]

jobs:
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
secrets: inherit
with:
BUILD_ARGS: REVISION=${{ github.sha }}
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [publish]
secrets: inherit
with:
DEPLOY_ENV: prd
DEPLOY_APP: ${{ github.event.repository.name }}
DEPLOY_TAG: ${{ github.ref_name }}
Loading

0 comments on commit f486525

Please sign in to comment.