Skip to content

Commit e1b73fe

Browse files
authored
chore: disabling gha, bitbucket publishing, unblocking docker hub release (#593)
This PR disables GitHub Actions and Bitbucket publishing while unblocking Docker Hub releases. Changes: - Updated prepare-release.sh to skip GHA and Bitbucket targets - Updated publish-dry-run.sh to skip GHA and Bitbucket targets - Updated publish.sh to skip GHA and Bitbucket targets
1 parent 911e669 commit e1b73fe

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

scripts/release/prepare-release.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ update_go() (
1313
# sed -i "s#- image: launchdarkly/ld-find-code-refs:.*#- image: launchdarkly/ld-find-code-refs:${LD_RELEASE_VERSION}#g" build/package/circleci/orb.yml
1414
# )
1515

16-
update_gha() (
17-
sed -i "s#launchdarkly/find-code-references@v.*#launchdarkly/find-code-references@${release_tag}#g" build/metadata/github-actions/README.md
18-
sed -i "s#launchdarkly/ld-find-code-refs-github-action:.*#launchdarkly/ld-find-code-refs-github-action:${LD_RELEASE_VERSION}#g" build/metadata/github-actions/Dockerfile
19-
)
16+
# update_gha() (
17+
# sed -i "s#launchdarkly/find-code-references@v.*#launchdarkly/find-code-references@${release_tag}#g" build/metadata/github-actions/README.md
18+
# sed -i "s#launchdarkly/ld-find-code-refs-github-action:.*#launchdarkly/ld-find-code-refs-github-action:${LD_RELEASE_VERSION}#g" build/metadata/github-actions/Dockerfile
19+
# )
2020

21-
update_bitbucket() (
22-
sed -i "s#- pipe: launchdarkly/ld-find-code-refs-pipe.*#- pipe: launchdarkly/ld-find-code-refs-pipe:${LD_RELEASE_VERSION}#g" build/metadata/bitbucket/README.md
23-
sed -i "s#image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:.*#image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:${LD_RELEASE_VERSION}#g" build/metadata/bitbucket/pipe.yml
24-
)
21+
# update_bitbucket() (
22+
# sed -i "s#- pipe: launchdarkly/ld-find-code-refs-pipe.*#- pipe: launchdarkly/ld-find-code-refs-pipe:${LD_RELEASE_VERSION}#g" build/metadata/bitbucket/README.md
23+
# sed -i "s#image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:.*#image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:${LD_RELEASE_VERSION}#g" build/metadata/bitbucket/pipe.yml
24+
# )
2525

2626
update_changelog() (
2727
local ts=$(date +"%Y-%m-%d")
@@ -40,8 +40,8 @@ update_changelog() (
4040
# update metadata files and CHANGELOG
4141
update_go
4242
# update_orb
43-
update_gha
44-
update_bitbucket
43+
# update_gha
44+
# update_bitbucket
4545
update_changelog
4646

4747
# commit changes and create tag

scripts/release/publish-dry-run.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ BASE_CODEREFS=ld-find-code-refs
1212
GH_CODEREFS=ld-find-code-refs-github-action
1313
BB_CODEREFS=ld-find-code-refs-bitbucket-pipeline
1414
sudo docker save launchdarkly/${BASE_CODEREFS}:latest | gzip >${ARTIFACT_DIRECTORY}/${BASE_CODEREFS}.tar.gz
15-
sudo docker save launchdarkly/${GH_CODEREFS}:latest | gzip >${ARTIFACT_DIRECTORY}/${GH_CODEREFS}.tar.gz
16-
sudo docker save launchdarkly/${BB_CODEREFS}:latest | gzip >${ARTIFACT_DIRECTORY}/${BB_CODEREFS}.tar.gz
15+
# sudo docker save launchdarkly/${GH_CODEREFS}:latest | gzip >${ARTIFACT_DIRECTORY}/${GH_CODEREFS}.tar.gz
16+
# sudo docker save launchdarkly/${BB_CODEREFS}:latest | gzip >${ARTIFACT_DIRECTORY}/${BB_CODEREFS}.tar.gz
1717

1818
for script in $(dirname $0)/targets/*.sh; do
1919
source $script
2020
done
2121

22-
dry_run_bitbucket
23-
dry_run_gha
22+
# dry_run_bitbucket
23+
# dry_run_gha
2424
# dry_run_circleci

scripts/release/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ for script in $(dirname $0)/targets/*.sh; do
1717
source $script
1818
done
1919

20-
publish_gha
20+
# publish_gha
2121
# publish_circleci
22-
publish_bitbucket
22+
# publish_bitbucket

0 commit comments

Comments
 (0)