Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
Controller
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Guardians of the Kretschmar Elock System
Controller
Commits
83adf927
Commit
83adf927
authored
Mar 17, 2021
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build process
parent
f2ab48d0
Pipeline
#18165
passed with stages
in 2 minutes and 25 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
83adf927
...
...
@@ -8,6 +8,7 @@ stages:
before_script
:
-
>
if [[ -n ${CI_COMMIT_TAG+x} ]]; then
echo "${CI_COMMIT_TAG}"
printf "${CI_COMMIT_TAG}" > version.txt
fi
...
...
@@ -45,14 +46,13 @@ deploy_controller_update:
stage
:
deploy
tags
:
-
elock
before_script
:
-
echo "CI_COMMIT_TAG"
script
:
-
echo "$SIGNING_KEY" | base64 -d -w 0 > decoded.pem
-
espsecure.py sign_data --keyfile decoded.pem --version 1 build/door-controller.bin
-
version=$(<version.txt)
-
deploy_name="v${version}.bin"
-
echo "Deploying ${deploy_name}"
-
chown 1000:1000 build/door-controller.bin
-
mv "build/door-controller.bin" "${PROJ_DIR}/controller-bins/${deploy_name}"
only
:
-
tags
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