Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-faraday
Commits
424568c9
Commit
424568c9
authored
7 years ago
by
Sebastian
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.coko.foundation:xpub/xpub-faraday
parents
f8246e8c
60eb145b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-5
8 additions, 5 deletions
.gitlab-ci.yml
now/Dockerfile
+1
-0
1 addition, 0 deletions
now/Dockerfile
with
9 additions
and
5 deletions
.gitlab-ci.yml
+
8
−
5
View file @
424568c9
variables
:
IMAGE_ORG
:
bogdandev
IMAGE_NAME
:
xpub-faraday
REPO_URL
:
https://gitlab.coko.foundation/xpub/xpub-faraday
stages
:
-
build
-
test
-
review
-
staging
-
docker
-
demo
build
:
...
...
@@ -40,7 +41,7 @@ test:
push:latest
:
image
:
docker:latest
stage
:
staging
stage
:
docker
script
:
-
if [ -z "$DOCKERHUB_USERNAME" ] || [ -z "$DOCKERHUB_PASSWORD" ]; then echo "Not pushing" && exit 0; fi
-
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
...
...
@@ -50,8 +51,8 @@ push:latest:
only
:
-
master
demo:
xpub-faraday
:
image
:
$IMAGE_ORG/$IMAGE_NAME:
$CI_COMMIT_SHA
demo:
now
:
image
:
$IMAGE_ORG/$IMAGE_NAME:
latest
stage
:
demo
when
:
manual
variables
:
...
...
@@ -62,4 +63,6 @@ demo:xpub-faraday:
name
:
$PACKAGE_NAME/demo
url
:
$NOW_URL
script
:
-
echo $NOW_URL
\ No newline at end of file
-
npm i -g --unsafe-perm now
-
now --public --docker --token $NOW_TOKEN $ -e AWS_S3_ACCESS_KEY=$AWS_S3_ACCESS_KEY -e AWS_S3_SECRET_KEY=$AWS_S3_SECRET_KEY -e AWS_S3_REGION=$AWS_S3_REGION -e AWS_S3_BUCKET=$AWS_S3_BUCKET -e AWS_SES_SECRET_KEY=$AWS_SES_SECRET_KEY -e AWS_SES_ACCESS_KEY=$AWS_SES_ACCESS_KEY -e AWS_SES_REGION=$AWS_SES_REGION -e EMAIL_SENDER=$EMAIL_SENDER -e secret=$SECRET
-
echo "$NOW_URL"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
now/Dockerfile
0 → 100644
+
1
−
0
View file @
424568c9
FROM
bogdandev/xpub-faraday:latest
\ No newline at end of file
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