Commit 5307df0b authored by Shrikant Garg's avatar Shrikant Garg
Browse files

updated

parent c6883248
Pipeline #44673 canceled with stages
in 2 minutes and 1 second
......@@ -63,7 +63,6 @@ include:
file: "cloud-providers/azure.yml"
- project: "osdu/platform/ci-cd-pipelines"
ref: 'master'
file: 'cloud-providers/osdu-gcp-cloudrun.yml'
- local: "/devops/azure/gitlab-bootstrap.yml"
......
......@@ -95,7 +95,6 @@ class DeploySharedSchemas:
try_it = 'Try {} for id: {}'
print(try_it.format(method, kind))
response = requests.request(method, self.url, headers=self.headers, data=schema)
print(response)
is_error, message, method = self.__evaluate_response(response)
if method == 'PUT': # try again
print(try_it.format(method, kind))
......@@ -130,7 +129,6 @@ class DeploySharedSchemas:
# everything else is an error
except Exception as e:
message = str(e)
print(message)
else:
method = self.SUCCESS
return error, message, method
......
export IBM_SCHEMA_URL=$IBM_SCHEMA_HOST/api/schema-service/v1/schema
BEARER_TOKEN=`python $IBM_DEPLOYMENTS_SUBDIR/Token.py`
export BEARER_TOKEN=$BEARER_TOKEN
echo 'Hello'
echo $BEARER_TOKEN
python $IBM_DEPLOYMENTS_SCRIPTS_SUBDIR/DeploySharedSchemas.py -u $IBM_SCHEMA_URL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment