-
Notifications
You must be signed in to change notification settings - Fork 469
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
WIP: bookworm, Arm64, (geo)Bundle, improved tagging #356
Draft
ImreSamu
wants to merge
167
commits into
postgis:master
Choose a base branch
from
ImreSamu:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15,271
−2,249
Draft
Changes from all commits
Commits
Show all changes
167 commits
Select commit
Hold shift + click to select a range
d038f6a
total refactoring ;
ImreSamu 47c76c7
Merge remote-tracking branch 'upstream/master'
ImreSamu 86e9bbb
refactoring, updates, ...
ImreSamu 081a098
refactoring, fixing, updates...
ImreSamu 6f17cba
fix bundle
ImreSamu c4ef5c3
updates ...
ImreSamu e59f748
update ...
ImreSamu c8df76b
update ...
ImreSamu c5ff4f1
update templates, add netcdf to gdal, etc ..
ImreSamu 4b5f545
fixes, refactoring, updates ...
ImreSamu 35324a0
fix shellcheck error, etc..
ImreSamu bb0534c
update README.md
ImreSamu 45f4142
fix localtest ..
ImreSamu 05a3554
update bundle0, refresh
ImreSamu 32eeb6f
update ..
ImreSamu 8ed64fe
update ...
ImreSamu 661379e
update ... fix master ..
ImreSamu ee09e50
remove 14-3.4-bundle0 and improve bundle0
ImreSamu 534f2d6
improvements, update ...
ImreSamu a7f1518
update to geos 3.12.1
ImreSamu 30eb331
update ..
ImreSamu a9a1a0b
locking geos + update )
ImreSamu f6610f8
fix recent - geos lock
ImreSamu a243c1a
improve CircleCI
ImreSamu e43b433
update postgis 3.4.1
ImreSamu 5aa415e
multiple improvements
ImreSamu e0d82e3
only Warning if README.md size >= 25000 char
ImreSamu 63e614f
remove PG 11 EOL
ImreSamu c7bdb50
change to ISO week starts on a Monday; ISO 8601
ImreSamu 482833f
fix workflows ..
ImreSamu 36e793d
fix CI/CD workflow
ImreSamu dcde121
fix CI/CD workflow
ImreSamu c43ac53
add manifest insecure options to connect locahost registy
ImreSamu 6ebd717
fix lint error
ImreSamu 642a5ec
improve recent tags
ImreSamu 4e4194d
update ..
ImreSamu dce0a91
add update_dockerfile workflow
ImreSamu 0c18154
update
ImreSamu 429de55
CI fix
ImreSamu 89ce4f7
update
ImreSamu 64715b8
update; sfcgal 1.5.1
ImreSamu 03974b1
update ..
ImreSamu 5be1cc8
update
ImreSamu 140194e
fix ...
ImreSamu 23edd00
add run time: perl to alpine versions
ImreSamu 5c0110f
update.sh
ImreSamu 8086562
update.sh, small fixes in the bundle0
ImreSamu 0c65c07
add trivy and dive check
ImreSamu 7845661
update.sh
ImreSamu f75ddf9
fix ci
ImreSamu 4e8f2d9
refactor scan,dive
ImreSamu b747a07
update.sh
ImreSamu b4d4d04
update.sh
ImreSamu d38ba74
update.sh
ImreSamu 9138066
update.sh
ImreSamu 8c5c29b
add locked, and old postgis-alpine versions
ImreSamu 7ece984
fix - alpine template
ImreSamu 294fda3
fix alpine; update
ImreSamu d0b0b41
small fixes,bundle update, fixing README, etc
ImreSamu 9e54e51
lint, formatting
ImreSamu 3d2b599
update ...
ImreSamu 18afb41
change master
ImreSamu 7a69f64
fix bunlde
ImreSamu 62fa868
update postgis
ImreSamu 94b30d8
check ratelimit
ImreSamu d672149
add more rate-limit info
ImreSamu 82df8ae
small changes ...
ImreSamu 13c8cbb
fix circleci
ImreSamu 1428634
fix circleci
ImreSamu e27f59d
add arrow,parquet to gdal (master template)
ImreSamu 9b8b6d5
add GDAL_BUILD minimal options - to avoid GDAL build errors, fix 4-l3…
ImreSamu 4d456b7
add more GDAL config
ImreSamu a4b9cff
update.sh
ImreSamu 8d59d2f
update.sh - update CGAL
ImreSamu e1a0a7a
update.sh; Proj 9.4
ImreSamu 741feb2
fix master in arm64, update mobilitydb
ImreSamu cfa3eb3
fix master.template Arrow install, detecting correct dependency.
ImreSamu 2dabc6e
add auto update
ImreSamu 2aa34e0
add auto update v2.
ImreSamu 59f6246
add auto update v3.
ImreSamu b6c0030
add auto update v4.
ImreSamu 869d292
Update versions.json and related Dockerfiles
ImreSamu 83b4464
Merge pull request #2 from ImreSamu/updates/20240324_2000
ImreSamu 60d9ba3
improve workflow - for auto-upgrade compatible
ImreSamu 8c9c1f6
improve master template
ImreSamu cf6a839
fix lint
ImreSamu cfe5050
Update versions.json and related Dockerfiles
ImreSamu d247630
Merge pull request #4 from ImreSamu/updates/20240409_2000
ImreSamu a522cb6
Update versions.json and related Dockerfiles
ImreSamu b82ad77
Merge pull request #5 from ImreSamu/updates/20240417_2000
ImreSamu 522178d
Update versions.json and related Dockerfiles
ImreSamu 9df65a0
Merge pull request #6 from ImreSamu/updates/20240507_2000
ImreSamu f9cd300
Update versions.json and related Dockerfiles
ImreSamu 99db4f2
Merge pull request #7 from ImreSamu/updates/20240510_2000
ImreSamu 447f67c
fix locked images documentation
ImreSamu cf730db
Alpine 3.20 update and temporary keep some alpine3.18 image.
ImreSamu 976a6a8
Merge pull request #10 from ImreSamu/alpine3.20_update
ImreSamu f1f2637
Update versions.json and related Dockerfiles
ImreSamu dce894b
Merge pull request #11 from ImreSamu/updates/20240529_2000
ImreSamu 50afbf2
Update versions.json and related Dockerfiles
ImreSamu 06f6f15
Merge pull request #12 from ImreSamu/updates/20240601_2000
ImreSamu 3cd6a69
- remove alpine3.18
ImreSamu cf2fa49
remove pg_quack from bundle
ImreSamu 0c6110b
temp fix bundle error
ImreSamu 578c4f0
17beta2 + update.sh
ImreSamu 8de5930
fix readme group categorisation
ImreSamu 009635e
improve update workflow
ImreSamu c0c41ad
🤖 Bump versions: SFCGAL:v1.5.2
ImreSamu 4e004e8
Merge pull request #42 from ImreSamu/updates/20240725_2000
ImreSamu d1faa13
🤖 Bump versions: TIMESCALEDB:2.16.0
ImreSamu 96b4b3a
Merge pull request #43 from ImreSamu/updates/20240731_2000
ImreSamu 6d6a775
🤖 Bump versions: TIMESCALEDB:2.16.1
ImreSamu b96bde4
Merge pull request #44 from ImreSamu/updates/20240806_2000
ImreSamu 27956ca
🤖 Bump versions: GDAL:v3.9.2
ImreSamu 528507e
Merge pull request #45 from ImreSamu/updates/20240816_2000
ImreSamu 297c807
Upgrade to 17beta3, locking to the geos3.12 branch
ImreSamu 833a19c
🤖 Bump versions: PG_HINT_PLAN:REL15_1_5_2,PG_HINT_PLAN:REL16_1_6_1
ImreSamu a5514e7
Merge pull request #46 from ImreSamu/updates/20240829_2000
ImreSamu 1e70747
🤖 Bump versions: POSTGIS:3.4.3rc1
ImreSamu 3e15f15
Merge pull request #47 from ImreSamu/updates/20240903_2000
ImreSamu 1878445
Revert "🤖 Bump versions: POSTGIS:3.4.3rc1" (#48)
ImreSamu a8e6ba0
fix postgis version detection
ImreSamu 7146fe2
Merge pull request #49 from ImreSamu/fix_20240904_postgis_version
ImreSamu 296ab26
update postgis 3.4.3
ImreSamu 81f1ce7
Merge pull request #51 from ImreSamu/update_postgis_343
ImreSamu 68b6cfc
🤖 Bump versions: GEOS:3.13.0,POSTGIS:3.3.7
ImreSamu 89a4372
Merge pull request #52 from ImreSamu/updates/20240906_2000
ImreSamu 5a781d4
upgrade to 17rc1
ImreSamu 036ebd3
Merge pull request #53 from ImreSamu/update_17rc1
ImreSamu ffafc96
🤖 Bump versions: DUCKDB:v1.1.0
ImreSamu 25d04b1
Merge pull request #55 from ImreSamu/updates/20240909_2000
ImreSamu b959538
🤖 Bump versions: PROJ:9.5.0
ImreSamu 56a211b
Merge pull request #57 from ImreSamu/updates/20240915_1231
ImreSamu 153719e
add postgis 3.5.0beta1 images
ImreSamu b965da6
limit parallel build jobs
ImreSamu 75ed703
fix some descriptions ...
ImreSamu 80703b0
temporary postgis 3.5.0beta1 build -j1 workaround
ImreSamu 32f99f5
revert 3.5.0beta1 workaround
ImreSamu 158c89e
arm64 test cases
ImreSamu fd8bd6a
fix arm circle-ci
ImreSamu 31df64c
update README.md
ImreSamu 126fccb
update to postgis 3.5.0rc1
ImreSamu ddc6ece
🤖 Bump versions: DUCKDB:v1.1.1,MOBILITYDB:v1.1.2
ImreSamu 253e3bb
Merge pull request #59 from ImreSamu/updates/20240924_2001
ImreSamu b2e7114
update Postgres17, Postgis 3.5, etc
ImreSamu 0cd66e4
Merge pull request #61 from ImreSamu/_20240928_update
ImreSamu 707c43e
🤖 Bump versions: CGAL:v6.0,PGSQL_HTTP:v1.6.1,SFCGAL:v2.0.0,TIMESCALED…
ImreSamu d0ee01d
Merge pull request #62 from ImreSamu/updates/20241011_0949
ImreSamu 782c348
🤖 Bump versions: DUCKDB:v1.1.2,GDAL:v3.9.3
ImreSamu e1dad87
Merge pull request #63 from ImreSamu/updates/20241014_1527
ImreSamu bbd17c6
update debian postgis 3.5
ImreSamu ee79a78
fix debian postgis3.5
ImreSamu 4dfa578
Merge pull request #64 from ImreSamu/20241014_pgis3.4_debian
ImreSamu f1047e9
remove 17-bundle0, some packages is not updated
ImreSamu 737ea76
Merge pull request #65 from ImreSamu/20241015-remove-17bundle
ImreSamu f01e853
🤖 Bump versions: MOBILITYDB:v1.2.0
ImreSamu 8dd60d9
Merge pull request #66 from ImreSamu/updates/20241017_2000
ImreSamu ab9eded
🤖 Bump versions: (#67)
github-actions[bot] 8d1c4ed
🤖 Bump versions: CGAL:v6.0.1,TIMESCALEDB:2.17.1
ImreSamu af20e37
Merge pull request #68 from ImreSamu/updates/20241021_2000
ImreSamu 421c273
🤖 Bump versions: DUCKDB:v1.1.3
ImreSamu 4df42ad
Merge pull request #69 from ImreSamu/updates/20241104_2000
ImreSamu 49bcc1c
🤖 Bump versions: GDAL:v3.10.0 (#70)
github-actions[bot] 22666c3
🤖 Bump versions: TIMESCALEDB:2.17.2 (#71)
github-actions[bot] 1624f77
🤖 Bump versions: (#72)
github-actions[bot] f10a297
🤖 Bump versions: PROJ:9.5.1
ImreSamu c01a71d
Merge pull request #73 from ImreSamu/updates/20241201_1821
ImreSamu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,176 @@ | ||
# .circleci/config.yml | ||
|
||
# Circle CI arm64 builder | ||
version: 2.1 | ||
|
||
orbs: | ||
# https://circleci.com/developer/orbs/orb/circleci/docker | ||
docker: circleci/[email protected] | ||
# https://circleci.com/developer/orbs/orb/circleci/python | ||
python: circleci/[email protected] | ||
# https://circleci.com/developer/orbs/orb/circleci/shellcheck | ||
shellcheck: circleci/[email protected] | ||
|
||
jobs: | ||
build-arm64: | ||
# We limit this to prevent overloading external servers (e.g., OSGeo, PROJ). | ||
# Note: Include parallel GitHub CI jobs when calculating the total load, as they run simultaneously! | ||
parallelism: 8 | ||
machine: | ||
image: ubuntu-2204:current | ||
resource_class: arm.large | ||
environment: | ||
BUILDX_PLATFORMS: linux/arm64v8 | ||
DOCKER_BUILDKIT: '1' | ||
PLATFORM: linux/arm64v8 | ||
parameters: | ||
target-version-variant: | ||
type: string | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Display pipeline.* values | ||
command: | | ||
echo 'pipeline.git.branch: <<pipeline.git.branch>>' | ||
echo 'pipeline.git.revision: <<pipeline.git.revision>>' | ||
echo 'pipeline.id: <<pipeline.id>>' | ||
echo 'pipeline.project.git_url: <<pipeline.project.git_url>>' | ||
echo 'pipeline.trigger_source: <<pipeline.trigger_source>>' | ||
echo 'pipeline.schedule.name:<< pipeline.schedule.name >>' | ||
echo 'pipeline.schedule.id:<< pipeline.schedule.id >>' | ||
|
||
- docker/check: | ||
registry: docker.io | ||
docker-username: DOCKERHUB_USERNAME | ||
docker-password: DOCKERHUB_ACCESS_TOKEN | ||
|
||
- run: | ||
name: Docker Ratelimit Check - before | ||
# https://docs.docker.com/docker-hub/download-rate-limit/ | ||
command: | | ||
TOKEN=$(curl --user "$DOCKERHUB_USERNAME:$DOCKERHUB_ACCESS_TOKEN" "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token) | ||
HEADERS=$(curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest) | ||
echo "Rate Limit Info:" | ||
echo "$HEADERS" | grep ratelimit | ||
|
||
- run: uname -a | ||
- run: docker --version | ||
- run: docker info | ||
- run: pip3 install --upgrade pip | ||
- run: pip3 install --upgrade lastversion | ||
- run: tools/install_manifest-tool.sh | ||
- run: tools/install_dive.sh | ||
- run: tools/environment_init.sh | ||
- run: make check_version | ||
|
||
- run: | ||
name: Conditional Docker Check - Halt if not on master branch or if it's a PR or Weekly image exists | ||
command: | | ||
# Check if the current branch is 'master' and the weekly image is not extis | ||
# If weekly image exists, skip docker build and push | ||
source tools/environment_init.sh | ||
echo "check: << parameters.target-version-variant >>${IMAGE_VERSION_ID}" | ||
check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}" || true | ||
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}"; then | ||
circleci-agent step halt | ||
fi | ||
|
||
- run: make -n test-<< parameters.target-version-variant >> | ||
- run: make test-<< parameters.target-version-variant >> | ||
- run: make scan-<< parameters.target-version-variant >> || true | ||
- run: make dive-<< parameters.target-version-variant >> || true | ||
- run: docker images | ||
|
||
- run: | ||
name: Conditional Docker Check - Halt if not on master branch or if it's a PR | ||
command: | | ||
# Check if the current branch is NOT 'master' or if the build is triggered by a pull request. | ||
# If either of these conditions is met, halt the workflow. | ||
if [ "$CIRCLE_BRANCH" != "master" ] || [ -n "$CIRCLE_PULL_REQUEST" ]; then | ||
circleci-agent step halt | ||
fi | ||
|
||
- run: | ||
name: "Push docker image : make push-<< parameters.target-version-variant >>" | ||
command: | | ||
if [ "$CIRCLE_BRANCH" == "master" ] && [ -z "$CIRCLE_PULL_REQUEST" ]; then | ||
make push-<< parameters.target-version-variant >> | ||
make manifest-<< parameters.target-version-variant >> | ||
echo "...push and manifest done..." | ||
fi | ||
|
||
- run: | ||
name: Docker Ratelimit Check - after | ||
# https://docs.docker.com/docker-hub/download-rate-limit/ | ||
command: | | ||
TOKEN=$(curl --user "$DOCKERHUB_USERNAME:$DOCKERHUB_ACCESS_TOKEN" "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token) | ||
HEADERS=$(curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest) | ||
echo "Rate Limit Info:" | ||
echo "$HEADERS" | grep ratelimit | ||
|
||
|
||
workflows: | ||
build-deploy: | ||
# AND triggered by the app.circleci.com UI | ||
# daily run : Repeats everyday every month ; 6:00am UTC, 1 (once per hour). | ||
jobs: | ||
- build-arm64: | ||
matrix: | ||
parameters: | ||
target-version-variant: [ | ||
# | ||
# They are created using the ./apply-ci.sh script based on the version.json file, | ||
# where the architecture is defined as "arm64". | ||
# These "--skip--" images serve as inputs for the "*-bundle" images, | ||
# hence they must be generated within the bundle JOB. | ||
# | ||
#circleci-targets-start | ||
"12-3.3-alpine3.20", | ||
"12-3.4-alpine3.19", | ||
"12-3.4-alpine3.20", | ||
"12-3.5-alpine3.19", | ||
"12-3.5-alpine3.20", | ||
"12-3.5-bookworm", | ||
"12-3.5-bullseye", | ||
"13-3.3-alpine3.20", | ||
"13-3.4-alpine3.19", | ||
"13-3.4-alpine3.20", | ||
"13-3.5-alpine3.19", | ||
"13-3.5-alpine3.20", | ||
"13-3.5-bookworm", | ||
"13-3.5-bullseye", | ||
"14-3.3-alpine3.20", | ||
"14-3.4-alpine3.19", | ||
"14-3.4-alpine3.20", | ||
"14-3.5-alpine3.19", | ||
"14-3.5-alpine3.20", | ||
"14-3.5-bookworm", | ||
"14-3.5-bullseye", | ||
"14-l3.1.9gcp-bookworm", | ||
"15-3.3-alpine3.20", | ||
"15-3.4-alpine3.19", | ||
"15-3.4-alpine3.20", | ||
"15-3.5-alpine3.19", | ||
"15-3.5-alpine3.20", | ||
"15-3.5-bookworm", | ||
"15-3.5-bullseye", | ||
"16-3.3-alpine3.20", | ||
"16-3.4-alpine3.19", | ||
"16-3.4-alpine3.20", | ||
"16-3.5-alpine3.19", | ||
"16-3.5-alpine3.20", | ||
# --skip-- "16-3.5-bookworm", --> generated with the related bundle job! | ||
"16-3.5-bullseye", | ||
"16-3.5-bundle0-bookworm", | ||
"16-master-bookworm", | ||
"16-recent-bookworm", | ||
"17-3.4-alpine3.20", | ||
"17-3.5-alpine3.19", | ||
"17-3.5-alpine3.20", | ||
"17-3.5-bookworm", | ||
"17-3.5-bullseye", | ||
"17-master-bookworm", | ||
"17-recent-bookworm", | ||
#circleci-targets-end | ||
] |
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,36 @@ | ||
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
# see - https://docs.coderabbit.ai/configure-coderabbit/ | ||
|
||
language: "en-US" | ||
|
||
early_access: true | ||
|
||
# we(docker-postgis) always need a human to approve (and merge), we don't use this, | ||
reviews: | ||
profile: "chill" | ||
request_changes_workflow: false | ||
high_level_summary: false | ||
poem: false | ||
review_status: false | ||
collapse_walkthrough: true | ||
auto_review: | ||
enabled: false | ||
drafts: false | ||
|
||
# chat is allowed | ||
chat: | ||
auto_reply: true | ||
|
||
|
||
# https://docs.coderabbit.ai/guides/commands | ||
# | ||
# The following commands are available (invoked as PR comments): | ||
# @coderabbitai pause : to pause the reviews on a PR. | ||
# @coderabbitai resume : to resume the paused reviews. | ||
# @coderabbitai review : to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. | ||
# @coderabbitai full review : to do a full review from scratch and review all the files again. | ||
# @coderabbitai summary : to regenerate the summary of the PR. | ||
# @coderabbitai resolve : resolve all the CodeRabbit review comments. | ||
# @coderabbitai configuration : to show the current CodeRabbit configuration for the repository. | ||
# @coderabbitai help : to get help. | ||
|
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 |
---|---|---|
@@ -1,3 +1,21 @@ | ||
Dockerfile | ||
.git | ||
_* | ||
.jq-template.awk | ||
.template-helper-functions.jq | ||
.vscode/ | ||
|
||
.git/ | ||
.github/ | ||
.gitignore | ||
.circleci/ | ||
|
||
docs/ | ||
README.md | ||
version.json | ||
|
||
Dockerfile.*.template | ||
localetest.sh | ||
apply-*.sh | ||
|
||
trivy_cache | ||
tmp/ |
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,22 @@ | ||
# PROD setup | ||
# | ||
# Setup info, used by: | ||
# ./update.sh and other scripts ( ./apply-*.sh ) | ||
# ./Makefile | ||
# ./.github/workflows/main.yml | ||
# ./.circleci/config.yml | ||
# | ||
# IF your are changing the values, please run ./update.sh | ||
# to update some hard coded values in the Dockerfiles or README.md | ||
# | ||
|
||
REGISTRY=docker.io | ||
REPO_NAME=imresamu | ||
IMAGE_NAME=postgis | ||
DOCKERHUB_README_REPOSITORY=imresamu/postgis | ||
|
||
dockerhublink='https://registry.hub.docker.com/r/imresamu/postgis/tags?page=1&name=' | ||
githubrepolink='https://github.com/imresamu/docker-postgis/blob/master' | ||
|
||
ENABLE_IMAGE_ARCH=true | ||
ENABLE_IMAGE_VERSION_ID=true |
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,23 @@ | ||
# Test Setup ; if TEST=true | ||
# | ||
# Setup info, used by: | ||
# ./update.sh and other scripts ( ./apply-*.sh ) | ||
# ./Makefile | ||
# ./.github/workflows/main.yml | ||
# ./.circleci/config.yml | ||
# | ||
# IF your are changing the values, please run ./update.sh | ||
# to update some hard coded values in the Dockerfiles or README.md | ||
# | ||
|
||
REGISTRY=localhost:5000 | ||
REPO_NAME=testrepo | ||
IMAGE_NAME=testpostgisimage | ||
DOCKERHUB_README_REPOSITORY=testrepo/testpostgisimage | ||
|
||
dockerhublink='https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=' | ||
githubrepolink='https://github.com/postgis/docker-postgis/blob/master' | ||
|
||
ENABLE_IMAGE_ARCH=true | ||
ENABLE_IMAGE_VERSION_ID=true | ||
|
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,11 @@ | ||
# https://github.com/actions/checkout/issues/135#issuecomment-613361104 | ||
* text eol=lf | ||
|
||
/*/**/Dockerfile linguist-generated | ||
/*/**/initdb-postgis.sh linguist-generated | ||
/*/**/update-postgis.sh linguist-generated | ||
/*/**/tags linguist-generated | ||
.github/workflows/main.yml linguist-generated | ||
versions.json linguist-generated | ||
README.md linguist-generated | ||
/Dockerfile*.template linguist-language=Dockerfile |
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,21 @@ | ||
name: "Localtest" | ||
# testing the workflow | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '15 5 * * 1' | ||
|
||
jobs: | ||
localtest: | ||
name: "testing ./localtest.sh ( update.sh and build test and push to local registry )" | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: docker ps -a | ||
- run: pip3 install --upgrade pip | ||
- run: pip3 install --upgrade lastversion | ||
- run: tools/install_manifest-tool.sh | ||
- run: tools/environment_init.sh | ||
- run: ./localtest.sh | ||
- run: docker images | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider specifying a version for the checkout action.
Using a specific version (e.g., a tag or commit SHA) instead of
v4
foractions/checkout
ensures consistent and predictable behavior, as changes tov4
could introduce unexpected issues.