Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.package
Commits
e3831685
Commit
e3831685
authored
Mar 01, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the scripts into build-scripts/.
parent
41dd1e79
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
18 deletions
+20
-18
obs/generic/Makefile
obs/generic/Makefile
+8
-8
obs/generic/build-scripts/bootstrap_buildout.sh
obs/generic/build-scripts/bootstrap_buildout.sh
+4
-2
obs/generic/build-scripts/build_tree.sh
obs/generic/build-scripts/build_tree.sh
+1
-1
obs/generic/build-scripts/clean_bootstrap_buildout.sh
obs/generic/build-scripts/clean_bootstrap_buildout.sh
+1
-1
obs/generic/build-scripts/clean_build_tree.sh
obs/generic/build-scripts/clean_build_tree.sh
+1
-1
obs/generic/build-scripts/clean_obs.sh
obs/generic/build-scripts/clean_obs.sh
+1
-1
obs/generic/build-scripts/clean_template_stage.sh
obs/generic/build-scripts/clean_template_stage.sh
+1
-1
obs/generic/build-scripts/configuration_information.sh
obs/generic/build-scripts/configuration_information.sh
+1
-1
obs/generic/build-scripts/obs.sh
obs/generic/build-scripts/obs.sh
+1
-1
obs/generic/build-scripts/template_stage.sh
obs/generic/build-scripts/template_stage.sh
+1
-1
No files found.
obs/generic/Makefile
View file @
e3831685
...
...
@@ -3,23 +3,23 @@ all: build_tree template_stage bootstrap_buildout obs
clean
:
clean_build_tree clean_template_stage clean_bootstrap_buildout clean_obs
build_tree
:
.
/build_tree.sh
build-scripts
/build_tree.sh
clean_build_tree
:
.
/clean_build_tree.sh
build-scripts
/clean_build_tree.sh
template_stage
:
.
/template_stage.sh
build-scripts
/template_stage.sh
clean_template_stage
:
.
/clean_template_stage.sh
build-scripts
/clean_template_stage.sh
bootstrap_buildout
:
.
/bootstrap_buildout.sh
build-scripts
/bootstrap_buildout.sh
clean_bootstrap_buildout
:
.
/clean_bootstrap_buildout.sh
build-scripts
/clean_bootstrap_buildout.sh
obs
:
.
/obs.sh
build-scripts
/obs.sh
clean_obs
:
.
/clean_obs.sh
build-scripts
/clean_obs.sh
.PHONY
:
all clean build_tree clean_build_tree template_stage clean_template_stage bootstrap_buildout clean_bootstrap_buildout obs clean_obs
obs/generic/bootstrap_buildout.sh
→
obs/generic/b
uild-scripts/b
ootstrap_buildout.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
# Download the bootstrap script
...
...
@@ -12,5 +12,7 @@ cd $INITIAL_DIR
# Create a build/bin/buildout (bootstraping) and run it (actual compilation).
# Note: it creates a lot of things in build/eggs/ and uses software_release/ at some point
cd
$RUN_BUILDOUT_DIR
cp
$TEMPLATE_DIR
/tmp/buildout_with_gcc.cfg buildout.cfg
# should be with gcc here and without in OBS
cp
$TEMPLATE_DIR
/tmp/buildout_without_gcc.cfg buildout.cfg
(
python2.7
-S
bootstrap-buildout.py
--buildout-version
2.7.1+slapos016
--setuptools-version
44.1.1
--setuptools-to-dir
eggs
-f
http://www.nexedi.org/static/packages/source/slapos.buildout/
&&
./bin/buildout
-v
)
#cp $TEMPLATE_DIR/tmp/buildout_with_gcc.cfg buildout.cfg
obs/generic/build_tree.sh
→
obs/generic/build
-scripts/build
_tree.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
mkdir
-p
tarballs/
$SOFTWARE
/
...
...
obs/generic/clean_bootstrap_buildout.sh
→
obs/generic/
build-scripts/
clean_bootstrap_buildout.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
# Remove the bootstrap script and associated files
...
...
obs/generic/clean_build_tree.sh
→
obs/generic/
build-scripts/
clean_build_tree.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
rm
-rf
tarballs/
$SOFTWARE
/
...
...
obs/generic/clean_obs.sh
→
obs/generic/
build-scripts/
clean_obs.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
TMP_DIR
=
$INITIAL_DIR
/tmp/
TMP_DIR
=
`
realpath
-m
$TMP_DIR
`
...
...
obs/generic/clean_template_stage.sh
→
obs/generic/
build-scripts/
clean_template_stage.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
# Clean temporary directory for templates
...
...
obs/generic/configuration_information.sh
→
obs/generic/
build-scripts/
configuration_information.sh
View file @
e3831685
...
...
@@ -2,7 +2,7 @@
# Use on script as source release_configuration.sh
####################################################
INITIAL_DIR
=
"
$(
pwd
)
"
INITIAL_DIR
=
"
$(
pwd
)
"
/
# Modify the following variables accordingly
# RELEASE INFORMATION
...
...
obs/generic/obs.sh
→
obs/generic/
build-scripts/
obs.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
TMP_DIR
=
$INITIAL_DIR
/tmp/
TMP_DIR
=
`
realpath
-m
$TMP_DIR
`
...
...
obs/generic/template_stage.sh
→
obs/generic/
build-scripts/
template_stage.sh
View file @
e3831685
#!/bin/bash
set
-e
source
configuration_information.sh
source
build-scripts/
configuration_information.sh
cd
$INITIAL_DIR
# Prepare the templates in $TEMPLATE_DIR/tmp/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment