Jan Wagner
b8d01dd582
Going wild
Test Action / test (amd64, -v, dropbear, debian/2022.83-1_bpo11+1, https://salsa.debian.org/debian/dropbear.git) (pull_request) Failing after 59s
2024-01-09 13:18:07 +01:00
Jan Wagner
7d43afb7a9
Change working dir and operate on .
2024-01-06 16:17:10 +01:00
Jan Wagner
0676dbed51
Adding some debugging output
2024-01-06 16:17:09 +01:00
Dawid Dziurla
8fe07bfb48
main: check for skopeo only once
2024-01-06 13:36:16 +01:00
Dawid Dziurla
37027eb435
main: move io requirement higher
2024-01-05 18:50:29 +01:00
Jan Wagner
2754bd63e5
Adding installation of skopeo
...
Since other platforms, beside Github Actions, can use Actions
(see https://forgejo.org/docs/v1.21/user/actions/ ), it is not save to assume
skopeo is installed by default.
2024-01-05 17:18:49 +01:00
Dawid Dziurla
cfbfc87fec
main: use tar for upstream orig archive generation
2023-03-06 09:32:00 +01:00
Dawid Dziurla
19ce78f0f9
Merge pull request #69 from SebKuzminsky/reassure-recent-gits
...
tell git to trust the repo
2022-11-08 17:15:58 +01:00
Dawid Dziurla
a681ceddab
main: fix style
2022-11-08 17:14:31 +01:00
Jan Wagner
7bec10b9ba
Adding a way to enable/disable lintian checks
2022-11-08 17:12:38 +01:00
Jan Wagner
b43ffb1f6d
Implement lintian support
2022-11-08 17:12:36 +01:00
Sebastian Kuzminsky
512b3e3e44
run git directly, not in a superfluous bash shell
...
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2022-11-08 09:08:21 -07:00
Sebastian Kuzminsky
0181a8bea4
tell git to trust the repo
...
Recent versions of git do not like to run as root in repos that are not
owned by root. This is commonly the situation when a user checks out
a git repo, then runs a docker container with the repo mounted in it.
The version un debian unstable (1:2.38.1-1) has this issue. The version
in bullseye (1:2.30.2-1) does not have this issue.
git-deborig gives this unhelpful error message:
$ git deborig HEAD
pwd doesn't look like a git repository ..
Regular git gives this more useful error message:
$ git status
fatal: detected dubious ownership in repository at '/data/home/seb/action-debian-package'
To add an exception for this directory, call:
git config --global --add safe.directory /data/home/seb/action-debian-package
This commit fixes the issue by running the recommended command inside
the container, before trying to access the git repo.
Fixes #62 .
2022-11-08 08:18:59 -07:00
Sebastian Kuzminsky
6384d3de32
if "apt-get -t ${imageTag}" fails, try just "apt-get"
...
This fixes #63 .
2022-11-07 15:20:13 -07:00
Sebastian Kuzminsky
dc2c467a7c
run apt-get without -t
2022-11-05 12:20:13 -06:00
Dawid Dziurla
b755e71a2c
main: wrap in group
2022-10-27 10:11:20 +02:00
Dawid Dziurla
aa962d1346
main: adjust to older skopeo
2022-10-27 10:01:46 +02:00
Dawid Dziurla
685396f0fc
main: use skopeo for determining image
2022-10-27 09:58:09 +02:00
Enno Rehling
14217920f9
replace missing qemu 5.2 with 6.2 ( #58 )
2022-10-27 09:00:28 +02:00
Dawid Dziurla
0facd33752
main: print arch
2021-07-10 00:22:23 +02:00
Dawid Dziurla
d959ecc623
Support building for other architectures ( #36 )
2021-07-10 00:11:23 +02:00
Dawid Dziurla
3c531250ab
main: use git-deborig ( #37 )
2021-07-10 00:10:09 +02:00
Nicolai Antiferov
fb3670aed9
Add optional os_distribution parameter ( #29 )
...
* Add optional os_distribution parameter
Fixes #28
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-09 23:54:49 +02:00
Nicolai Antiferov
41f4c45749
Disable build dependencies install on Ubuntu 14.04 (trusty)
...
Fixes #26
2021-04-26 23:01:13 +03:00
Jan Wagner
087b55ca0a
Fix build artifacts move
...
As you can build multiple binary packages from one source package, those
don't need to have the same name. You can even build only one binary
package which has a completely different name.
The saves way is to match on the package version number.
2021-03-11 14:33:45 +01:00
Dawid Dziurla
c8bb3a8097
main: remove -tc flag from dpkg-buildpackage
2021-01-02 23:27:33 +01:00
Dawid Dziurla
0db3597f3e
main: remove debug exec
2020-12-26 18:32:45 +01:00
Dawid Dziurla
d5f27fec3a
main: fix
2020-12-26 18:15:06 +01:00
Dawid Dziurla
48ebbf1c81
main: attempt to fix
2020-12-26 18:12:27 +01:00
Dawid Dziurla
e5356aca21
main: debug
2020-12-26 18:08:49 +01:00
Dawid Dziurla
6d3065e17e
main: fix exec syntax
2020-12-26 18:00:53 +01:00
Dawid Dziurla
147656c479
main: prepare environment
...
Non interactive dpkg and apt
2020-12-26 17:34:57 +01:00
Dawid Dziurla
c84039fd8e
main: install devscripts too
2020-12-26 17:17:46 +01:00
Dawid Dziurla
75e45aab50
main: run debi and debc
2020-12-26 17:13:03 +01:00
Dawid Dziurla
4d5a705a8d
main: save container to state
2020-12-09 23:07:04 +01:00
Dawid Dziurla
e535e3a99c
main: support debian backports
2020-11-12 17:47:22 +01:00
Jan Wagner
32dba72991
Symlinks are transformed as well, which leads into broken symlinks.
...
Adding the correct transformation scope flags here.
https://www.gnu.org/software/tar/manual/html_section/tar_51.html
mentions a way to fix this:
```
In addition, several transformation scope flags are supported, that control to what files transformations apply. These are:
[...]
`S'
Do not apply transformation to symbolic link targets.
```
2020-11-08 19:40:45 +01:00
Dawid Dziurla
8164ce3d66
main: provide default input values
2020-07-25 12:29:47 +02:00
Dawid Dziurla
c25f686c2d
main: mv all artifacts
2020-03-27 00:29:02 +01:00
Dawid Dziurla
a4de79d970
main: fix regex
2020-03-26 18:58:33 +01:00
Dawid Dziurla
1db5ce66c0
main: restrict epoch to only numbers
2020-03-26 18:47:10 +01:00
Dawid Dziurla
55eb636e24
main: detect epoch in version string
2020-03-26 18:39:23 +01:00
Dawid Dziurla
891515d3c4
main: color dpkg and allow to configure as root
2020-03-26 18:10:17 +01:00
Dawid Dziurla
f235be040d
main: container name is just package
2020-03-26 17:45:58 +01:00
Dawid Dziurla
85503a8961
main: drop -security and -backports suffixes from distribution
2020-03-26 17:10:18 +01:00
Dawid Dziurla
63d10a4690
main: make apt-get more quiet
2020-03-26 16:51:36 +01:00
Dawid Dziurla
1e762b3098
main: DEBIAN_FRONTEND=noninteractive
2020-03-26 16:51:21 +01:00
Dawid Dziurla
f698828e8c
main: print details
2020-03-26 16:04:59 +01:00
Dawid Dziurla
77636126b4
main: tar change directory
2020-03-26 16:00:12 +01:00
Dawid Dziurla
25ee9fdc80
main: use ; to separate tar transform components
2020-03-26 15:53:09 +01:00