Skip to content

Commit e04aff0

Browse files
committed
release cicd: path cleanup
1 parent 264de71 commit e04aff0

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

tests/ci/release/packaging/ansible/roles/update_deb_repo/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
- name: Export GPG public key to repo
6363
shell: "gpg --export --armor '{{ gpg_key_name }}' > '{{ local_repo_path }}/{{ repo_prefix }}apt-repo/pubkey.gpg'"
6464

65-
- name: Sync repos between source and target
66-
shell: "aws s3 sync --delete '{{ local_repo_path }}/{{ item }}' '{{ s3_repo_target_path }}/{{ release_environment }}/{{ item }}'"
65+
- name: Sync apt repos between source and target
66+
shell: "aws s3 sync '{{ local_repo_path }}/{{ item }}' '{{ s3_repo_target_path }}/{{ item }}'"
6767
loop: "{{ apt_repos }}"
6868
when: cloudfront_origin_path != ""

tests/ci/release/packaging/ansible/roles/update_deb_repo/templates/apt-ftparchive.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
Dir {
22
ArchiveDir "{{ local_repo_path }}/{{ repo_prefix }}apt-repo";
3-
CacheDir "{{ local_repo_path }}/apt";
4-
FileListDir "{{ local_repo_path }}/apt/filelists";
53
};
64
Default {
75
Packages::Compress ". gzip bzip2";

tests/ci/release/packaging/ansible/roles/update_rpm_repo/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
src: "repo.j2"
4646
dest: "{{ local_repo_path }}/{{ repo_prefix }}yum-repo/{{ repo_name }}.repo"
4747

48-
- name: Sync repos between source and target
49-
shell: 'aws s3 sync --delete "{{ local_repo_path }}/{{ item }}" "{{ s3_repo_target_path }}/{{ release_environment }}/{{ item }}"'
48+
- name: Sync yum repos between source and target
49+
shell: 'aws s3 sync "{{ local_repo_path }}/{{ item }}" "{{ s3_repo_target_path }}/{{ item }}"'
5050
loop: "{{ yum_repos }}"
5151
when: cloudfront_origin_path != ""

0 commit comments

Comments
 (0)