Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
hpc-team
HPCasCode
Commits
c136cd29
Commit
c136cd29
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
config repos should be more robust with ubuntu
parent
40ed5108
No related branches found
No related tags found
1 merge request
!293
Ubuntu
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
roles/config_repos/tasks/main.yml
+4
-1
4 additions, 1 deletion
roles/config_repos/tasks/main.yml
with
5 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
c136cd29
...
...
@@ -105,7 +105,7 @@ build_cluster_cicd:
-
openstack stack list
-
bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME
after_script
:
-
sleep
3
0
# artifically wait a bit to give the nodes time to boot
-
sleep
2
0
# artifically wait a bit to give the nodes time to boot
# only:
# changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
# - "heat/*HOT*.yaml"
...
...
This diff is collapsed.
Click to expand it.
roles/config_repos/tasks/main.yml
+
4
−
1
View file @
c136cd29
...
...
@@ -6,7 +6,7 @@
line
:
"
118.138.244.7
consistency0"
owner
:
root
group
:
root
when
:
ansible_os_family == 'RedHat'
#- name: remove default repos
# file:
...
...
@@ -39,10 +39,12 @@
-
monashhpc_base.repo
-
monashhpc_others.repo
-
epel.repo
when
:
ansible_os_family == 'RedHat'
-
name
:
get enabled repos
#shell: yum repolist | grep -v "repo id" | grep -v "Loaded plugins" | head -n -1 | cut -f 1 -d '/' | sed -s 's/\!//'
shell
:
yum repolist all | grep enabled | cut -f 1 -d '/' | sed -s 's/\!//'
when
:
ansible_os_family == 'RedHat'
register
:
repolist
check_mode
:
no
changed_when
:
False
...
...
@@ -55,6 +57,7 @@
become
:
true
become_user
:
root
ignore_errors
:
true
when
:
ansible_os_family == 'RedHat'
#- name: Enable epel
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
ac40e4eb
·
4 years ago
mentioned in commit
ac40e4eb
mentioned in commit ac40e4eb74cfebf5658d23086a90cede380ca61b
Toggle commit list
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