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
Commits
3be3583d
Commit
3be3583d
authored
1 year ago
by
Daniel Nemergut
Browse files
Options
Downloads
Plain Diff
Merge branch 'disable_ngas_ingest' into 'main'
Disable NGAS ingest via a capo setting See merge request
!1474
parents
fec9e21b
486cf864
No related branches found
Branches containing commit
Tags
2.8.1
2.8.1-rc3
Tags containing commit
1 merge request
!1474
Disable NGAS ingest via a capo setting
Pipeline
#12193
passed
1 year ago
Stage: pull-db
Stage: build-packages
Stage: push-packages
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
+7
-3
7 additions, 3 deletions
...s/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
docker.properties
+1
-0
1 addition, 0 deletions
docker.properties
with
8 additions
and
3 deletions
apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
+
7
−
3
View file @
3be3583d
...
...
@@ -21,6 +21,7 @@ import logging
import
sys
import
tarfile
from
pathlib
import
Path
from
pycapo
import
CapoConfig
# pylint: disable=C0301, E0401, R0903, R1721
from
typing
import
Tuple
...
...
@@ -87,6 +88,9 @@ class IngestionManifest(ManifestComponentIF):
self
.
output_group
=
output_group
self
.
telescope
=
telescope
# Check if NGAS ingestion should be enabled for all manifests in this environment
self
.
ngas_ingest
=
CapoConfig
().
getboolean
(
"
archive-ingestion.ingestNGAS
"
)
self
.
parameters
=
self
.
build_ingest_parameters
(
additional_metadata
)
self
.
files_found
=
[
file
for
file
in
self
.
staging_source_dir
.
iterdir
()]
...
...
@@ -108,7 +112,7 @@ class IngestionManifest(ManifestComponentIF):
params
=
ManifestParameters
(
telescope
=
self
.
telescope
,
reingest
=
False
,
ngas_ingest
=
True
,
ngas_ingest
=
self
.
ngas_ingest
,
calibrate
=
False
,
staging_source_dir
=
self
.
staging_source_dir
,
additional_metadata
=
additional_metadata
,
...
...
@@ -118,7 +122,7 @@ class IngestionManifest(ManifestComponentIF):
params
=
ManifestParameters
(
telescope
=
self
.
telescope
,
reingest
=
False
,
ngas_ingest
=
True
,
ngas_ingest
=
self
.
ngas_ingest
,
calibrate
=
False
,
staging_source_dir
=
self
.
staging_source_dir
,
)
...
...
@@ -127,7 +131,7 @@ class IngestionManifest(ManifestComponentIF):
params
=
ManifestParameters
(
telescope
=
self
.
telescope
,
reingest
=
False
,
ngas_ingest
=
True
,
ngas_ingest
=
self
.
ngas_ingest
,
staging_source_dir
=
self
.
staging_source_dir
,
)
...
...
This diff is collapsed.
Click to expand it.
docker.properties
+
1
−
0
View file @
3be3583d
...
...
@@ -43,6 +43,7 @@ edu.nrao.workspaces.VlassDeliverySettings.cache = /lustre/aoc/cluster/pipeline/v
edu.nrao.workspaces.IngestionSettings.useIngest
=
False
edu.nrao.workspaces.IngestionSettings.stagingDirectory
=
/lustre/aoc/cluster/pipeline/docker/workspaces/staging
edu.nrao.workspaces.IngestionSettings.storageDirectory
=
/lustre/aoc/cluster/pipeline/docker/workspaces/storage
archive-ingestion.ingestNGAS
=
true
#
# Standard Calibration Settings
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment