Add CI/CD infrastructure
Change-Id: Id15634c2096394f7de4533c8466e0e0c2e66f8ed
diff --git a/aptly/client/publisher.yml b/aptly/client/publisher.yml
new file mode 100644
index 0000000..9aae28b
--- /dev/null
+++ b/aptly/client/publisher.yml
@@ -0,0 +1,9 @@
+classes:
+ - service.aptly.client.publisher
+parameters:
+ aptly:
+ publisher:
+ enabled: true
+ source:
+ engine: docker
+ image: tcpcloud/aptly-publisher
diff --git a/aptly/server/docker.yml b/aptly/server/docker.yml
new file mode 100644
index 0000000..4810e7b
--- /dev/null
+++ b/aptly/server/docker.yml
@@ -0,0 +1,23 @@
+classes:
+ - service.aptly.server.single
+parameters:
+ aptly:
+ server:
+ enabled: true
+ source:
+ engine: docker
+ image: tcpcloud/aptly
+ user:
+ uid: 501
+ gid: 501
+ home_dir: /srv/volumes/aptly
+ root_dir: /srv/volumes/aptly
+ secure: true
+ no_config: true
+ gpg:
+ keyring: .gnupg/trustdb.gpg
+ keypair_id: ${_param:aptly_gpg_keypair_id}
+ public_key: ${_param:aptly_gpg_public_key}
+ private_key: ${_param:aptly_gpg_private_key}
+ api:
+ enabled: false