diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-16 01:40:45 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-24 00:13:27 +0000 |
commit | 7e41e9eb29c0dfc5fa3067c6e561e5fc00affacb (patch) | |
tree | 3941fa2b42f5f23c152bbe4449a66abc5e8d7c9f /.gitlab-ci.yml | |
parent | Merge pull request #5794 from kmk3/profiles-gtk-comments (diff) | |
download | firejail-7e41e9eb29c0dfc5fa3067c6e561e5fc00affacb.tar.gz firejail-7e41e9eb29c0dfc5fa3067c6e561e5fc00affacb.tar.zst firejail-7e41e9eb29c0dfc5fa3067c6e561e5fc00affacb.zip |
ci: fix swapped name/email arguments in debian_ci
Currently, the author name is used as the author email in git and vice
versa.
Changes:
* Split the commands to make them easier to read
* Put the name command first to match the usual git usage
* Fix swapped name/email arguments
* Use the DEBFULLNAME / DEBEMAIL environment variables instead of
GitLab-specific ones
Added on commit 4cf51b591 ("extend gitlab-ci configuration to run Debian
CI tests", 2019-06-21).
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a75fbbb90..a0241e994 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -83,7 +83,8 @@ debian_ci: | |||
83 | - echo "deb-src http://deb.debian.org/debian sid main" >> /etc/apt/sources.list | 83 | - echo "deb-src http://deb.debian.org/debian sid main" >> /etc/apt/sources.list |
84 | - echo "deb-src http://deb.debian.org/debian experimental main" >> /etc/apt/sources.list | 84 | - echo "deb-src http://deb.debian.org/debian experimental main" >> /etc/apt/sources.list |
85 | - apt-get update | 85 | - apt-get update |
86 | - git config user.email "$GITLAB_USER_NAME" && git config user.name "$GITLAB_USER_EMAIL" | 86 | - git config user.name "$DEBFULLNAME" |
87 | - git config user.email "$DEBEMAIL" | ||
87 | - cd $CI_PROJECT_DIR/.. && (apt-get source --download-only -t experimental firejail || apt-get source --download-only firejail) | 88 | - cd $CI_PROJECT_DIR/.. && (apt-get source --download-only -t experimental firejail || apt-get source --download-only firejail) |
88 | - cd $CI_PROJECT_DIR && tar xf ../firejail_*.debian.tar.* | 89 | - cd $CI_PROJECT_DIR && tar xf ../firejail_*.debian.tar.* |
89 | - rm -rf debian/patches/ | 90 | - rm -rf debian/patches/ |