Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSM Packages
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vnf-onboarding
OSM Packages
Commits
a3159909
Commit
a3159909
authored
3 years ago
by
Guillermo Gomez Chavez
Browse files
Options
Downloads
Patches
Plain Diff
testing dev installation of charm
parent
8609b8ca
No related branches found
Branches containing commit
No related tags found
1 merge request
!165
Draft: Packages testing with osm client
Pipeline
#2296
failed with stage
in 1 minute and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
a3159909
...
...
@@ -20,6 +20,11 @@ before_script: # TODO: how to reuse installation?
-
pip3 install -r osmclient/requirements.txt
-
pip3 install osmclient/
-
rm -rf osmclient/ IM/
-
echo "Installing charm"
-
git clone https://github.com/canonical/charmcraft.git
-
cd charmcraft
-
pip3 install -e .[dev]
-
cd ../
-
declare -a PACKAGES_TO_REVIEW=("charm-packages" "nscharm_policy_vnf" "hackfest_vyos_vnf" "nscharm_ns" "several_volumes_vnf" "magma" "k8s_jujucontroller_vnf" "simple_nopassword_vnf" "slice_basic_nst" "nschram_user_vnf")
-
>
for nfv in "${PACKAGES_TO_REVIEW[@]}"; do
...
...
@@ -40,6 +45,7 @@ build-local-repository:
-
echo "Using OSM CLI repo-index tool to validate packages"
-
export LC_ALL=C.UTF-8
-
export LANG=C.UTF-8
-
export CHARMCRAFT_DEVELOPER=y
-
osm -vvv repo-index --origin . --destination vnf-catalog
-
echo "Packages validated"
...
...
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