Commit Graph

244 Commits

Author SHA1 Message Date
Justin Kromlinger bc4d9f8ec5
Also use ignore-var-run in image:publish:secure
See 52729f9911
2021-11-13 13:21:54 +01:00
Justin Kromlinger eaafb9773e
Use fixed kaniko image tag 2021-11-01 14:19:49 +01:00
Justin Kromlinger 52729f9911
Kaniko: whitelist-var-run has been deprecated by ignore-var-run 2021-10-21 09:45:42 +02:00
Justin Kromlinger 3cc06c313a
Remove unused pacman config
Not used, copied from devtools since 2cbbe5a720.

Resolves #58.
2021-10-21 08:14:28 +02:00
Justin Kromlinger ed6f8898e0
Make sure --private-token is set before the release-cli create subcommand 2021-10-18 12:03:30 +02:00
Justin Kromlinger ce17571d1f
Set private token of release-cli call to project token
As suggested by @klausenbusk, this ensures that the releases are created
by the project bot/user instead of the schedule-owner.
2021-10-17 16:22:55 +02:00
hashworks cd3beac574 Merge branch 'fix/localBuild' into 'master'
Avoid curl call on local builds

See merge request archlinux/archlinux-docker!59
2021-09-19 00:17:00 +00:00
Justin Kromlinger e8d7daa790
Avoid curl call on local builds 2021-09-18 16:11:09 +02:00
Justin Kromlinger 3c694ab7f1
Drop --continue-at from curl call
It is incompatible with -J and done automatically. See [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/34434#L72
2021-09-18 13:04:19 +02:00
Justin Kromlinger 20c6261eb0
Revert "Drop -J / --remote-header-name from curl call"
This reverts commit 1d15a041f7.
2021-09-18 13:02:46 +02:00
Justin Kromlinger 1d15a041f7
Drop -J / --remote-header-name from curl call
It is incompatible with --continue-at. See [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/34434#L72
2021-09-16 20:33:52 +02:00
Justin Kromlinger 9cbe452289
Update pacman.conf to pacman-6.0.0-2
As suggested by xatier on GitHub:
* https://github.com/archlinux/archlinux-docker/pull/41
* https://github.com/archlinux/archlinux-docker/pull/42/files
2021-06-07 18:25:27 +02:00
hashworks 183225149d Merge branch 'add-warning-on-lsign-key' into 'master'
README: add note on lsign-key

Closes #18

See merge request archlinux/archlinux-docker!58
2021-05-02 14:34:27 +00:00
Santiago Torres be068a16d3
README: add note on lsign-key 2021-04-29 15:52:57 -04:00
Justin Kromlinger 96bb688fb7
Add --force to kaniko to override cgroup-v2 container detection
Revert after [0] is fixed

[0] https://github.com/GoogleContainerTools/kaniko/issues/1592
2021-04-17 16:32:02 +02:00
hashworks 293bcb10aa Merge branch 'package-registry-cleanup' into 'master'
Remove the rootfses from the package registry after 60 days

Closes #57

See merge request archlinux/archlinux-docker!57
2021-04-17 14:19:26 +00:00
Kristian Klausen e74230023c Remove the rootfses from the package registry after 60 days
According to upstream two months is fine:
tianon: yeah, cleaning them out is reasonable, although I'd request that
they be available for something like 1-2 months after they're no longer
supported / "active"
tianon: in the case of something constantly changing like arch, 1 month
is probably pretty reasonable

Fix #57
2021-04-06 01:17:42 +02:00
hashworks cce3f61a84 Merge branch 'github-pr-maintainers' into 'master'
Add the $maintainers to the PR's body instead of the commit

See merge request archlinux/archlinux-docker!56
2021-04-05 11:46:23 +00:00
Kristian Klausen 18b9d9f730 Add the $maintainers to the PR's body instead of the commit
This should fix the notification spam caused by users pushing the
commits to their own repository.
2021-04-04 21:33:36 +02:00
hashworks eabc3c8b25 Merge branch 'pierre-master-patch-14921' into 'master'
Remove my name from the template to reduce notification spam by Github

See merge request archlinux/archlinux-docker!55
2021-04-04 14:15:00 +00:00
Pierre Schmitz c2370be081 Remove my name from the template to reduce notification spam by Github 2021-04-04 13:56:19 +00:00
Justin Kromlinger 90da405dc3
Use hadolint:latest-alpine since :latest no longer contains a shell 2021-03-25 17:53:09 +01:00
hashworks 4b0bc2ddf2 Merge branch 'docker-library/gitlabRepo' into 'master'
Use our GitLab repo in the docker library template

See merge request archlinux/archlinux-docker!54
2020-12-22 19:37:07 +00:00
Justin Kromlinger bd44d9997a
Use our GitLab repo in the docker library template
See https://github.com/docker-library/official-images/pull/9340
2020-12-22 12:47:16 +01:00
hashworks acde5a3704 Merge branch 'fix/sysusers' into 'master'
Make sure sysusers call actually generates users and groups

Closes #52

See merge request archlinux/archlinux-docker!53
2020-12-11 15:08:28 +00:00
Santiago Torres eb0c127ba6
Makefile: use sysusers directly
Instead of using the libalpm systemd-syusers hook, use sysusers
directly. The --root parameter allows us to avoid using the host's
namespace and populate using the conf files in the target's build
directory.
2020-12-11 16:00:56 +01:00
Justin Kromlinger c0e73cd900
Drop ls pipe for sysusers call
It had no effect whatsoever anyway.
2020-12-11 16:00:54 +01:00
Justin Kromlinger 3e3b44b68c
Move sysusers call back to Dockerfile
Resolves #52. Added small tests for user/group counts.
2020-12-11 16:00:51 +01:00
Justin Kromlinger 65afb6ca64
Replace ~ in README since it's strikeout on DockerHub
Resolves #54.
2020-12-09 23:39:29 +01:00
Sven-Hendrik Haase 95f4c09f9d Fix some typos 2020-12-01 07:41:24 +00:00
hashworks 2c27f13737 Merge branch 'doc/README' into 'master'
Make README more user-centric and explain CI processes

Closes #40 and #48

See merge request archlinux/archlinux-docker!51
2020-11-30 21:17:12 +00:00
Justin Kromlinger 1a5fbeea9d
Make README more user-centric and explain CI processes
Resolves #40 and #48.
2020-11-30 22:13:02 +01:00
hashworks 86fb81c860 Merge branch 'dockerfile/prettyReleaseURL' into 'master'
Provide a pretty release link in the Dockerfile

Closes #49

See merge request archlinux/archlinux-docker!52
2020-11-18 18:33:21 +00:00
Justin Kromlinger 6b36cb9812
Provide a pretty release link in the Dockerfile
Resolves #49.
2020-11-18 19:04:34 +01:00
Sven-Hendrik Haase 67dddfbf76 Merge branch 'fix/apiPagination' into 'master'
Always retrieve the latest package from the API, add error handling

See merge request archlinux/archlinux-docker!50
2020-11-13 10:20:11 +00:00
Justin Kromlinger c1cc41db1a
Fail public download script on API / json parsing errors 2020-11-13 11:09:11 +01:00
Justin Kromlinger 9c39d53baf
Always retrieve the latest package from the API
Without this stuff fails after a while since the API is paginated and
sorted by ASC by default.
2020-11-13 11:07:13 +01:00
hashworks 73504a73cd Merge branch 'dockerfileCMDsToMakefile' into 'master'
Move all Dockerfile commands to Makefile

Closes #45

See merge request archlinux/archlinux-docker!49
2020-11-13 09:22:32 +00:00
Justin Kromlinger 17b668efb4
Add configuration files before we run locale-gen 2020-11-07 21:14:58 +01:00
Justin Kromlinger f875ac9565
Move ldconfig back to Dockerfile since its a noop in fakechroot
strace: execve("/bin/true", ["ldconfig"], 0x563fc29f9fa0 /* 101 vars */) = 0
2020-11-07 17:52:39 +01:00
Justin Kromlinger 52c1613c20
Don't use after_script to test base-devel
after_script won't affect the job exit code [1], so we can't use it for
tests. Instead we are using YAML anchors for script [2].

[1] https://docs.gitlab.com/ee/ci/yaml/#before_script-and-after_script
[2] https://docs.gitlab.com/ee/ci/yaml/#yaml-anchors-for-script
2020-11-07 17:19:16 +01:00
Justin Kromlinger a51b77535a
Clean GitLabCI make commands 2020-11-07 17:09:11 +01:00
Justin Kromlinger 0b616a629a
Always build rootfs archives before the Dockerfiles
The Dockerfiles require them for their sha256sum.
2020-11-07 16:50:03 +01:00
Justin Kromlinger d177146b3b
Move all Dockerfile commands to Makefile
Resolves #45.
2020-11-07 16:49:07 +01:00
Justin Kromlinger 41d5da410a
Drop depth=1 to fix "shallow update not allowed" 2020-11-02 22:29:45 +01:00
Sven-Hendrik Haase ac398b334a Merge branch 'fix/dockerHubLibraryBuilds' into 'master'
Switch to alpine in verify stage

See merge request archlinux/archlinux-docker!47
2020-11-02 20:47:19 +00:00
Justin Kromlinger 9c5a9ccc95
Drop DL3020 ignore since we are using COPY 2020-11-02 20:14:12 +01:00
Justin Kromlinger 7d5a90c0a0
Drop apk update since we use --no-cache 2020-11-02 20:13:19 +01:00
Justin Kromlinger 2f647bce74
Drop DL3007 from ignore list since we pin alpine:3.12 2020-11-02 20:05:46 +01:00
Justin Kromlinger 0ad84af7b7
Drop alpine version pins, ignore DL3018
https://gitlab.archlinux.org/archlinux/archlinux-docker/-/merge_requests/47#note_6125
2020-11-02 20:03:42 +01:00