Improve CI (#3348)

* Remove superfluous test.

* Use remote_temp_dir instead of output_dir on remote.

* Read certificate from correct place.

* Adjust more places.

* Fix boolean.

* Improve cryptography setup.

* Fix java_keystore changes.

* Need to copy binary from remote.

* Use correct Python for serve script.

* Sleep before downloading.

* Use correct Python interpreter.

* Avoid failing shebang test.

* Fix permission error with macOS 11.1.

* Avoid shebang trouble.
This commit is contained in:
Felix Fontein 2021-09-09 07:31:44 +02:00 committed by GitHub
commit 7c43cc3faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 440 additions and 394 deletions

View file

@ -1,2 +1,3 @@
dependencies:
- setup_remote_constraints
- setup_remote_tmp_dir

View file

@ -9,15 +9,15 @@
extra_args: "-c {{ remote_constraints }}"
- set_fact:
output_dir_test: '{{ output_dir }}/test_ssh_config'
output_test_dir: '{{ remote_tmp_dir }}/test_ssh_config'
- set_fact:
ssh_config_test: '{{ output_dir_test }}/ssh_config_test'
ssh_private_key: '{{ output_dir_test }}/fake_id_rsa'
ssh_config_test: '{{ output_test_dir }}/ssh_config_test'
ssh_private_key: '{{ output_test_dir }}/fake_id_rsa'
- name: create a temporary directory
file:
path: "{{ output_dir_test }}"
path: "{{ output_test_dir }}"
state: directory
- name: Copy sample config file