terraform-ibm-modules / stack-retrieval-augmented-generation

A deployable architecture that automates the deployment of a sample gen AI Pattern on IBM Cloud, including all underlying IBM Cloud and WatsonX infrastructure.
Apache License 2.0
1 stars 11 forks source link

Python Stack Deploy script #76

Closed daniel-butler-irl closed 4 months ago

daniel-butler-irl commented 4 months ago

Description

Python implementation of the deploy script for easier maintenance Resolves issues: https://github.com/terraform-ibm-modules/stack-retrieval-augmented-generation/issues/46 https://github.com/terraform-ibm-modules/stack-retrieval-augmented-generation/issues/60 https://github.com/terraform-ibm-modules/stack-retrieval-augmented-generation/issues/74 Undeploy also supported Disabling tests for now since they are being skipped anyway

Stack definition update is not working for me manually or via the script. I don;t think its a bug with the script. Manual command

ibmcloud project config-update --project-id 12234 --id 56789 --definition @stack_definition.json

Response:

FAILED Error parsing flag 'definition' as 'model ProjectConfigDefinitionPatch': error unmarshalling projectv1.ProjectConfigDefinitionPatchIntf: error unmarshalling property 'inputs': json: cannot unmarshal array into Go value of type map[string]interface {}

UPDATE: This is a known limitation the stack definition cannot be used to update the stack at this time...

Release required?

Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

For mergers

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

@vburckhardt for now I just appended the documentation to the bottom of the readme, I left the docs for the shell script in place

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

daniel-butler-irl commented 4 months ago

/run pipeline

terraform-ibm-modules-ops commented 4 months ago

:tada: This PR is included in version 0.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: