Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 21c5c21

Browse files
committed
drop more duplicate code
1 parent 658e292 commit 21c5c21

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

scripts/marketplace_setup.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ tenancy_id=$(oci iam availability-domain list | jq -r ' .data[0]."compartment-id
1515
# Alternatives that work now, but may not in the future
1616
# tenancy_id=$(grep tenancy $OCI_CLI_CONFIG_FILE | head -n 1 | cut -d'=' -f2)
1717
# oci iam compartment list | jq -cr '[.data[] | select(."compartment-id" | contains("tenancy"))] | .[0]."compartment-id"'
18-
1918
# Alternative without jq is tenancy_id=$(oci iam availability-domain list --query 'data[0]."compartment-id"' --raw-output)
2019

2120
if [ -z "$tenancy_id" ]
@@ -26,7 +25,6 @@ else
2625
echo -e "${GREEN}SUCCESS: teancy ocid discovered: $tenancy_id${NC}"
2726
fi
2827

29-
3028
comp_name="marketplace_images"
3129
policy_name="marketplace"
3230

scripts/prepare_job.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)