Skip to content

Custom scripts aren't upgraded with the auto upgrade process. How should I manage then ? #8112

Answered by moabu
moabu asked this question in Q&A
Discussion options

You must be logged in to vote

You need to make sure you pull and update them using terraform you would do this through you VCS. Forexample , if you are using the casa script , the first step in your CI/CD pipeline would be to pull it according to the IDP version you used and then terraform would apply it .

Here is a full example for you

# You can even pull this script directly in terraform if its perfectly unchanged but placing it in your VCS helps maintain it 
wget https://raw.githubusercontent.com/JanssenProject/jans/${IDP_VERSION}/jans-casa/extras/Casa.py -O scripts/Casa.py
terraform init
terraform validate
# If you haven't imported it already
terraform import jans_script.casa 3000-F75A
terraform apply -auto-approve 

Replies: 1 comment

Comment options

moabu
Mar 21, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by moabu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant