Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
hdacloud
dex
Commits
1309c1f0
Commit
1309c1f0
authored
6 years ago
by
Stephan Renatus
Browse files
Options
Downloads
Patches
Plain Diff
dev-releases.md, Makefile: update release process
Signed-off-by:
Stephan Renatus
<
srenatus@chef.io
>
parent
bb75dcd7
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
Documentation/dev-releases.md
+3
-19
3 additions, 19 deletions
Documentation/dev-releases.md
Makefile
+1
-1
1 addition, 1 deletion
Makefile
with
4 additions
and
20 deletions
Documentation/dev-releases.md
+
3
−
19
View file @
1309c1f0
...
@@ -3,16 +3,12 @@
...
@@ -3,16 +3,12 @@
Making a dex release involves:
Making a dex release involves:
*
Tagging a git commit and pushing the tag to GitHub.
*
Tagging a git commit and pushing the tag to GitHub.
*
Building and pushing a Docker image.
This requires the following tools
.
From this, Quay will build and tag an image via a build trigger
.
*
Docker
This requires the following permissions.
And the following permissions.
*
Push access to the github.com/dexidp/dex git repo.
*
Push access to the github.com/dexidp/dex git repo.
*
Push access to the quay.io/coreos/dex Docker repo.
## Tagging the release
## Tagging the release
...
@@ -34,7 +30,7 @@ you to enter a tag message, which can just be the release version.
...
@@ -34,7 +30,7 @@ you to enter a tag message, which can just be the release version.
git tag -s v2.0.0 ea4c04fde83bd6c48f4d43862c406deb4ea9dba2
git tag -s v2.0.0 ea4c04fde83bd6c48f4d43862c406deb4ea9dba2
```
```
Push that tag to the
CoreOS
repo.
Push that tag to the
Dex
repo.
```
```
git push git@github.com:dexidp/dex.git v2.0.0
git push git@github.com:dexidp/dex.git v2.0.0
...
@@ -67,15 +63,3 @@ git push origin "cherry-picked-change"
...
@@ -67,15 +63,3 @@ git push origin "cherry-picked-change"
```
```
Open a PR onto $RELEASE_BRANCH to get the changes approved.
Open a PR onto $RELEASE_BRANCH to get the changes approved.
## Building the Docker image
Build the Docker image and push to Quay.
```
bash
# checkout the tag
git checkout tags/v2.1.0
# will prompt for sudo password
make docker-image
sudo
docker push quay.io/coreos/dex:v2.1.0
```
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
1309c1f0
...
@@ -5,7 +5,7 @@ export PATH := $(PWD)/bin:$(PATH)
...
@@ -5,7 +5,7 @@ export PATH := $(PWD)/bin:$(PATH)
VERSION
?=
$(
shell ./scripts/git-version
)
VERSION
?=
$(
shell ./scripts/git-version
)
DOCKER_REPO
=
quay.io/
coreos
/dex
DOCKER_REPO
=
quay.io/
dexidp
/dex
DOCKER_IMAGE
=
$(
DOCKER_REPO
)
:
$(
VERSION
)
DOCKER_IMAGE
=
$(
DOCKER_REPO
)
:
$(
VERSION
)
$(
shell
mkdir
-p
bin
)
$(
shell
mkdir
-p
bin
)
...
...
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