Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: repo-ansible run #9

Merged
merged 2 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ RUN groupadd --gid $USER_GID $USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME \
&& sudo chsh -s /bin/bash vscode

COPY --chown=vscode:vscode ../. /app
RUN chown vscode:vscode -R /app /var/log/apache2
RUN chown vscode:vscode -R /var/log/apache2

RUN echo "xdebug.mode=off" | tee '/usr/local/etc/php/conf.d/xdebug.ini'

WORKDIR /app
USER root
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
]
}
},
"forwardPorts": [80, 3306],
"forwardPorts": [ 80, 8000 ],
"remoteUser": "vscode",

"secrets": {
Expand All @@ -46,5 +46,6 @@
"documentationUrl": "https://packagist.com/orgs/linkorb"
}
},
"postCreateCommand": ".devcontainer/postCreate.sh"
"postCreateCommand": ".devcontainer/postCreate.sh",
"postStartCommand": ".devcontainer/postStart.sh"
}
5 changes: 5 additions & 0 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
# Managed by https://github.com/linkorb/repo-ansible. Manual changes will be overwritten.

# Workaround for recent Python versions which prevent global pip package installation without an explicit flag
# or removal of a certain file.
sudo rm /usr/lib/python3.*/EXTERNALLY-MANAGED || true

git config commit.template .devcontainer/git/linkorb_commit.template

cp .devcontainer/git/hooks/pre-push .git/hooks/pre-push
Expand All @@ -10,3 +14,4 @@ composer config --global --auth http-basic.repo.packagist.com "$GITHUB_USER" "$P

composer install


3 changes: 3 additions & 0 deletions .devcontainer/postStart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
# Managed by https://github.com/linkorb/repo-ansible. Manual changes will be overwritten.

8 changes: 0 additions & 8 deletions helm-chart/Chart.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions helm-chart/templates/NOTES.txt

This file was deleted.

65 changes: 0 additions & 65 deletions helm-chart/templates/_helpers.tpl

This file was deleted.

78 changes: 0 additions & 78 deletions helm-chart/templates/deployment.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions helm-chart/templates/hpa.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions helm-chart/templates/ingress.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions helm-chart/templates/service.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions helm-chart/templates/serviceaccount.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Publish fast and beautiful websites, campaign sites, documentation
license: mit
license_year: 2021
name: blazon
type: application
type: php-cli
visibility: public
github:
default_branch: master
Expand Down