1. Download software
gitlab-ee
gitlab-runner
2. Copy software to repo server and create a repo
# cd /software/repo
createrepo
3. Check for update
# yum --enablerepo=* clean all
# yum search gitlab
# yum check-update
# yum versionlock list
# yum versionlock delete gitlab-ee gitlab-runner
# yum versionlick list
4. Update the software
# yum update -y
# yum versionlock add gitlab-ee gitlab-runner
-----------------------------------------------
$ eval $(ssh-agent)
$ ssh-add ~kamal/.ssh/id_rsa
$ ansible -i host-list all -o -a "rpm -q gitlab-ee" | grep CHANGED
This command lists all the systems which has gitlab-ee (Repo). You may have server on test and prod.
$ ansible -i host-list all -o -a "rpm -q gitlab-runner" | grep CHANGED
runner is a ci/cd program like Jinkins. You wil have couple of servers and need to update them as well.
Once you identify the list of servers, coordinate with developers/operation folks for downtime to implement the change.
Wednesday, May 5, 2021
Updating gitlab-ee and gitlab-runner
Subscribe to:
Post Comments (Atom)
Git branch show detached HEAD
Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03) 00 2. Run re-set hard $ git reset --hard 3. ...
-
snmpconfig command allow you to managge snmpv1/v3 agent configuration on SAN switch. Event trap level is mapped with event severity level....
-
Firmware upgrade on HPE SuperDom Flex 280 - prerequisites tasks a. Set up repo b. Upload firmware to your webserver 1. For foundation so...
-
Disabling the Telnet protocol on Brocade SAN switches By default, telnet is enabled on Brocade SAN switches. As part of security hardening o...
No comments:
Post a Comment