Skip to content

Commit

Permalink
Most generator scripts are standalone.
Browse files Browse the repository at this point in the history
Avoid arm64 runtime sourcing issues.
  • Loading branch information
mitchell-as committed Jan 24, 2025
1 parent 85b0001 commit f11eb2e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions activestate.generators.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
scripts:
- name: generate-api-client
language: bash
standalone: true
description: Generates the mono-api client files
value: |
echo "IMPORTANT!!! mono API and inventory API have to be in sync. Consider running state run generate-inventory-client"
Expand All @@ -10,6 +11,7 @@ scripts:
popd
- name: generate-secrets-client
language: bash
standalone: true
description: Generates the secrets-api client files
value: |
WD=$(pwd)
Expand All @@ -18,6 +20,7 @@ scripts:
popd
- name: generate-headchef-client
language: bash
standalone: true
description: Generates the headchef-api client files
value: |
WD=$(pwd)
Expand All @@ -26,6 +29,7 @@ scripts:
popd
- name: generate-logstreamer-client
language: bash
standalone: true
description: Generates the buildlog-streamer client files
value: |
WD=$(pwd)
Expand All @@ -34,6 +38,7 @@ scripts:
popd
- name: generate-inventory-client
language: bash
standalone: true
description: Generates the inventory-api client files
value: |
echo "IMPORTANT!!! mono API and inventory API have to be in sync. Consider running state run generate-api-client"
Expand All @@ -43,6 +48,7 @@ scripts:
popd
- name: generate-clients
language: bash
standalone: true
description: Generates all api clients
value: |
$scripts.generate-api-client.path()
Expand All @@ -55,6 +61,7 @@ scripts:
value: python3 scripts/locale-generator.py
- name: generate-payload
language: bash
standalone: true
description: Generate payload for installer / update archives
value: |
set -e
Expand All @@ -64,6 +71,7 @@ scripts:
go run ./scripts/ci/payload-generator/main.go "$@"
- name: generate-update
language: bash
standalone: true
description: Generate update files
value: |
set -e
Expand All @@ -79,9 +87,11 @@ scripts:
go run scripts/ci/update-generator/main.go -o ./build/update
- name: generate-remote-install-deployment
language: bash
standalone: true
value: go run scripts/ci/deploy-generator/remote-installer/main.go "$@"
- name: generate-graph
language: bash
standalone: true
description: Generates graph server and client files
value: |
set -e
Expand Down

0 comments on commit f11eb2e

Please sign in to comment.