Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: workspace + ports + adapters #73

Merged
merged 23 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
target
deployment
configurations
eth_node
fuel_node
helm
compose.yml
.git
*.rs.bk
.dockerignore
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @digorithm @hal3e @MujkicA @segfault-magnet @Salka1988 @Br1ght0ne
14 changes: 7 additions & 7 deletions .github/scripts/verify_chart_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
set -e

err() {
echo -e "\e[31m\e[1merror:\e[0m $@" 1>&2;
echo -e "\e[31m\e[1merror:\e[0m $@" 1>&2
}

status() {
WIDTH=12
printf "\e[32m\e[1m%${WIDTH}s\e[0m %s\n" "$1" "$2"
WIDTH=12
printf "\e[32m\e[1m%${WIDTH}s\e[0m %s\n" "$1" "$2"
}
# install dasel
curl -sSLf "https://github.com/TomWright/dasel/releases/download/v1.24.3/dasel_linux_amd64" -L -o dasel
chmod +x dasel
mv ./dasel /usr/local/bin/dasel
# check appVersion with crate package metadata
HELM_APP_VERSION=$(cat deployment/charts/Chart.yaml | dasel -r yaml 'appVersion')
CRATE_VERSION=$(cat Cargo.toml | dasel -r toml 'package.version')
CRATE_VERSION=$(cat Cargo.toml | dasel -r toml 'workspace.package.version')
if [ "$HELM_APP_VERSION" != "$CRATE_VERSION" ]; then
err "crate version $CRATE_VERSION, doesn't match helm app version $HELM_APP_VERSION"
exit 1
err "crate version $CRATE_VERSION, doesn't match helm app version $HELM_APP_VERSION"
exit 1
else
status "crate version matches helm chart app version $HELM_APP_VERSION"
status "crate version matches helm chart app version $HELM_APP_VERSION"
fi
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

env:
DASEL_VERSION: https://github.com/TomWright/dasel/releases/download/v1.24.3/dasel_linux_amd64
RUST_VERSION: 1.77.0
RUST_VERSION: 1.77
FUEL_CORE_VERSION: 0.26.0
IMAGE_NAME: ${{ github.repository }}

Expand All @@ -27,7 +27,7 @@ jobs:
- run: |
curl -sSLf "$DASEL_VERSION" -L -o dasel && chmod +x dasel
mv ./dasel /usr/local/bin/dasel
MIN_VERSION=$(cat Cargo.toml | dasel -r toml 'package.rust-version')
MIN_VERSION=$(cat Cargo.toml | dasel -r toml 'workspace.package.rust-version')
RUST_VERSION="${{ env.RUST_VERSION }}"
echo "Comparing minimum supported toolchain ($MIN_VERSION) with ci toolchain (RUST_VERSION)"
test "$MIN_VERSION" == "$RUST_VERSION"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading
Loading