Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bash-static
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fractal
bash-static
Commits
d5800786
Commit
d5800786
authored
4 years ago
by
“Fractal”
Browse files
Options
Downloads
Patches
Plain Diff
Added meow & .forge-ci.yml
deleted .gitlab-ci.yml
parent
397f4831
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3135
failed
4 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.forge-ci.yml
+28
-0
28 additions, 0 deletions
.forge-ci.yml
.gitlab-ci.yml
+0
-23
0 additions, 23 deletions
.gitlab-ci.yml
meow
+45
-0
45 additions, 0 deletions
meow
with
73 additions
and
23 deletions
.forge-ci.yml
0 → 100644
+
28
−
0
View file @
d5800786
build-job
:
stage
:
build
script
:
./meow
artifacts
:
paths
:
-
./bash-static-binary-*.tar.bz2
#test-job1
:
# stage: test
# script:
# - echo "This job tests something"
#test-job2:
# stage: test
# script:
# - echo "This job tests something, but takes more time than test-job1."
# - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
# - echo "which simulates a test that runs 20 seconds longer than test-job1"
# - sleep 20
#deploy-prod:
# stage: deploy
# script:
# - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
deleted
100644 → 0
+
0
−
23
View file @
397f4831
build-job
:
stage
:
build
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
test-job1
:
stage
:
test
script
:
-
echo "This job tests something"
test-job2
:
stage
:
test
script
:
-
echo "This job tests something, but takes more time than test-job1."
-
echo "After the echo commands complete, it runs the sleep command for 20 seconds"
-
echo "which simulates a test that runs 20 seconds longer than test-job1"
-
sleep
20
deploy-prod
:
stage
:
deploy
script
:
-
echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
This diff is collapsed.
Click to expand it.
meow
0 → 100755
+
45
−
0
View file @
d5800786
#!/bin/sh
musl_var
=
"1.2.1"
bash_var
=
"5.1"
wget
"https://musl.libc.org/releases/musl-
${
musl_var
}
.tar.gz"
wget
"https://mirrors.sarata.com/gnu/bash/bash-
${
bash_var
}
.tar.gz"
tar
-xvf
"musl-
${
musl_var
}
.tar.gz"
tar
-xvf
"bash-
${
bash_var
}
.tar.gz"
export
bash_output_dir
=
"bash-static-binary-
${
bash_var
}
"
mkdir
musl-install
mkdir
"
${
bash_output_dir
}
"
BASE_DIR
=
"
$(
pwd
)
"
cd
"musl-
${
musl_var
}
"
./configure
--prefix
=
"
${
BASE_DIR
}
/musl-install"
make
install
cd
..
export
CC
=
${
BASE_DIR
}
/musl-install/bin/musl-gcc
export
CFLAGS
=
"-static"
export
CFLAGS
=
"
$CFLAGS
-Os"
cd
"bash-
${
bash_var
}
"
./configure
--prefix
=
"
${
BASE_DIR
}
/
${
bash_output_dir
}
"
\
--without-bash-malloc
make
make
install
cd
..
tar
--create
--file
"bash-static-binary-
${
bash_var
}
.tar"
--verbose
"
${
bash_output_dir
}
"
bzip2
--compress
--best
"bash-static-binary-
${
bash_var
}
.tar"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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