Browse Source

refactor: minor fixes

master
Apostolos Fanakis 4 years ago
parent
commit
3000b8a102
  1. 6
      Makefile

6
Makefile

@ -7,10 +7,10 @@ stop:
stop-clean-data: stop-clean-data:
@docker-compose -p ecentrics down -v @docker-compose -p ecentrics down -v
copy-jobs: copy-jobs:
@docker cp jenkins:/var/jenkins_home/jobs/. ./jenkins/jobs @docker cp janus:/var/jenkins_home/jobs/. ./jenkins/jobs
update-plugins: update-plugins:
@docker exec -it jenkins ls -1 /var/jenkins_home/plugins/ | grep -v jpi > ./jenkins/plugins.txt @docker exec -it janus ls -1 /var/jenkins_home/plugins/ | grep -v jpi > ./jenkins/plugins.txt
print-ssh-key: print-ssh-key:
@docker exec -it jenkins cat "/home/jenkins/.ssh/gitlab-ssh.pub" @docker exec -it janus cat "/home/jenkins/.ssh/gitlab-ssh.pub"
clean-images: clean-images:
@docker rmi `docker images -q -f "dangling=true"` @docker rmi `docker images -q -f "dangling=true"`

Loading…
Cancel
Save