Skip to content
Snippets Groups Projects
Commit 7fa098e4 authored by Chetan Sharma's avatar Chetan Sharma
Browse files

update package code

parents
No related merge requests found
# This CI pipeline is used to create bundle from public git repository and store it in AWS
# argument Variable :- REPOSITORY_URL : "<URL_TO_PUBLIC_GIT_REPOSITORY>"
default:
image: debian:bullseye-slim
stages:
- build
variables:
PACKAGE_NAME: "chetan"
KUBERNETES_POD_ANNOTATIONS_1: "MOUNT_EFS=/data"
before_script:
- apt-get update -qq
- apt-get install -y build-essential devscripts
build_package:
stage: build
script:
- echo "Building Debian package"
- mkdir -p build
- cd build
# Assuming you have a Makefile or similar in your source
- make
# Use dpkg-deb to create a binary package from the files you've built
- dpkg-deb --build $PACKAGE_NAME
mv $PACKAGE_NAME.* /data
artifacts:
paths:
- /data/*.deb
expire_in: 1 week
\ No newline at end of file
Package: chetan
Version: 0.2
Maintainer: chetan
Architecture: all
Description: sample
#!/usr/bin/bash
echo 'chetan'
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment