Tweaks.
diff --git a/cicd/pipelines/tasks/task_updatepackages.jenkins b/cicd/pipelines/tasks/task_updatepackages.jenkins
index 9e94877..8d60b09 100644
--- a/cicd/pipelines/tasks/task_updatepackages.jenkins
+++ b/cicd/pipelines/tasks/task_updatepackages.jenkins
@@ -47,12 +47,23 @@
copyArtifacts(projectName: it,
filter: '**/*',
flatten: true,
- target: 'archive/pool',
+ target: 'mendel/pool/core',
selector: lastSuccessful())
}
- dir('archive/pool') {
- sh "apt-ftparchive -o APT::FTPArchive::SHA512=false pool > Packages"
+ dir('mendel') {
+ sh """
+ mkdir -p dists/unstable/core/binary-arm64
+ apt-ftparchive packages pool/core > dists/unstable/core/binary-arm64/Packages
+ gzip -9c dists/unstable/core/binary-arm64/Packages >dists/unstable/core/binary-arm64/Packages.gz
+
+ mkdir -p dists/unstable/core/source
+ apt-ftparchive sources pool/core > dists/unstable/core/source/Sources
+ gzip -9c dists/unstable/core/source/Sources >dists/unstable/core/binary-arm64/Sources.gz
+
+ apt-ftparchive release -o APT::FTPArchive::Release::Suite="unstable" dists/unstable > dists/unstable/Release
+ gzip -9c dists/unstable/Release >dists/unstable/core/Release.gz
+ """
}
}
}
@@ -61,8 +72,8 @@
container('debian') {
googleStorageUpload(bucket: 'gs://mendel-linux-apt/',
credentialsId: 'mendel-linux-cloud-infra',
- pattern: 'archive/**',
- pathPrefix: 'archive/',
+ pattern: 'mendel/**',
+ pathPrefix: 'mendel/',
sharedPublicly: true)
}
}