Skip to content

Commit

Permalink
Revert naming convention from template to component (#451)
Browse files Browse the repository at this point in the history
* Reverted naming convention from template to component

* Updated test components

* Fixes
  • Loading branch information
vigoo authored Apr 22, 2024
1 parent ca51c60 commit ebada18
Show file tree
Hide file tree
Showing 824 changed files with 11,254 additions and 9,847 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,20 @@ jobs:
platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.meta-shard-manager.outputs.tags }}
labels: ${{ steps.meta-shard-manager.outputs.labels }}
- name: Extract metadata (tags, labels) for golem template service
id: meta-golem-template-service
- name: Extract metadata (tags, labels) for golem component service
id: meta-golem-component-service
uses: docker/metadata-action@v5
with:
images: golemservices/golem-template-service
- name: Build and push golem template service image
images: golemservices/golem-component-service
- name: Build and push golem component service image
uses: docker/build-push-action@v5
with:
context: .
file: ./golem-template-service/docker/Dockerfile
file: ./golem-component-service/docker/Dockerfile
push: true
platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.meta-golem-template-service.outputs.tags }}
labels: ${{ steps.meta-golem-template-service.outputs.labels }}
tags: ${{ steps.meta-golem-component-service.outputs.tags }}
labels: ${{ steps.meta-golem-component-service.outputs.labels }}
- name: Extract metadata (tags, labels) for golem worker service
id: meta-golem-worker-service
uses: docker/metadata-action@v5
Expand All @@ -186,20 +186,20 @@ jobs:
platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.meta-golem-worker-service.outputs.tags }}
labels: ${{ steps.meta-golem-worker-service.outputs.labels }}
- name: Extract metadata (tags, labels) for golem template compilation service
id: meta-golem-template-compilation-service
- name: Extract metadata (tags, labels) for golem component compilation service
id: meta-golem-component-compilation-service
uses: docker/metadata-action@v5
with:
images: golemservices/golem-template-compilation-service
- name: Build and push golem template compilation service image
images: golemservices/golem-component-compilation-service
- name: Build and push golem component compilation service image
uses: docker/build-push-action@v5
with:
context: .
file: ./golem-template-compilation-service/docker/Dockerfile
file: ./golem-component-compilation-service/docker/Dockerfile
push: true
platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.meta-golem-template-compilation-service.outputs.tags }}
labels: ${{ steps.meta-golem-template-compilation-service.outputs.labels }}
tags: ${{ steps.meta-golem-component-compilation-service.outputs.tags }}
labels: ${{ steps.meta-golem-component-compilation-service.outputs.labels }}
- name: Extract metadata (tags, labels) for golem router
id: meta-golem-router
uses: docker/metadata-action@v5
Expand Down
16 changes: 8 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ target/
./golem-worker-executor-base/golem-wit/
zig-cache/
dump.rdb
./test-templates/*.wat
./test-templates/**/*.wat
./test-templates/**/*.wasm
./test-templates/c-1/c_api*
./test-templates/csharp-1/bin/
./test-templates/csharp-1/obj/
./test-templates/python-1/__pycache__/
./test-templates/tinygo-wasi*/tinygo_wasi/
./test-components/*.wat
./test-components/**/*.wat
./test-components/**/*.wasm
test-components/c-1/c_api*
test-components/csharp-1/bin/
test-components/csharp-1/obj/
test-components/python-1/__pycache__/
test-components/tinygo-wasi*/tinygo_wasi/
golem-client/*
!golem-client/Cargo.toml
!golem-client/build.rs
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ From the root of the project
```bash
rustup target add x86_64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu --package golem-shard-manager
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-executor
```

Expand All @@ -141,9 +141,9 @@ From the root of the project
```bash
rustup target add aarch64-unknown-linux-gnu-gcc
cargo build --release --target aarch64-unknown-linux-gnu --package golem-shard-manager
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-executor
```

Expand All @@ -154,9 +154,9 @@ From the root of the project
```bash
rustup target add x86_64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu --package golem-shard-manager
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-template-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-component-compilation-service
cargo build --release --target aarch64-unknown-linux-gnu --package golem-worker-executor
```

Expand Down
172 changes: 86 additions & 86 deletions Cargo.lock

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

58 changes: 29 additions & 29 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ members = [
"golem-client",
"golem-common",
"golem-service-base",
"golem-template-compilation-service",
"golem-template-service-base",
"golem-template-service",
"golem-component-compilation-service",
"golem-component-service-base",
"golem-component-service",
"golem-test-framework",
"golem-shard-manager",
"golem-worker-executor-base",
Expand All @@ -20,32 +20,32 @@ members = [
]

exclude = [
"test-templates/shopping-cart",
"test-templates/write-stdout",
"test-templates/blob-store-service",
"test-templates/clock-service",
"test-templates/clocks",
"test-templates/directories",
"test-templates/environment-service",
"test-templates/failing-component",
"test-templates/file-service",
"test-templates/file-write-read-delete",
"test-templates/flags-service",
"test-templates/http-client",
"test-templates/http-client-2",
"test-templates/interruption",
"test-templates/key-value-service",
"test-templates/networking",
"test-templates/option-service",
"test-templates/promise",
"test-templates/read-stdin",
"test-templates/runtime-service",
"test-templates/shopping-cart",
"test-templates/shopping-cart-resource",
"test-templates/stdio-cc",
"test-templates/variant-service",
"test-templates/write-stderr",
"test-templates/write-stdout",
"test-components/shopping-cart",
"test-components/write-stdout",
"test-components/blob-store-service",
"test-components/clock-service",
"test-components/clocks",
"test-components/directories",
"test-components/environment-service",
"test-components/failing-component",
"test-components/file-service",
"test-components/file-write-read-delete",
"test-components/flags-service",
"test-components/http-client",
"test-components/http-client-2",
"test-components/interruption",
"test-components/key-value-service",
"test-components/networking",
"test-components/option-service",
"test-components/promise",
"test-components/read-stdin",
"test-components/runtime-service",
"test-components/shopping-cart",
"test-components/shopping-cart-resource",
"test-components/stdio-cc",
"test-components/variant-service",
"test-components/write-stderr",
"test-components/write-stdout",
]

[workspace.dependencies]
Expand Down
Loading

0 comments on commit ebada18

Please sign in to comment.