File tree 1 file changed +0
-22
lines changed
1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -51,28 +51,6 @@ arc_registry_push() {
51
51
echo " ARC registry push returned: $ret "
52
52
}
53
53
54
- get_publication_link () {
55
- if [ -z " $archigator_url " ] || [ -z " $archigator_user " ] || [ -z " $archigator_password " ]; then
56
- echo " Archigator publication microservice not configured. Skipping..."
57
- return
58
- fi
59
- basic_auth=" $( \
60
- echo -n " ${archigator_user} :${archigator_password} " | base64
61
- ) "
62
- ret=" $( curl -k -L -X POST \
63
- -H ' Content-Type: application/json' \
64
- -H " Authorization: Basic ${basic_auth} " \
65
- -d ' {"project_id": ' $project_id ' }' \
66
- " ${archigator_url} /api/v1/setup/generatelink"
67
- ) "
68
- link_url=" $( jq -r ' .link // empty' <<< " $ret" ) "
69
- if [ -z " $link_url " ]; then
70
- echo " Could not retrieve publication link from archigator."
71
- return
72
- fi
73
- echo " $link_url "
74
- }
75
-
76
54
purge_badges () {
77
55
ret=" $( curl -k -L -X GET \
78
56
-H " PRIVATE-TOKEN: $api_token " \
You can’t perform that action at this time.
0 commit comments