Skip to content

Commit

Permalink
Merge branch 'main' into feat/quality-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Apr 17, 2024
2 parents 5a90c07 + ec593e0 commit c16c825
Show file tree
Hide file tree
Showing 389 changed files with 36,455 additions and 1,742 deletions.
46 changes: 42 additions & 4 deletions .config/dictionaries/project.dic
Expand Up @@ -6,27 +6,35 @@ afinet
androidx
appspot
Arbritrary
ARGB
asmjs
asyncio
asyncpg
auditability
bech
bkioshn
bluefireteam
BROTLI
canvaskit
cardano
Catalyst
CBOR
cborg
CEST
cfbundle
chromedriver
chrono
ciphertext
CIPs
COCOAPODS
codegen
codepoints
coti
cryptoxide
Cunego
Cupertino
dalek
DAPPLICATION
dbsync
delegators
DIND
Expand All @@ -38,7 +46,9 @@ drep
dreps
earthfile
Edgedriver
emurgo
encryptor
endfunction
fetchval
fmtchk
fmtfix
Expand All @@ -53,6 +63,8 @@ genhtml
gethostname
gmtime
gradlew
headlessui
icudtl
ideascale
idents
integ
Expand All @@ -64,12 +76,21 @@ Joaquín
jorm
jormungandr
Jörmungandr
junitreport
Keyhash
keyserver
lcov
Leshiy
libapp
libavcodec
libflutter
lintfix
localizable
loguru
mdlint
metadatum
metadatums
metamap
mgrybyk
mithril
mitigations
Expand All @@ -78,6 +99,7 @@ msedgedriver
multidex
myproject
nanos
NDEBUG
netifas
netkey
nextest
Expand All @@ -92,6 +114,7 @@ pg_isready
plpgsql
podfile
podhelper
postcss
preprod
projectcatalyst
Prokhorenko
Expand All @@ -102,8 +125,12 @@ pubspec
pytest
rapidoc
redoc
Replayability
repr
reqwest
rfwtxt
ripgrep
RPATH
rustc
rustdoc
rustdocflags
Expand All @@ -113,28 +140,43 @@ rxdart
saibatizoku
schemathesis
Schemathesis
Scripthash
seckey
sendfile
slotno
sqlfluff
Stefano
stevenj
Subkey
subosito
SYSROOT
tacho
testcov
testdocs
testunit
thiserror
thollander
timelike
toastify
Toastify
tojunit
Traceback
TXNZD
Typer
unmanaged
utxo
UTXO
utxos
Utxos
vite
vitss
vkey
vkeywitness
voteplan
voteplans
wallclock
Werror
xcassets
xcconfig
xcfilelist
xcodebuild
Expand All @@ -143,7 +185,3 @@ xctest
xctestrun
xcworkspace
yoroi
dalek
Keyhash
Scripthash
vkey
20 changes: 16 additions & 4 deletions .github/workflows/generate-allure-report.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
name: Generate test reports
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup CI
uses: input-output-hk/catalyst-ci/actions/setup@master
Expand All @@ -36,7 +36,7 @@ jobs:
aws_region: ${{ env.AWS_REGION }}
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}

- name: Get unit test report
- name: Get catalyst gateway unit test report
uses: input-output-hk/catalyst-ci/actions/run@master
if: always()
continue-on-error: true
Expand All @@ -60,6 +60,18 @@ jobs:
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: "false"

- name: Get flutter unit test report
uses: input-output-hk/catalyst-ci/actions/run@master
if: always()
continue-on-error: true
with:
earthfile: ./catalyst_voices/
flags:
targets: test-report
target_flags:
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: "false"

- name: Collect and upload test reports
uses: actions/upload-artifact@v4
if: always()
Expand All @@ -73,7 +85,7 @@ jobs:
runs-on: ubuntu-latest
needs: [generate-test-reports]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4

Expand All @@ -85,7 +97,7 @@ jobs:
ls ${{ env.ALLURE_REPORT_PATH }}
- name: Checkout gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages-dir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-branches.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Stale Branches
uses: crs-k/stale-branches@v4.0.1
uses: crs-k/stale-branches@v4.1.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
days-before-stale: 30
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Expand Up @@ -15,6 +15,7 @@
"rust-lang.rust-analyzer",
"JScearcy.rust-doc-viewer",
"serayuzgur.crates",
"anweiss.cddl-languageserver",
"tintinweb.graphviz-interactive-preview",
"terrastruct.d2"
]
Expand Down
31 changes: 25 additions & 6 deletions Earthfile
Expand Up @@ -7,17 +7,25 @@ FROM debian:stable-slim

# check-markdown markdown check using catalyst-ci.
check-markdown:
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+CHECK
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.11.1+CHECK

# markdown-check-fix markdown check and fix using catalyst-ci.
markdown-check-fix:
LOCALLY

DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.11.1+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix

# check-spelling Check spelling in this repo inside a container.
check-spelling:
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.10+CHECK
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.11.1+CHECK

# check if the sql files are properly formatted and pass lint quality checks.
check-sqlfluff:
FROM github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.11.1+postgres-base

COPY . .

DO github.com/input-output-hk/catalyst-ci/earthly/postgresql:v2.11.1+CHECK

repo-docs:
# Create artifacts of extra files we embed inside the documentation when its built.
Expand All @@ -28,11 +36,22 @@ repo-docs:

SAVE ARTIFACT /repo repo

repo-config:
# Create artifacts of config file we need to refer to in builders.
# repo-catalyst-voices-packages - Create artifacts of catalyst_voices_packages
# we need to refer to in other earthly targets.
repo-catalyst-voices-packages:
FROM scratch

WORKDIR /repo
COPY --dir catalyst_voices_packages .

SAVE ARTIFACT /repo repo

# repo-catalyst-voices-all - Creates artifacts of all configuration files,
# packages and folders related to catalyst_voices frontend.
repo-catalyst-voices-all:
FROM scratch

WORKDIR /repo
COPY --dir .sqlfluff .
COPY --dir catalyst_voices catalyst_voices_packages utilities melos.yaml pubspec.yaml .

SAVE ARTIFACT /repo repo

0 comments on commit c16c825

Please sign in to comment.