Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
eb0776b1
Commit
eb0776b1
authored
7 years ago
by
MJB
Browse files
Options
Downloads
Patches
Plain Diff
naming packages
parent
081c912f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.githooks/post-commit
+1
-3
1 addition, 3 deletions
.githooks/post-commit
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+2
-3
2 additions, 3 deletions
.gitlab-ci.yml
MANIFEST.in
+1
-1
1 addition, 1 deletion
MANIFEST.in
setup.py
+2
-2
2 additions, 2 deletions
setup.py
with
7 additions
and
9 deletions
.githooks/post-commit
+
1
−
3
View file @
eb0776b1
#!/bin/bash
#!/bin/bash
mkdir
-p
.build-config
CI_COMMIT_REF_NAME
=
`
git rev-parse
--abbrev-ref
HEAD
`
CI_COMMIT_REF_NAME
=
`
git rev-parse
--abbrev-ref
HEAD
`
CI_COMMIT_SHA
=
`
git rev-parse HEAD
`
CI_COMMIT_SHA
=
`
git rev-parse HEAD
`
echo
$CI_COMMIT_REF_NAME
"-"
$CI_COMMIT_SHA
>
.build-config
/git-commit-ref
echo
$CI_COMMIT_REF_NAME
"-"
$CI_COMMIT_SHA
>
clmctest
/git-commit-ref
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
0
View file @
eb0776b1
...
@@ -3,4 +3,5 @@
...
@@ -3,4 +3,5 @@
*__pycache__*
*__pycache__*
*__init__.pyc
*__init__.pyc
*egg-info*
*egg-info*
*git-commit-ref*
ubuntu-xenial-16.04-cloudimg-console.log
ubuntu-xenial-16.04-cloudimg-console.log
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
3
View file @
eb0776b1
...
@@ -8,8 +8,7 @@ stages:
...
@@ -8,8 +8,7 @@ stages:
build:tests
:
build:tests
:
stage
:
build
stage
:
build
script
:
script
:
-
mkdir -p .build-config
-
echo "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" > clmctest/git-commit-ref
-
echo "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" > .build-config/git-commit-ref
-
python setup.py sdist --dist-dir=build
-
python setup.py sdist --dist-dir=build
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -30,7 +29,7 @@ test:
...
@@ -30,7 +29,7 @@ test:
-
vagrant --fixture=inputs -- destroy --force
-
vagrant --fixture=inputs -- destroy --force
-
vagrant --fixture=monitoring -- destroy --force
-
vagrant --fixture=monitoring -- destroy --force
-
vagrant --fixture=scripts -- destroy --force
-
vagrant --fixture=scripts -- destroy --force
-
vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3
-y
uninstall clmctest"
-
vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 uninstall
-y
clmctest"
when
:
on_success
when
:
on_success
\ No newline at end of file
This diff is collapsed.
Click to expand it.
MANIFEST.in
+
1
−
1
View file @
eb0776b1
include MANIFEST.in
include MANIFEST.in
recursive-include clmctest *.yml *.sh
recursive-include clmctest *.yml *.sh git-commit-ref
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
2
View file @
eb0776b1
...
@@ -6,7 +6,7 @@ def read(fname):
...
@@ -6,7 +6,7 @@ def read(fname):
setup
(
setup
(
name
=
"
clmctest
"
,
name
=
"
clmctest
"
,
version
=
read
(
'
.build-config
/git-commit-ref
'
),
version
=
read
(
'
clmctest
/git-commit-ref
'
),
author
=
"
Michael Boniface
"
,
author
=
"
Michael Boniface
"
,
author_email
=
"
mjb@it-innovation.soton.ac.uk
"
,
author_email
=
"
mjb@it-innovation.soton.ac.uk
"
,
description
=
"
FLAME CLMC Testing Module
"
,
description
=
"
FLAME CLMC Testing Module
"
,
...
@@ -14,7 +14,7 @@ setup(
...
@@ -14,7 +14,7 @@ setup(
keywords
=
"
FLAME CLMC test
"
,
keywords
=
"
FLAME CLMC test
"
,
packages
=
find_packages
(
exclude
=
[
"
services
"
]),
packages
=
find_packages
(
exclude
=
[
"
services
"
]),
include_package_data
=
True
,
include_package_data
=
True
,
package_data
=
{
''
:
[
'
*.yml
'
,
'
*.sh
'
]},
package_data
=
{
''
:
[
'
git-commit-ref
'
,
'
*.yml
'
,
'
*.sh
'
]},
long_description
=
"
long description
"
,
long_description
=
"
long description
"
,
classifiers
=
[
classifiers
=
[
"
Development Status :: Alpha
"
,
"
Development Status :: Alpha
"
,
...
...
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