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

Add checks for templating infra #991

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
16 changes: 16 additions & 0 deletions .github/workflows/check-template-integrity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check the integrity of files generated from templates

on: push
jobs:
check-dockerfiles:
name: Check if the dockerfiles are updated using latest templates
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Remove all generated files
run: rm -rf dockerfiles/*
- name: Regenerate all files from templates
run: ./update_dockerfiles
- name: Check if all the files are still the same
run: git diff --exit-code dockerfiles
Empty file modified dockerfiles/centos-7-pg14/scripts/determine_email
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-7-pg14/scripts/determine_name
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-7-pg14/scripts/fetch_and_build_rpm
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-7-pg15/scripts/determine_email
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-7-pg15/scripts/determine_name
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-7-pg15/scripts/fetch_and_build_rpm
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg14/scripts/determine_email
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg14/scripts/determine_name
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg14/scripts/fetch_and_build_rpm
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg15/scripts/determine_email
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg15/scripts/determine_name
100644 → 100755
Empty file.
Empty file modified dockerfiles/centos-8-pg15/scripts/fetch_and_build_rpm
100644 → 100755
Empty file.
Empty file modified dockerfiles/debian-bullseye-all/scripts/determine_email
100644 → 100755
Empty file.
Empty file modified dockerfiles/debian-bullseye-all/scripts/determine_name
100644 → 100755
Empty file.
Empty file modified dockerfiles/debian-bullseye-all/scripts/fetch_and_build_deb
100644 → 100755
Empty file.
128 changes: 0 additions & 128 deletions dockerfiles/debian-stretch-all/Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions dockerfiles/debian-stretch-all/make_pg_buildext_parallel.patch

This file was deleted.

227 changes: 0 additions & 227 deletions dockerfiles/debian-stretch-all/scripts/fetch_and_build_deb

This file was deleted.

Loading