forked from sclorg/postgresql-container
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from manifest.sh to manifest.yml for new generator
- Loading branch information
1 parent
8d2867e
commit 6ef6f9f
Showing
2 changed files
with
110 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |