|
ID |
Title |
Version |
Author |
Operator |
Category |
Status |
|
SPICE-PR-EMRSP-001 |
spice-pipeline-datapackage-delivery |
1 |
ESS Engineer ROCC Engineer |
ADCSNG |
CONSOLIDATED |
|
|
Objective |
This procedure describes how to generate a SPICE Pipelien Datapackage delivery for the ROCC and how to test it on the ROCC side. |
|||||
|
Start |
Release of an ADCSng, ARCGEN or ExoMarsRSP SKD version for the ROCC. |
Frequency: |
Every 4-6 months |
Duration: |
One hour |
|
|
In case of problem(s) |
Contact Marc Costa |
|||||
Detailed Procedure
Steps highlighted in green only need to be followed by the ESA SPICE Service Engineer.
|
Step |
Description |
Action |
|
1 |
Obtain repository |
Obtain the last version of the spice-pipeline-datapackage repository from: https://repos.cosmos.esa.int/socci/projects/SPICE/repos/spice-pipeline-datapackage/
|
|
2 |
ADCSng update |
Obtain and test the latest version of ADCSng. Either locally or on a ESS Server, install the latest version of ADCSng and run the regression tests. Do any required modifictions. |
|
|
ARCGEN update |
Obtain and test the latest version of ARCGEN. Either locally or on a ESS Server, install the latest version of ARCGEN and run the functional test for label generation. Do any required modifications. |
|
|
SKD update |
Obtain and test the latest version of the ExoMarsRSP kernels from the BitBucket repository. |
|
|
Documentation update |
If required update the following documentation:
These are the files required as per ICD. Please note that the files are provided as HTML documents. These HTML documents are exported automatically by the pipeline. |
|
2 |
Generate the Docker image |
Generate the Docker image using the script in the spice-pipeline-datapackage: /build_docker.sh The script shall look something like this: #!/usr/bin/env bashTAG_NAME='spice-pipeline:latest'cd spice-pipelinegit clone ssh://git@repos.cosmos.esa.int:7998/spice/adcsng.gitgit clone ssh://git@repos.cosmos.esa.int:7998/spice/arcgen.gitgit clone https://repos.cosmos.esa.int/socci/scm/spice_kernels/exomarsrsp.gitsudo docker build . -t $TAG_NAME |
|
3 |
Check that the Docker image has been created. |
->> docker $ docker ps -allCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES0bbfd859f983 spice-pipeline:latest "/bin/bash" 2 minutes ago Exited (0) 2 minutes ago great_visvesvaraya->> docker $ docker cp incoming/. 0bbfd859f983:/root/incoming->> docker $ docker cp kernels/. 0bbfd859f983:/root/kernels |
|
4 |
Run the Docker container and test the pipeline |
Run the SPICE pipeline in the docker container and check that the pipeline is executed with the test files. docker run spice-pipeline:latest ./run_spice-pipeline.shStart the container and perform the tests inside the container. docker run -it spice-pipeline:latestIf any issues are found perform any required changes to the scripts and data to make it work |
|
5 |
Commit & Push the repository |
After implementing all the changes and verifying that the new versions of the SKD, ARCGEN and ADCSng are working, commit and push the relevant changes in the spice-pipeline-datapackage repository. Please note that the PUSH will trigger the automatic datapackage generation and this datapackage will be automatically published in: ftp://spiftp.esac.esa.int/temp/rocc/datapackages/ |
|
1 |
Download datapackage |
Download the datapackage from: ftp://spiftp.esac.esa.int/temp/rocc/datapackages/ The datapackage follow this convention: spice-pipeline-datapackage-vXYZ.tar.gz where XYZ is the ADCSng release version. The datapackage has the following structure: .|-- build_docker.sh|-- run_docker.sh|-- setup_centos.sh'-- spice-pipeline |-- Dockerfile |-- ExoMarsRSP | |-- MANIFEST.in | |-- README.md | |-- kernels | |-- misc | '-- version |-- adcsng |-- adcsng.json |-- arcgen |-- arcgen.json |-- doc | |-- ADCSng\ Software\ User\ Manual-v23-20200414_1851 | '-- adcsng_v110_release_notes.html |-- incoming | |-- emrsp_rm_mes_gnc_0001_v001.aem | |-- emrsp_rm_mes_gnc_0001_v001.oem | |-- emrsp_rm_mes_mech_0001_v001.aem | |-- emrsp_rm_mes_mech_0001_v001.oem | |-- emrsp_rm_rec_gnc_0001_v001.oem | '-- emrsp_rm_rec_gnc_0002_v001.aem '-- run_spice-pipeline.shThe relevant documentation is available in spice-pipeline-datapackage-vXYZ/spice-pipeline/doc. The documents are:
Please note that the OEM/AEM/TCPs provided in the incoming directory are for testing purposes only. |
|
2 |
Build the CentOS VM |
In order to build the CentOS VM to integrate in ROCS the following files are relevant:
|
|
3 |
Docker testing |
It is recommended that the ROCC operator tests the pipeline in Docker as specified earlier in the procedure. |
|
4 |
Follow ROCS integration procedures |
Needless to say the last step is to follow the procedures to integrate, test and deploy the SPICE Pipeline in the ROCS. |
|
5 |
Run the pipeline |
Please note that in order to execute the pipeline the following needs to be provided to the VM:
After providing those files, run the 'run_spice-pipeline.sh' script in the VM. This script does the following:
After the execution has run successfully the generated files have to be extracted from root/output (with the relevant directory structure). |
|
6 |
Feedback the ESA SPICE Service |
Any feedback should be provided to the ESA SPICE Service: esa_spice@sciops.esa.int We expect feedback such as how to specify in the setup_centos.sh script how to copy the files in the VM, bug reporting, integration issues, etc. |
History
|
Revision |
Date |
Author |
Approved by |
Comments |
|
0 |
14 Apr 2020 |
First release. |