Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
29bc0986
Unverified
Commit
29bc0986
authored
Sep 10, 2018
by
Eric Chiang
Committed by
GitHub
Sep 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1290 from srenatus/sr/release-process/update-quay-notes
release process: update quay notes
parents
1260c62a
9cc85c44
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
21 deletions
+5
-21
dev-releases.md
Documentation/dev-releases.md
+3
-19
Makefile
Makefile
+1
-1
dex.yaml
examples/k8s/dex.yaml
+1
-1
No files found.
Documentation/dev-releases.md
View file @
29bc0986
...
@@ -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
```
Makefile
View file @
29bc0986
...
@@ -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
)
...
...
examples/k8s/dex.yaml
View file @
29bc0986
...
@@ -12,7 +12,7 @@ spec:
...
@@ -12,7 +12,7 @@ spec:
app
:
dex
app
:
dex
spec
:
spec
:
containers
:
containers
:
-
image
:
quay.io/
coreos
/dex:v2.10.0
-
image
:
quay.io/
dexidp
/dex:v2.10.0
name
:
dex
name
:
dex
command
:
[
"
/usr/local/bin/dex"
,
"
serve"
,
"
/etc/dex/cfg/config.yaml"
]
command
:
[
"
/usr/local/bin/dex"
,
"
serve"
,
"
/etc/dex/cfg/config.yaml"
]
...
...
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