Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
devproject
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chetan
chetan-restore
devproject
Commits
7fa098e4
Commit
7fa098e4
authored
1 year ago
by
Chetan Sharma
Browse files
Options
Downloads
Patches
Plain Diff
update package code
parents
Branches
master
test1
test1-1
test2
Tags
t1
t2
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab-ci.yml
DEBIAN/control
+5
-0
5 additions, 0 deletions
DEBIAN/control
usr/local/bin/file
+3
-0
3 additions, 0 deletions
usr/local/bin/file
with
42 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
34
−
0
View file @
7fa098e4
# 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
This diff is collapsed.
Click to expand it.
DEBIAN/control
0 → 100644
+
5
−
0
View file @
7fa098e4
Package: chetan
Version: 0.2
Maintainer: chetan
Architecture: all
Description: sample
This diff is collapsed.
Click to expand it.
usr/local/bin/file
0 → 100644
+
3
−
0
View file @
7fa098e4
#!/usr/bin/bash
echo
'chetan'
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment