Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!330
added button to /workspaces page for creating a std imaging capability request
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
added button to /workspaces page for creating a std imaging capability request
WS-268-button-for-std-imaging-requests
into
main
Overview
10
Commits
3
Pipelines
4
Changes
2
3 unresolved threads
Hide all comments
Merged
Andrew Kapuscinski
requested to merge
WS-268-button-for-std-imaging-requests
into
main
3 years ago
Overview
10
Commits
3
Pipelines
4
Changes
3
3 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Compare
version 3
version 4
73aa3c3d
3 years ago
version 3
fd805c86
3 years ago
version 2
e4cbed85
3 years ago
version 1
59237af1
3 years ago
main (base)
and
version 4
latest version
73aa3c3d
3 commits,
3 years ago
version 4
73aa3c3d
3 commits,
3 years ago
version 3
fd805c86
3 commits,
3 years ago
version 2
e4cbed85
2 commits,
3 years ago
version 1
59237af1
1 commit,
3 years ago
Show latest version
3 files
+
70
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
apps/cli/executables/wf_framework/sh/ingest-request.sh
0 → 100644
+
31
−
0
Options
#!/usr/bin/env bash
set
-o
errexit
-o
nounset
function
usage
{
echo
"Usage: ingest-request [-c] [workflow_request_id]
This script sets off a Workspaces ingestion workflow of the specified type,
given by the chosen option, for the provided workflow request id.
Options:
-c, --calibration run the ingest_cal workflow for the specified request
-h, --help display this help and exit
"
}
option
=
$(
echo
"
$1
"
|
tr
A-Z a-z
)
case
$option
in
--calibration
|
-c
)
action
=
"ingest_cal"
;;
--help
|
-h
)
usage
;;
esac
WORKFLOW_SERVICE
=
$(
capo
-q
edu.nrao.archive.workspaces.WorkflowSettings.serviceUrl
)
if
[
"
$action
"
=
"ingest_cal"
]
;
then
curl
-X
POST
$WORKFLOW_SERVICE
/workflows/std_calibration/requests/
$2
/ingest
fi
Loading