Closed jjacob7734 closed 2 years ago
This issue was closed by implementing the parsing script as a repository on DIT MAAP Gitlab and making it available to build via Gitlab runner.
Users would check this link for the list of active/completed jobs (this is publicly accessible): https://repo.dit.maap-project.org/max.zhan/app-pack-generator/-/pipelines
Users would trigger a job by sending POST command to a hard-coded, public URL (example script linked below): https://repo.dit.maap-project.org/max.zhan/app-pack-generator/-/blob/main/query.py
If successful, the response will contain a web_url field in the payload that contains the link to their specific job.
web_url
Example response payload:
{"id":522,"iid":62,"project_id":19,"sha":"e64715eeb0c12f5456c016593329d3a9e6b09c0e","ref":"main","status":"created","source":"trigger","created_at":"2022-05-31T23:20:55.828Z","updated_at":"2022-05-31T23:20:55.828Z","web_url":"https://repo.dit.maap-project.org/max.zhan/app-pack-generator/-/pipelines/522","before_sha":"0000000000000000000000000000000000000000","tag":false,"yaml_errors":null,"user":{"id":40,"username":"max.zhan","name":"Max Zhan","state":"active","avatar_url":"https://secure.gravatar.com/avatar/5b95f035b424013dcb70653234289eb2?s=80\u0026d=identicon","web_url":"https://repo.dit.maap-project.org/max.zhan"},"started_at":null,"finished_at":null,"committed_at":null,"duration":null,"queued_duration":null,"coverage":null,"detailed_status":{"icon":"status_created","text":"created","label":"created","group":"created","tooltip":"created","has_details":true,"details_path":"/max.zhan/app-pack-generator/-/pipelines/522","illustration":null,"favicon":"/assets/ci_favicons/favicon_status_created-4b975aa976d24e5a3ea7cd9a5713e6ce2cd9afd08b910415e96675de35f64955.png"}}
This issue was closed by implementing the parsing script as a repository on DIT MAAP Gitlab and making it available to build via Gitlab runner.
Users would check this link for the list of active/completed jobs (this is publicly accessible): https://repo.dit.maap-project.org/max.zhan/app-pack-generator/-/pipelines
Users would trigger a job by sending POST command to a hard-coded, public URL (example script linked below): https://repo.dit.maap-project.org/max.zhan/app-pack-generator/-/blob/main/query.py
If successful, the response will contain a
web_url
field in the payload that contains the link to their specific job.Example response payload: