Loading specifications/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -126,22 +126,22 @@ Publish spec: - tags before_script: - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fpublish_spec%2Esh/raw?ref=nfv" > publish_spec.sh curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fpublish_spec%2Esh/raw?ref=main" > publish_spec.sh - chmod +x publish_spec.sh - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fgenerate_releasenotes%2Esh/raw?ref=nfv" > generate_releasenotes.sh curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fgenerate_releasenotes%2Esh/raw?ref=main" > generate_releasenotes.sh - chmod +x generate_releasenotes.sh - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fnfv_release_notes_template%2Edocx/raw?ref=nfv" > release_notes_template.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fnfv_release_notes_template%2Edocx/raw?ref=main" > release_notes_template.docx - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FSpec-template%2Edocx/raw?ref=nfv" > nfv_spec_template.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FSpec-template%2Edocx/raw?ref=main" > nfv_spec_template.docx - | export SPEC_NAME=$(ls | grep -E "(GS|GR).*\.md" | cut -d'.' -f1) - | echo 'Checking if GS or GR specification' if [[ $SPEC_NAME =~ ^GS.* ]] then curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GS_cover_skeleton%2Edocx/raw?ref=nfv" > nfv_cover_skeleton.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GS_cover_skeleton%2Edocx/raw?ref=main" > nfv_cover_skeleton.docx elif [[ $SPEC_NAME =~ ^GR.* ]] then curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GR_cover_skeleton%2Edocx/raw?ref=main" > nfv_cover_skeleton.docx Loading Loading
specifications/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -126,22 +126,22 @@ Publish spec: - tags before_script: - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fpublish_spec%2Esh/raw?ref=nfv" > publish_spec.sh curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fpublish_spec%2Esh/raw?ref=main" > publish_spec.sh - chmod +x publish_spec.sh - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fgenerate_releasenotes%2Esh/raw?ref=nfv" > generate_releasenotes.sh curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fgenerate_releasenotes%2Esh/raw?ref=main" > generate_releasenotes.sh - chmod +x generate_releasenotes.sh - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fnfv_release_notes_template%2Edocx/raw?ref=nfv" > release_notes_template.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2Fnfv_release_notes_template%2Edocx/raw?ref=main" > release_notes_template.docx - | curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FSpec-template%2Edocx/raw?ref=nfv" > nfv_spec_template.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FSpec-template%2Edocx/raw?ref=main" > nfv_spec_template.docx - | export SPEC_NAME=$(ls | grep -E "(GS|GR).*\.md" | cut -d'.' -f1) - | echo 'Checking if GS or GR specification' if [[ $SPEC_NAME =~ ^GS.* ]] then curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GS_cover_skeleton%2Edocx/raw?ref=nfv" > nfv_cover_skeleton.docx curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GS_cover_skeleton%2Edocx/raw?ref=main" > nfv_cover_skeleton.docx elif [[ $SPEC_NAME =~ ^GR.* ]] then curl "${CI_API_V4_URL}/projects/$PIPELINE_SCRIPTS_PROJECT_ID/repository/files/specifications%2FETSI_GR_cover_skeleton%2Edocx/raw?ref=main" > nfv_cover_skeleton.docx Loading