Skip to content

Commit

Permalink
refactr: make the cnhk url working
Browse files Browse the repository at this point in the history
  • Loading branch information
kencho51 committed Sep 9, 2024
1 parent 6561e08 commit 5333912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ops/infrastructure/inventories/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ grafana_contact_smtp_from_name = "{{ lookup('ini', 'grafana_contact_smtp_from_na
[type_aws_instance:vars]

gitlab_url = "https://gitlab.com/api/v4/projects/{{ lookup('ini', 'gitlab_project type=properties file=ansible.properties') | urlencode | regex_replace('/','%2F') }}"
gitlab_misc_url = "https://gitlab.com/api/v4/projects/gigascience{{ lookup('ini', 'gitlab_misc type=properties file=ansible.properties') | urlencode | regex_replace('/','%2F') }}"
gitlab_misc_url = "https://gitlab.com/api/v4/projects/{{ lookup('ini', 'gitlab_misc type=properties file=ansible.properties') | urlencode | regex_replace('/','%2F') }}"
ansible_ssh_private_key_file = "{{ lookup('ini', 'ssh_private_key_file type=properties file=ansible.properties') }}"
ansible_ssh_common_args="-o ProxyCommand='ssh -W %h:%p -q {{ lookup('ini', 'ec2_bastion_login_account type=properties file=ansible.properties') }} -i {{ lookup('ini', 'ssh_private_key_file type=properties file=ansible.properties') }}'"
ansible_user = "centos"
Expand Down
2 changes: 1 addition & 1 deletion ops/scripts/ansible_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ echo "wasabi_secret_access_key = $wasabi_secret_access_key" >> ansible.propertie

echo "deployment_target = $deployment_target" >> ansible.properties
echo "gitlab_project = $gitlab_project" >> ansible.properties
echo "gitlab_misc = cnhk-infra" >> ansible.properties
echo "gitlab_misc = gigascience/cnhk-infra" >> ansible.properties
echo "ssh_private_key_file = $aws_ssh_key" >> ansible.properties
echo "gitlab_private_token= $GITLAB_PRIVATE_TOKEN" >> ansible.properties

Expand Down

0 comments on commit 5333912

Please sign in to comment.