Skip to content
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
27 changes: 27 additions & 0 deletions .github/workflows/ci_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

concurrency:
group: docusaurus-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
uses: ./.github/workflows/ci_build.yml

ci-check:
needs: [build]
if: ${{ always() }}
uses: ./.github/workflows/workflow_check.yml
with:
pass-condition: ${{ contains(needs.*.result, 'failure') == false }}
33 changes: 33 additions & 0 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI - Build

on:
workflow_call: {}

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
with:
cache: npm

- name: Install
run: npm install

- name: Build
run: npm run build

- name: Upload Build
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: build-assets
path: |
build/
42 changes: 42 additions & 0 deletions .github/workflows/workflow_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: simple-check

on:
workflow_call:
inputs:
pass-condition:
type: boolean
description: 'The condition to check'
required: true
fail-job-on-condition:
description: 'Whether to fail the job if the condition is true'
type: boolean
required: false
default: true

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check Condition
shell: bash
run: |
# Check the condition
if [[ "${{ inputs.pass-condition }}" == 'true' ]]; then
echo "Condition is true"
echo "RESULT=success" >> $GITHUB_ENV
else
echo "Condition is false"
echo "RESULT=failure" >> $GITHUB_ENV
fi
- name: Job Result
id: result
shell: bash
if: ${{ inputs.fail-job-on-condition }}
run: |
# Set the output
if [[ $RESULT == 'failure' ]]; then
echo "::error ::Condition failed"
exit 1
else
exit 0
fi
20 changes: 19 additions & 1 deletion authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,22 @@ vados-cosmonic:
name: Victor Adossi
title: wasmCloud Maintainer
url: https://github.com/vados-cosmonic
image_url: https://github.com/vados-cosmonic.png
image_url: https://github.com/vados-cosmonic.png

seanisom:
name: Sean Isom
title: Senior Software Engineer at Adobe
url: https://www.linkedin.com/in/isom/
image_url: https://github.com/seanisom.png

colinmurphy:
name: Colin Murphy
title: Senior Software Engineer at Adobe
url: https://www.linkedin.com/in/colin-murphy-08b3601b/
image_url: https://github.com/cdmurph32.png

dotanhorovits:
name: Dotan Horovits
title: Logz.io and Open Observability Talks podcast host
url: https://www.linkedin.com/in/horovits/
image_url: 'https://github.com/horovits.png'
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: 'Better Together: Building Efficient Microservices in Kubernetes using WebAssembly'
image: './images/header.png'
date: "2022-11-17"
author: 'Sean Isom and Colin Murphy, Adobe'
authors: [seanisom, colinmurphy]
description: 'Bringing two major CNCF projects together—wasmCloud and Kubernetes—promises greater agility and major efficiencies'
categories: ['webassembly', 'wasmcloud', 'kubernetes', 'Cloud Native', 'CNCF']
slug: better-together-building-efficient-microservices-in-kubernetes-with-webassembly
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ image: './images/webassembly-the-next-frontier-in-cloud-native-evolution.jpg'
date: '2024-08-01'
description: 'Dotan Horovits of Logz.io and Open Observability Talks podcast host discusses the next frontier in cloud-native evolution: WebAssembly.'
slug: webassembly-the-next-frontier-in-cloud-native-evolution
# one off blog post gets inline author
author: Dotan Horovits
author_title: 'Logz.io and Open Observability Talks podcast host'
author_url: 'https://www.linkedin.com/in/horovits/'
author_image_url: './images/dotan-horovitz.jpg'
authors: [dotanhorovits]
---

:::note[Cross Posted Article]
Expand Down
4 changes: 4 additions & 0 deletions docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ sudo apt install wash
```

<details>

<summary>What's in that install script?</summary>

It is always a good idea to inspect scripts before piping them directly into `sudo bash`.

Below are the contents of `script.deb.sh` for your verification.
Expand Down Expand Up @@ -270,7 +272,9 @@ sudo dnf install wash
```

<details>

<summary>What's in that install script?</summary>

It is always a good idea to inspect scripts before piping them directly into `sudo bash`. Below are the contents of `script.rpm.sh` for your verification.

```bash
Expand Down
21 changes: 16 additions & 5 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ function siteBaseUrl() {
if (process.env.NODE_ENV === 'development') {
return 'http://localhost:3000';
}
if (process.env.NETLIFY && process.env.CONTEXT === 'deploy-preview') {
if (
process.env.NETLIFY &&
process.env.CONTEXT === 'deploy-preview' &&
process.env.DEPLOY_PRIME_URL
) {
return process.env.DEPLOY_PRIME_URL;
}
return 'https://wasmcloud.com';
Expand All @@ -67,6 +71,9 @@ const config = (async (): Promise<Config> => {
tagline_1: 'Build applications in any language.',
tagline_2: 'Deploy them anywhere.',
},
future: {
experimental_faster: true,
},
url: siteBaseUrl(),
baseUrl: '/',
trailingSlash: true,
Expand Down Expand Up @@ -95,6 +102,8 @@ const config = (async (): Promise<Config> => {
authorsMapPath: '../authors.yml', // relative to blog directory
blogListComponent: '@theme/wasmcloud/blog/list-page',
blogPostComponent: '@theme/wasmcloud/blog/post-page',
onInlineAuthors: 'throw',
onUntruncatedBlogPosts: 'ignore',
},
docs: {
editUrl: 'https://github.com/wasmCloud/wasmcloud.com/edit/main/',
Expand Down Expand Up @@ -153,6 +162,8 @@ const config = (async (): Promise<Config> => {
authorsMapPath: '../authors.yml', // relative to community directory
blogListComponent: '@theme/wasmcloud/community/list-page',
blogPostComponent: '@theme/wasmcloud/community/post-page',
onInlineAuthors: 'ignore',
onUntruncatedBlogPosts: 'ignore',
} satisfies PluginContentBlogOptions,
],
[
Expand Down Expand Up @@ -207,10 +218,10 @@ const config = (async (): Promise<Config> => {
}),
],
},
// announcementBar: {
// id: 'announcement',
// content: `📢 Announcement content goes here.`,
// },
// announcementBar: {
// id: 'announcement',
// content: `📢 Announcement content goes here.`,
// },
footer: {
links: [
{
Expand Down
Loading