This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
pleroma-ansible-playbook/test/pleroma_test_env/files/entrypoint
Dan Anglin 20667709b2
ci: test environment docker image for CI pipelines
This commit includes a Dockerfile for building a test environment for
future CI pipelines. This commit also refactors the GitLab CI pipeline
files by splitting the jobs into different files:

- .gitlab-ci.yml: Global CI pipeline file.
- .gitlab/ci/test-env.gitlab-ci.yml: Jobs to test and publish the
docker image for the test environment.
- .gitlab/ci/playbook.gitlab-ci.yml: Jobs to test and publish the
docker image for the pleroma playbook
- .gitlab/ci/templates/docker.gitlab-ci.yml: Template jobs for
testing and publishing docker images.

Part of dananglin/pleroma-ansible-playbook#17
2020-07-10 07:22:39 +01:00

14 lines
239 B
Bash
Executable file

#!/usr/bin/env bash
set euo -pipefail
# Add authorized keys
if ! [ -z "${AUTHORIZED_KEYS}" ]; then
echo ${AUTHORIZED_KEYS} > /home/admin/.ssh/authorized_keys
fi
# Start SSH service
rc-service sshd start
# Sleep and wait
sleep 30d