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

Update Tarball generation for Ubuntu 20.04 Focal Fossa #746

Merged
merged 1 commit into from
May 8, 2024
Merged
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
8 changes: 4 additions & 4 deletions .gitlab/build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ rm -f $PACKAGES_DIR/release-1.10.0.tar.gz
#######

cd $PACKAGES_DIR
wget --no-verbose --no-clobber https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz
tar -xf node-v16.20.2-linux-x64.tar.xz -C $DEPS_INSTALL_RUNTIME_DIR
rm -f node-v16.20.2-linux-x64.tar.xz
wget --no-verbose --no-clobber https://nodejs.org/dist/v18.20.2/node-v18.20.2-linux-x64.tar.xz
tar -xf node-v18.20.2-linux-x64.tar.xz -C $DEPS_INSTALL_RUNTIME_DIR
rm -f node-v18.20.2-linux-x64.tar.xz

cd $DEPS_INSTALL_RUNTIME_DIR
mv node-v16.20.2-linux-x64 node-install
mv node-v18.20.2-linux-x64 node-install
export PATH=$DEPS_INSTALL_RUNTIME_DIR/node-install/bin:$PATH

############
Expand Down
79 changes: 8 additions & 71 deletions .gitlab/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,65 +61,16 @@ variables:
echo "GLIBC version: $GLIBC_VERSION"
echo "GLIBCXX versions: $GLIBCXX_VERSIONS"

tarball suse-15:
tarball ubuntu-20.04:
extends: .tarball
image: opensuse/leap:15
image: ubuntu:20.04
cache:
key: "leap"
key: "focal"
variables:
GCC_VERSION: 9.3.0
ODB_VERSION: 2.5.0
before_script:
- zypper refresh
- zypper update -y
# download tools
- zypper install -y curl wget gzip bzip2 unzip ca-certificates
# build tools for CodeCompass
- zypper install -y -t pattern devel_basis
- zypper install -y binutils gcc-c++ gmp-devel
# build tools for OpenLDAP
- zypper install -y groff
# build tools for ccdb-tools
- zypper install -y libffi-devel
# show GLIBC verison
- *show-glibc-version

# Permanently disabled job
# (Distribution package repository metadata not available anymore.)
.tarball suse-42.1:
extends: .tarball
image: opensuse/archive:42.1
cache:
key: "malachite"
variables:
GCC_VERSION: 5.5.0
ODB_VERSION: 2.4.0
before_script:
- zypper refresh
- zypper update -y
# download tools
- zypper install -y curl wget gzip bzip2 unzip ca-certificates
# build tools for CodeCompass
- zypper install -y -t pattern devel_basis
- zypper install -y binutils gcc-c++ gmp-devel
# build tools for OpenLDAP
- zypper install -y groff
# build tools for ccdb-tools
- zypper install -y libffi-devel
# disable SSL certificate check (distribution's cacert is outdated)
- echo "check_certificate = off" >> /etc/wgetrc
- echo insecure >> ~/.curlrc
# show GLIBC verison
- *show-glibc-version

tarball ubuntu-16.04:
extends: .tarball
image: ubuntu:16.04
cache:
key: "xenial"
variables:
GCC_VERSION: 5.5.0
ODB_VERSION: 2.4.0
# No interactive timezone dialog for tzdata
DEBIAN_FRONTEND: noninteractive
before_script:
- apt-get update -yqq
# download tools
Expand Down Expand Up @@ -154,22 +105,8 @@ tarball ubuntu-16.04:
- scp -P22 build/codecompass.tar.gz gitlab-deployer@codecompass.net:/var/www/codecompass/$FILENAME
- ssh -p22 gitlab-deployer@codecompass.net "mv -f /var/www/codecompass/$FILENAME /var/www/codecompass/live/wwwroot/tarball/$FILENAME"

upload suse-15:
extends: .upload
variables:
ARCH_SUFFIX: suse-15
needs: ["tarball suse-15"]

# Permanently disabled job
# (Distribution package repository metadata not available anymore.)
.upload suse-42.1:
extends: .upload
variables:
ARCH_SUFFIX: suse-42.1
needs: ["tarball suse-42.1"]

upload ubuntu-16.04:
upload ubuntu-20.04:
extends: .upload
variables:
ARCH_SUFFIX: ubuntu-16.04
needs: ["tarball ubuntu-16.04"]
ARCH_SUFFIX: ubuntu-20.04
needs: ["tarball ubuntu-20.04"]
Loading