#First assign a user to user variable user = User.find_by(username: 'your username here')
job = Ci::Build.find_by_sql("select * from ci_builds where status = 'failed' and project_id = '62'")
job.each { |j| Ci::Build.retry(j, user) }
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
# test before | |
git log -S'password' -p | |
# create a password list | |
echo 'example_password' > passwords.txt | |
# https://rtyley.github.io/bfg-repo-cleaner/ | |
# replace text | |
java -jar bfg.jar --replace-text passwords.txt git_project |
I hereby claim:
To claim this, I am signing this object:
[kubernetes] | |
name=Kubernetes | |
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64 | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
labels: | |
app: nginx | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: busybox | |
spec: | |
containers: | |
- name: busybox | |
image: radial/busyboxplus:curl | |
args: | |
- sleep |