Skip to content

Commit

Permalink
chore(release): Disable auto release of staging repository
Browse files Browse the repository at this point in the history
- Keeps failing recently (because of timeouts), fallback to doing this manually

(cherry picked from commit 3575c64)
  • Loading branch information
christophd committed Apr 24, 2024
1 parent 84a6ac1 commit aa9ff63
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 50 deletions.
15 changes: 8 additions & 7 deletions scripts/citrus
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

# ===================================================================================================
# Citrus Build Script
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/docs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

docs::description() {
echo "Generate reference documentation and release to Github pages"
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/manual
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

manual::description() {
echo "Open HTML documentation on citrusframework.org"
Expand Down
3 changes: 2 additions & 1 deletion scripts/commands/release
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ release::run() {

if [ ! $(hasflag --local-release) ] && [ ! $(hasflag --snapshot-release) ]; then
# Release staging repo
release_staging_repo "$working_dir" "$maven_opts"
# NOTE: not working recently (because of timeouts) - fallback to doing this manually
# release_staging_repo "$working_dir" "$maven_opts"

# Push everything (if configured)
git_push "$working_dir" "$release_version"
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/util/common_funcs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

# Checks if a flag is present in the arguments.
hasflag() {
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/util/git_funcs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

# Checks if git subtree has changes in given top directory
check_git_clean() {
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/util/maven_central_funcs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

# =======================================================================
# Maven central OSS Sonatype connectivity
Expand Down
15 changes: 8 additions & 7 deletions scripts/commands/util/version_funcs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# ---------------------------------------------------------------------------
# Copyright the original author or authors.
#
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------

# Get release version from arguments or exit with error
get_release_version() {
Expand Down

0 comments on commit aa9ff63

Please sign in to comment.