Skip to content

feat: Adds a check for unexpected ENV variables#180

Open
tfelix wants to merge 1 commit into
mainfrom
feature/add-env-pre-run-detection
Open

feat: Adds a check for unexpected ENV variables#180
tfelix wants to merge 1 commit into
mainfrom
feature/add-env-pre-run-detection

Conversation

@tfelix
Copy link
Copy Markdown
Contributor

@tfelix tfelix commented May 26, 2026

The pre run script will now fail if it detects an unexpected env variable.

@tfelix tfelix requested a review from JohannesRudolph May 26, 2026 13:38
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

🎨 Missing Building Block Icons

Found 4 building block(s) without logo.png files.

Copy the AI Prompts below and use them with your favorite AI image generator (Gemini, DALL-E, Midjourney, Stable Diffusion, etc.).

Then follow the Post-Processing Steps to prepare the icons for upload.


Azure Virtual Machine Starterkit

Platform: azure

Path: /home/runner/work/meshstack-hub/meshstack-hub/modules/azure/azure-virtual-machine-starterkit/buildingblock/logo.png

AI Prompt (copy this to image generator)

Create a professional flat design icon for the meshcloud Building Block ecosystem.

Purpose: The Azure Virtual Machine Starterkit provides application teams with a pre-configured Azure environment. It includes a dedicated project, an Azure tenant, and a virtual machine for quick provisioning and testing.

Visual Style:
- Plain white background (#FFFFFF) for easy removal in post-processing
- Background will be converted to transparent (see post-processing steps)
- Use Azure colors: blue (#0078D4), cyan (#00BCF2), and light blue (#50E6FF) as accent colors
- Maximum 2-3 colors total
- Simple geometric shapes with clean lines
- Flat design (no gradients, shadows, or 3D effects)
- Minimalist, modern appearance

Composition:
- Square centered layout (NOT horizontal)
- Icon fills the entire canvas edge-to-edge (100% of area)
- No padding or margins around the icon
- Symmetrical arrangement
- Platform-appropriate symbol for AZURE (e.g., cloud, container, database, server, etc.)

Style: Enterprise professional, instantly recognizable at small sizes, similar to app icons or logos.
Dimensions: 800x800 pixels

Post-Processing Instructions

Step 1: Remove white background with GIMP (free)

a) Open image in GIMP
b) Right-click layer → "Add Alpha Channel"
c) Tools → "Select by Color" (Shift+O)
d) Click white background
e) Press Delete key
f) File → Export As → logo.png
g) Set Compression level to 9 → Export

Step 2: Resize to 800x800 pixels if needed

  • GIMP: Image → Scale Image → 800x800px
  • Or use any image editor

Step 3: Compress with pngquant (free command line tool)

  • Install: brew install pngquant (Mac) or apt install pngquant (Linux)
  • Run: pngquant --quality=20-30 logo.png --ext .png --force
  • This reduces file size by 60-80% while maintaining quality

Target specs: 800x800px PNG with transparent background, under 100KB


Azure Resource Group

Platform: azure

Path: /home/runner/work/meshstack-hub/meshstack-hub/modules/azure/resource-group/buildingblock/logo.png

AI Prompt (copy this to image generator)

Create a professional flat design icon for the meshcloud Building Block ecosystem.

Purpose: Creates an empty Azure Resource Group for a project with a consistent naming convention enforced across all landing zones.

Visual Style:
- Plain white background (#FFFFFF) for easy removal in post-processing
- Background will be converted to transparent (see post-processing steps)
- Use Azure colors: blue (#0078D4), cyan (#00BCF2), and light blue (#50E6FF) as accent colors
- Maximum 2-3 colors total
- Simple geometric shapes with clean lines
- Flat design (no gradients, shadows, or 3D effects)
- Minimalist, modern appearance

Composition:
- Square centered layout (NOT horizontal)
- Icon fills the entire canvas edge-to-edge (100% of area)
- No padding or margins around the icon
- Symmetrical arrangement
- Platform-appropriate symbol for AZURE (e.g., cloud, container, database, server, etc.)

Style: Enterprise professional, instantly recognizable at small sizes, similar to app icons or logos.
Dimensions: 800x800 pixels

Post-Processing Instructions

Step 1: Remove white background with GIMP (free)

a) Open image in GIMP
b) Right-click layer → "Add Alpha Channel"
c) Tools → "Select by Color" (Shift+O)
d) Click white background
e) Press Delete key
f) File → Export As → logo.png
g) Set Compression level to 9 → Export

Step 2: Resize to 800x800 pixels if needed

  • GIMP: Image → Scale Image → 800x800px
  • Or use any image editor

Step 3: Compress with pngquant (free command line tool)

  • Install: brew install pngquant (Mac) or apt install pngquant (Linux)
  • Run: pngquant --quality=20-30 logo.png --ext .png --force
  • This reduces file size by 60-80% while maintaining quality

Target specs: 800x800px PNG with transparent background, under 100KB


meshStack Manual Building Block

Platform: meshstack

Path: /home/runner/work/meshstack-hub/meshstack-hub/modules/meshstack/manual/buildingblock/logo.png

AI Prompt (copy this to image generator)

Create a professional flat design icon for the meshcloud Building Block ecosystem.

Purpose: Reference building block demonstrating meshStack's MANUAL implementation type: selected input types mirrored to outputs, with additional inputs that have no corresponding output.

Visual Style:
- Plain white background (#FFFFFF) for easy removal in post-processing
- Background will be converted to transparent (see post-processing steps)
- Use bright, vibrant colors as accent colors
- Maximum 2-3 colors total
- Simple geometric shapes with clean lines
- Flat design (no gradients, shadows, or 3D effects)
- Minimalist, modern appearance

Composition:
- Square centered layout (NOT horizontal)
- Icon fills the entire canvas edge-to-edge (100% of area)
- No padding or margins around the icon
- Symmetrical arrangement
- Platform-appropriate symbol for MESHSTACK (e.g., cloud, container, database, server, etc.)

Style: Enterprise professional, instantly recognizable at small sizes, similar to app icons or logos.
Dimensions: 800x800 pixels

Post-Processing Instructions

Step 1: Remove white background with GIMP (free)

a) Open image in GIMP
b) Right-click layer → "Add Alpha Channel"
c) Tools → "Select by Color" (Shift+O)
d) Click white background
e) Press Delete key
f) File → Export As → logo.png
g) Set Compression level to 9 → Export

Step 2: Resize to 800x800 pixels if needed

  • GIMP: Image → Scale Image → 800x800px
  • Or use any image editor

Step 3: Compress with pngquant (free command line tool)

  • Install: brew install pngquant (Mac) or apt install pngquant (Linux)
  • Run: pngquant --quality=20-30 logo.png --ext .png --force
  • This reduces file size by 60-80% while maintaining quality

Target specs: 800x800px PNG with transparent background, under 100KB


Kubernetes Manifest (Helm)

Platform: kubernetes

Path: /home/runner/work/meshstack-hub/meshstack-hub/modules/kubernetes/manifest/buildingblock/logo.png

AI Prompt (copy this to image generator)

Create a professional flat design icon for the meshcloud Building Block ecosystem.

Purpose: Deploys arbitrary Kubernetes manifests into a tenant namespace via a local Helm chart, with operator-supplied templates and user-provided values.

Visual Style:
- Plain white background (#FFFFFF) for easy removal in post-processing
- Background will be converted to transparent (see post-processing steps)
- Use Kubernetes colors: blue (#326CE5), cyan (#00D3E0), and light blue (#7AB8FF) as accent colors
- Maximum 2-3 colors total
- Simple geometric shapes with clean lines
- Flat design (no gradients, shadows, or 3D effects)
- Minimalist, modern appearance

Composition:
- Square centered layout (NOT horizontal)
- Icon fills the entire canvas edge-to-edge (100% of area)
- No padding or margins around the icon
- Symmetrical arrangement
- Platform-appropriate symbol for KUBERNETES (e.g., cloud, container, database, server, etc.)

Style: Enterprise professional, instantly recognizable at small sizes, similar to app icons or logos.
Dimensions: 800x800 pixels

Post-Processing Instructions

Step 1: Remove white background with GIMP (free)

a) Open image in GIMP
b) Right-click layer → "Add Alpha Channel"
c) Tools → "Select by Color" (Shift+O)
d) Click white background
e) Press Delete key
f) File → Export As → logo.png
g) Set Compression level to 9 → Export

Step 2: Resize to 800x800 pixels if needed

  • GIMP: Image → Scale Image → 800x800px
  • Or use any image editor

Step 3: Compress with pngquant (free command line tool)

  • Install: brew install pngquant (Mac) or apt install pngquant (Linux)
  • Run: pngquant --quality=20-30 logo.png --ext .png --force
  • This reduces file size by 60-80% while maintaining quality

Target specs: 800x800px PNG with transparent background, under 100KB


@aws-amplify-eu-central-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-180.d1o16zfeoh2slu.amplifyapp.com

Comment thread modules/meshstack/noop/buildingblock/prerun.sh
The pre run script will now fail if it detects an unexpected env variable.
@tfelix tfelix force-pushed the feature/add-env-pre-run-detection branch from 8b92313 to afb2893 Compare May 26, 2026 15:21
@tfelix
Copy link
Copy Markdown
Contributor Author

tfelix commented May 26, 2026

Needs testing now. I think some of the syntax which was produced is broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants