Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Paas CI
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
Container 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INFN Cloud
Paas CI
Commits
3a411e9b
Commit
3a411e9b
authored
1 year ago
by
Gioacchino Vino
Browse files
Options
Downloads
Patches
Plain Diff
Remove environment preparation
parent
c8542094
No related branches found
No related tags found
1 merge request
!15
Remove environment preparation
Pipeline
#109555
failed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/Jenkinsfile
+3
-8
3 additions, 8 deletions
utils/Jenkinsfile
with
3 additions
and
8 deletions
utils/Jenkinsfile
+
3
−
8
View file @
3a411e9b
...
...
@@ -8,18 +8,11 @@ pipeline {
}
stages
{
stage
(
'
Environment initialization
'
){
stage
(
'
Create test deployment
'
){
steps
{
sh
'''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
orchent depls
'''
}
}
stage
(
'Create test deployment'
){
steps
{
sh
'''#!/bin/bash
wget -O site.yaml "${PLAYBOOK_URL}"
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='create_deployment'"
...
...
@@ -33,6 +26,8 @@ pipeline {
usernamePassword
(
credentialsId:
"jenkins_scans_creds"
,
usernameVariable:
'GMP_USER'
,
passwordVariable:
'GMP_PASSWORD'
)
])
{
sh
'''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
cp ${keyfile} /home/jenkins/.ssh/id_rsa
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='scan'"
...
...
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