Skip to content

Commit

Permalink
Switch from manifest.sh to manifest.yml for new generator
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness committed Oct 14, 2022
1 parent 8d2867e commit 6ef6f9f
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 111 deletions.
111 changes: 0 additions & 111 deletions manifest.sh

This file was deleted.

110 changes: 110 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Manifest for image directories creation
# every dest path will be prefixed by $DESTDIR/$version

# Files containing distgen directives
DISTGEN_RULES:
- src: src/cccp.yml
dest: cccp.yml

- src: src/root/usr/share/container-scripts/postgresql/README.md
dest: root/usr/share/container-scripts/postgresql/README.md

- src: src/root/usr/share/container-scripts/postgresql/common.sh
dest: root/usr/share/container-scripts/postgresql/common.sh

- src: src/root/usr/bin/run-postgresql-slave
dest: root/usr/bin/run-postgresql-slave
mode: "0755"

- src: src/root/usr/share/container-scripts/postgresql/openshift-custom-recovery.conf.template
dest: root/usr/share/container-scripts/postgresql/openshift-custom-recovery.conf.template

- src: src/root/usr/share/container-scripts/postgresql/openshift-custom-postgresql-replication.conf.template
dest: root/usr/share/container-scripts/postgresql/openshift-custom-postgresql-replication.conf.template


# Files containing distgen directives, which are used for each
# (distro, version) combination not excluded in multispec
DISTGEN_MULTI_RULES:
- src: src/Dockerfile
dest: Dockerfile.centos7

- src: src/Dockerfile
dest: Dockerfile.rhel7

- src: src/Dockerfile
dest: Dockerfile.rhel8

- src: src/Dockerfile
dest: Dockerfile.rhel9

- src: src/Dockerfile
dest: Dockerfile.c9s

- src: src/Dockerfile
dest: Dockerfile.c8s

- src: src/Dockerfile.fedora
dest: Dockerfile.fedora


# Files to copy
COPY_RULES:
- src: src/root/usr/libexec/fix-permissions
dest: root/usr/libexec/fix-permissions
mode: "0755"

- src: src/content_sets.yml
dest: content_sets.yml

- src: src/root/usr/share/container-scripts/postgresql/openshift-custom-postgresql.conf.template
dest: root/usr/share/container-scripts/postgresql/openshift-custom-postgresql.conf.template

- src: src/root/usr/share/container-scripts/postgresql/scl_enable
dest: root/usr/share/container-scripts/postgresql/scl_enable

- src: src/root/usr/bin/run-postgresql
dest: root/usr/bin/run-postgresql
mode: "0755"

- src: src/root/usr/bin/run-postgresql-master
dest: root/usr/bin/run-postgresql-master
mode: "0755"

- src: src/root/usr/bin/container-entrypoint
dest: root/usr/bin/container-entrypoint
mode: "0755"

- src: src/root/usr/bin/usage
dest: root/usr/bin/usage
mode: "0755"

- src: src/root/usr/libexec/check-container
dest: root/usr/libexec/check-container
mode: "0755"

- src: src/root/usr/share/container-scripts/postgresql/start/set_passwords.sh
dest: root/usr/share/container-scripts/postgresql/start/set_passwords.sh

- src: src/s2i/bin/assemble
dest: s2i/bin/assemble
mode: "0755"

- src: src/s2i/bin/usage
dest: s2i/bin/usage
mode: "0755"


# Symbolic links
# This section is the last one on purpose because the generator.py
# does not allow dead symlinks.
SYMLINK_RULES:
- src: root/usr/share/container-scripts/postgresql/README.md
dest: README.md

- src: ../test
dest: test

- src: /usr/bin/run-postgresql
dest: s2i/bin/run
check_symlink: false # Disable check of dead symlinks

0 comments on commit 6ef6f9f

Please sign in to comment.