Skip to content

Commit a80fc85

Browse files
committed
fix: fixing build failure
dependency: none
1 parent 9288610 commit a80fc85

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,11 @@ matrix:
1818
&& openssl aes-256-cbc -K $encrypted_27cb64608ff6_key -iv $encrypted_27cb64608ff6_iv -in dl.env.enc -out dl.env -d || true
1919
&& openssl aes-256-cbc -K $encrypted_fc092b9428d6_key -iv $encrypted_fc092b9428d6_iv -in cis.env.enc -out cis.env -d || true
2020
&& openssl aes-256-cbc -K $encrypted_89a9eb4f9417_key -iv $encrypted_89a9eb4f9417_iv -in dns.env.enc -out dns.env -d || true
21-
# 🔧 force prod IAM *inside the file* so dotenv can't override you
22-
- sed -i 's#^CIS_SERVICES_AUTH_URL=.*#CIS_SERVICES_AUTH_URL=https://iam.cloud.ibm.com/identity/token#g' cis.env || true
23-
# (optional) if the var is missing entirely, append it
24-
- 'grep -q "^CIS_SERVICES_AUTH_URL=" cis.env || echo "CIS_SERVICES_AUTH_URL=https://iam.cloud.ibm.com/identity/token" >> cis.env'
25-
# also export for safety
2621
- export CIS_SERVICES_AUTH_URL="https://iam.cloud.ibm.com/identity/token"
27-
# quick visibility
28-
- echo "DEBUG (cis.env): $(grep CIS_SERVICES_AUTH_URL cis.env || true)"
29-
- echo "DEBUG (env): CIS_SERVICES_AUTH_URL=${CIS_SERVICES_AUTH_URL}"
22+
- echo "DEBUG CIS_SERVICES_AUTH_URL=${CIS_SERVICES_AUTH_URL}"
3023
- python: 3.11
3124
- python: 3.12
25+
3226
before_install:
3327
- sudo apt-get update
3428
- sudo apt-get install pandoc

0 commit comments

Comments
 (0)