Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync wave #1634

Merged
merged 445 commits into from
Jun 5, 2019
Merged
Changes from 1 commit
Commits
Show all changes
445 commits
Select commit Hold shift + click to select a range
5279600
k3s kubectl version
alexec May 22, 2019
d154ab5
argocd app list
alexec May 22, 2019
5c10781
sudo k3s server --docker
alexec May 22, 2019
cdbbd9e
Merge branch 'master' into circleci
alexec May 22, 2019
647e850
INSTALL_K3S_SKIP_START: true
alexec May 22, 2019
df521f5
--docker
alexec May 22, 2019
703bdcf
stuff
alexec May 22, 2019
d03df5b
https://hooks.slack.com/services/T2G8RTHAM/BJKUFD3UK/C3MykGqtVLKFcSzM…
alexec May 22, 2019
d894f9d
link to cd.apps
alexec May 22, 2019
7177cbb
commands
alexec May 22, 2019
b07acb2
- install_tools:
alexec May 22, 2019
5932ee0
version: 2.1
alexec May 22, 2019
bb8ff0e
commands
alexec May 22, 2019
737358d
cache
alexec May 22, 2019
26dfac3
tidy up
alexec May 22, 2019
4decafa
refactor
alexec May 22, 2019
fc16c50
restore_go_cache
alexec May 22, 2019
46ca43b
dl-v3
alexec May 22, 2019
f7e75d5
e2e
alexec May 22, 2019
666dff5
command: make cli
alexec May 22, 2019
97f23e3
name: Make CLI
alexec May 22, 2019
654859f
kubectx
alexec May 22, 2019
d0a1284
un-comment
alexec May 22, 2019
a474008
v11
alexec May 22, 2019
1b31526
echo export PATH="`pwd`/dist:\$PATH" | tee -a $BASH_ENV
alexec May 22, 2019
9214d39
rm print_system_info
alexec May 22, 2019
7bca571
- store_test_results:
alexec May 22, 2019
188b141
ARGOCD_OPTS
alexec May 22, 2019
fd7ea09
wait for argo cd
alexec May 22, 2019
bde8ee2
codegen
alexec May 22, 2019
3011e38
--retry-connrefused
alexec May 22, 2019
28547c7
nolint
alexec May 22, 2019
f8c80a0
codegen
alexec May 22, 2019
e9f8355
jobs + codegen
alexec May 22, 2019
306653a
stat
alexec May 22, 2019
ac2bcf3
sleep 30
alexec May 22, 2019
b6eb743
stat 2
alexec May 22, 2019
2e97fbc
sudo make start-e2e
alexec May 22, 2019
2740aa8
names
alexec May 22, 2019
d23b531
environment
alexec May 22, 2019
49a7b6c
remove thing
alexec May 22, 2019
189e564
go env
alexec May 22, 2019
b19f6df
go-swagger
alexec May 22, 2019
e86841d
env
alexec May 22, 2019
5989d83
go v1.11.10
alexec May 22, 2019
fc5aa8f
/usr/local/go
alexec May 22, 2019
d7b2fdd
faster
alexec May 22, 2019
6f9b79e
workspace
alexec May 22, 2019
9fc3be4
Remove checked out code
alexec May 22, 2019
8689924
Update config.yml
alexec May 22, 2019
6ed289c
clean
alexec May 23, 2019
33ee07b
swagger
alexec May 23, 2019
959320a
Merge branch 'master' into sync-wave
alexec May 23, 2019
e9a27ea
pre-commit
alexec May 23, 2019
d73d555
go version
alexec May 23, 2019
866f6dd
Update config.yml
alexec May 23, 2019
93b2741
TODOs
alexec May 23, 2019
b287260
Update config.yml
alexec May 23, 2019
86b2885
changes
alexec May 23, 2019
5cf5871
echo "export PATH=\$GOPATH/bin:\$PATH" | tee -a $BASH_ENV
alexec May 23, 2019
62fa1a9
ogging
alexec May 23, 2019
e052672
go diagnotics
alexec May 23, 2019
5b3f8c7
Golang diagnostics
alexec May 23, 2019
ab8ef2d
simple
alexec May 23, 2019
c920429
GOROOT
alexec May 23, 2019
de1ce92
/home/circleci/sdk/go1.11.4
alexec May 23, 2019
b094bb5
one or more tasks are running
alexec May 23, 2019
c34f0fb
swagger
alexec May 23, 2019
45f1b56
no sudo make
alexec May 23, 2019
37f45c2
go-v14
alexec May 23, 2019
3f7ab9e
logging
alexec May 23, 2019
841076e
GOPATH back
alexec May 23, 2019
ec36ee8
bits
alexec May 23, 2019
32ba288
:!
alexec May 23, 2019
bf9a505
bits
alexec May 23, 2019
e9f00be
vendor-v4
alexec May 23, 2019
1013d32
sudo chmod a+rw /etc/rancher/k3s/k3s.yaml.lock
alexec May 23, 2019
b0ae1f0
logging
alexec May 23, 2019
4ed1801
chmod -R
alexec May 23, 2019
b6ded8e
sudo chmod -R a+rw /etc/rancher/k3s
alexec May 23, 2019
6434b27
changes
alexec May 23, 2019
e99ff6b
Gopkg.lock
alexec May 23, 2019
72e28a9
sleep 60
alexec May 23, 2019
3650fcd
add a build step
alexec May 23, 2019
2347efb
more check
alexec May 23, 2019
55ec43a
970b561bbc525ee84641edf295de3d30b5746c1b7f6ca333de37655cad160789
alexec May 23, 2019
36f1c3d
indent
alexec May 23, 2019
67d44a2
print
alexec May 23, 2019
1b87ce8
vendor-v5
alexec May 23, 2019
e40a202
changes
alexec May 23, 2019
91124ca
changes
alexec May 23, 2019
fa8843e
:!Gopkg.lock
alexec May 23, 2019
c7411ab
tests pass
alexec May 23, 2019
e76be02
some test CLI
alexec May 23, 2019
dcc5ef3
test CLI
alexec May 23, 2019
076df4a
kubectl version
alexec May 23, 2019
c5e8174
test selective sync
alexec May 23, 2019
43a513c
selective sync does not run hooks
alexec May 23, 2019
b539073
make CLI before starting Argo
alexec May 23, 2019
36c59c2
pruning required test
alexec May 23, 2019
4cc261c
start each process
alexec May 23, 2019
1228260
revert change
alexec May 23, 2019
4eb3302
ops
alexec May 23, 2019
433e617
Info -> Debug
alexec May 23, 2019
edd026b
env
alexec May 23, 2019
8da3e25
guard
alexec May 23, 2019
ea984a8
create ns/apply manifests
alexec May 23, 2019
7520289
kubectl config view
alexec May 23, 2019
b2fd585
skip hook
alexec May 23, 2019
87e8e33
fix
alexec May 23, 2019
39ebaad
k3s
alexec May 23, 2019
882e0c8
kubeconfig.yml
alexec May 23, 2019
78ed43e
cat ~/.kube/config
alexec May 23, 2019
9107ec9
kubectl config view
alexec May 23, 2019
febfc3a
remove log colors
alexec May 23, 2019
0f260e0
go-v14-master
alexec May 23, 2019
0bf2b79
https://localhost:6443
alexec May 23, 2019
04079a5
/var/lib/rancher/k3s/server/tls/localhost.crt
alexec May 23, 2019
8763f39
/var/lib/rancher/k3s/server/tls/token-ca.crt
alexec May 23, 2019
c9ac54e
hostname
alexec May 23, 2019
44bc8ca
>
alexec May 23, 2019
cea3864
sed
alexec May 23, 2019
80e83b5
update-ca-certificates
alexec May 23, 2019
f0f2e3d
/var/lib/rancher/k3s/server/tls/token-ca.crt
alexec May 23, 2019
cae0008
6443
alexec May 23, 2019
d2141c1
curl -v https://`hostname`:6443
alexec May 23, 2019
7de4199
cat /etc/hosts
alexec May 23, 2019
2d812f8
sudo echo "127.0.0.1 `hostname`" >> /etc/hosts
alexec May 23, 2019
48e1a4d
tee
alexec May 23, 2019
9a30ffb
delete
alexec May 23, 2019
802a3d5
env
alexec May 23, 2019
6af7a0b
you@example.com
alexec May 23, 2019
87e6af2
indent
alexec May 23, 2019
6225b16
indent 2
alexec May 23, 2019
d68adf4
remove pull
alexec May 23, 2019
284aba7
smoke test CLI
alexec May 23, 2019
2679324
smoke test
alexec May 23, 2019
5bf98bd
delay make cli
alexec May 23, 2019
b3a2a57
deal with nil health
alexec May 23, 2019
f03d0c2
sleep
alexec May 23, 2019
5e59240
remove unused code
alexec May 23, 2019
f12f653
corrected comments
alexec May 24, 2019
f30a8fa
sleep 60
alexec May 24, 2019
ceee3fa
clean-up
alexec May 24, 2019
f890502
cleanup
alexec May 24, 2019
0572f10
cleanup
alexec May 24, 2019
1b62a5d
ci
alexec May 24, 2019
e31c053
sleep 30
alexec May 24, 2019
740d65c
cover
alexec May 24, 2019
07a5020
hooks
alexec May 24, 2019
4d26f10
horrible hook tests
alexec May 24, 2019
80740f4
print err
alexec May 24, 2019
ad46b91
testns
alexec May 24, 2019
e62a1bc
reordec
alexec May 24, 2019
f2f3770
zero
alexec May 24, 2019
d7e15a0
comments
alexec May 24, 2019
74b9ccb
adds test
alexec May 24, 2019
c686707
KUBERNETES_SERVICE_HOST
alexec May 24, 2019
d292df9
comment
alexec May 24, 2019
e5cb8b2
--kubeconfig
alexec May 24, 2019
8da87ac
--kubeconfig
alexec May 24, 2019
3fec0f6
print env
alexec May 24, 2019
d77a93b
comp issue
alexec May 24, 2019
8d35e7d
deprecate hook
alexec May 24, 2019
5a170d1
logging
alexec May 24, 2019
f7e2c65
fixed test
alexec May 24, 2019
c5ec9a2
changes
alexec May 24, 2019
0db138a
ARGOCD_FAKE_IN_CLUSTER: "true"
alexec May 24, 2019
94b9c84
tests
alexec May 24, 2019
6ff6a6d
Merge branch 'master' into circleci
alexec May 24, 2019
b3ddcf4
imports
alexec May 24, 2019
3222393
changes
alexec May 24, 2019
fb1ab00
master
alexec May 24, 2019
bb86bce
refactor
alexec May 24, 2019
d755880
skip tests on CI
alexec May 24, 2019
ee4b07b
adde check on private repo
alexec May 24, 2019
9b3ec87
degraded
alexec May 24, 2019
4dbcffc
configure git
alexec May 24, 2019
44b205a
comment
alexec May 24, 2019
608a038
install jq from dl rather than apt
alexec May 24, 2019
235ee15
git test
alexec May 24, 2019
a079740
reorder
alexec May 24, 2019
5b1689f
deep copy
alexec May 24, 2019
9ceb8a7
remove print changes
alexec May 24, 2019
1a5ad02
long dir
alexec May 24, 2019
19e14a4
logging
alexec May 24, 2019
b034a41
pass test maybe?
alexec May 24, 2019
4f945d4
Merge branch 'circleci' into sync-wave
alexec May 24, 2019
6e6c711
fixes
alexec May 25, 2019
3a0ca02
gofmt
alexec May 25, 2019
6f15ecb
imports
alexec May 25, 2019
13eebd1
fix bugs
alexec May 25, 2019
c93869c
tweaks
alexec May 25, 2019
d554c23
delete more
alexec May 25, 2019
4732cb0
sync
alexec May 25, 2019
cad7dc1
TestResourceAction passess locally
alexec May 25, 2019
1d2a841
fix typo
alexec May 25, 2019
b88080c
fix deletion
alexec May 25, 2019
dca1f7b
Merge branch 'master' into sync-wave
alexec May 28, 2019
834e173
Merge branch 'master' into sync-wave
alexec May 28, 2019
1f62a5c
fixed one test
alexec May 28, 2019
bfd287b
String
alexec May 28, 2019
9d2900c
bits
alexec May 28, 2019
1c172f1
fixes stuff
alexec May 28, 2019
0d15c3f
Merge branch 'master' into sync-wave
alexec May 29, 2019
bcd9fdd
fixes test
alexec May 29, 2019
70c87f3
adds "Hook bool" to state.go
alexec May 30, 2019
69027bc
adds ""title": "the type of the hook, empty for not-hook..." to swagg…
alexec May 30, 2019
cbf0a15
adds ""github.com/argoproj/argo-cd/test/e2e/fixture"" to hook_test.go
alexec May 30, 2019
5596bd1
fixes CLI
alexec May 30, 2019
ad6bb57
code review comments
alexec May 30, 2019
eb33a05
adds "successful := true" to sync.go
alexec May 30, 2019
10fcdfe
adds "// https://github.com/helm/helm/blob/master/pkg/ti..." to sync_…
alexec May 30, 2019
bff650d
adds ""PodDisruptionBudget"," to sync_tasks.go
alexec May 30, 2019
56ffbd7
ignore Helm hooks
alexec May 30, 2019
3161ace
adds "" to git_test.go
alexec May 30, 2019
435c4da
ignore Helm hooks
alexec May 30, 2019
9b14184
adds ""github.com/argoproj/argo-cd/util/resource"" to ignore.go
alexec May 30, 2019
47f6541
lint
alexec May 30, 2019
7bc6b7a
lint
alexec May 30, 2019
59b00d2
adds "ignore := liveObj != nil && (hookutil.IsHook(liveO..." to healt…
alexec May 30, 2019
c045181
Merge branch 'master' into sync-wave
alexec May 30, 2019
2d92e46
"lint" to appcontroller_test.go
alexec May 30, 2019
7c0802d
bug fixes and tidy up
alexec May 31, 2019
313ab02
fix bug
alexec May 31, 2019
74c2ae1
ignore hooks in selective sync
alexec May 31, 2019
9a86103
docs
alexec May 31, 2019
b179464
""testing"" to appcontroller_test.go
alexec May 31, 2019
8404ccf
"func TestSelectiveSyncDoesNotRunHooks(t *testing.T..." to selective_…
alexec May 31, 2019
f90b461
Merge branch 'master' into sync-wave
alexec Jun 1, 2019
59da0a7
goimports
alexec Jun 1, 2019
51ec7fa
"goimports -local github.com/argoproj/argo-cd -w $(..." to Makefile
alexec Jun 1, 2019
137f5b0
keep latest messages
alexec Jun 1, 2019
e3e3b41
removes dotimports
alexec Jun 1, 2019
7c51860
"goimports -local github.com/argoproj/argo-cd -w $(..." to Makefile
alexec Jun 1, 2019
b352366
"![Synchronization](../assets/synchronization-butto..." to faq.md
alexec Jun 1, 2019
fcd3c0f
Merge branch 'master' into sync-wave
alexec Jun 3, 2019
0407ddd
code review changes
alexec Jun 3, 2019
7806d62
"// a retentive check on the resource results..." to hook_test.go
alexec Jun 3, 2019
97273b1
"// the magic one make sure none of the above entri..." to sync_tasks.go
alexec Jun 3, 2019
3545ffd
"_, _ = fmt.Fprintf(w, "GROUP\tKIND\tNAMESPACE\tNAM..." to app.go
alexec Jun 4, 2019
9373d9a
"// Optionally prints the message from the operatio..." to app.go
alexec Jun 4, 2019
3a68446
"if operationState != nil {" to app.go
alexec Jun 4, 2019
576413e
"if operationState != nil && operationState.SyncRes..." to app.go
alexec Jun 4, 2019
efb1bb0
"if !(hook.IsHook(obj) || !resource.Ignore(obj)) {..." to app.go
alexec Jun 4, 2019
6da9974
"assert.Equal(t, ResourceResult{Version: "v1", Kind..." to hook_test.go
alexec Jun 4, 2019
f43656e
"// the magic one make sure none of the above entri..." to sync_tasks.go
alexec Jun 4, 2019
adbf19b
"# golangci-lint does not do a go job of formatting..." to Makefile
alexec Jun 4, 2019
e8f16e7
Merge branch 'master' into sync-wave
alexec Jun 5, 2019
cebff13
""title": "the type of the hook, empty for not-hook..." to swagger.json
alexec Jun 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
alexec committed May 25, 2019
commit 1d2a841e161c04f1cddb12f5e9e5c60e04958752
4 changes: 2 additions & 2 deletions controller/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func TestDontSyncOrPruneHooks(t *testing.T) {
assert.Equal(t, v1alpha1.OperationSucceeded, syncCtx.opState.Phase)
}

func TestSelectiveSyncOnlyR(t *testing.T) {
func TestSelectiveSyncOnly(t *testing.T) {
syncCtx := newTestSyncCtx()
pod1 := test.NewPod()
pod1.SetName("pod-1")
Expand All @@ -305,7 +305,7 @@ func TestSelectiveSyncOnlyR(t *testing.T) {

assert.True(t, successful)
assert.Len(t, tasks, 1)
assert.Equal(t, "pod-'", tasks[0].name())
assert.Equal(t, "pod-1", tasks[0].name())
}

func TestUnnamedHooksGetUniqueNames(t *testing.T) {
Expand Down