Just remove the version bump test since there's no db version changes in this release anyway

This commit is contained in:
Alessio 2024-11-06 22:55:04 -08:00
parent 9d41c36368
commit 724533ecec

View File

@ -43,31 +43,31 @@ steps:
- curl localhost:1000/cernovich > webserver_test_output.html - curl localhost:1000/cernovich > webserver_test_output.html
- jobs -p | xargs -I{} kill -- -{} - jobs -p | xargs -I{} kill -- -{}
version_bump_test: # version_bump_test:
image: offline-twitter/go # image: offline-twitter/go
when: # when:
- event: tag # - event: tag
ref: refs/tags/v*.*.* # ref: refs/tags/v*.*.*
secrets: # secrets:
# - offline_twatter_passwd # # - offline_twatter_passwd
- offline_twatter_session_file # - offline_twatter_session_file
commands: # commands:
- export version=$(echo $CI_COMMIT_TAG | grep -Poh "(?<=^v)\d+\.\d+\.\d+") # - export version=$(echo $CI_COMMIT_TAG | grep -Poh "(?<=^v)\d+\.\d+\.\d+")
- curl https://apt.playfulpachyderm.com/KEY.gpg | sudo apt-key add - # - curl https://apt.playfulpachyderm.com/KEY.gpg | sudo apt-key add -
- echo "deb https://apt.playfulpachyderm.com/ ./" | sudo tee /etc/apt/sources.list.d/offline_twitter.list # - echo "deb https://apt.playfulpachyderm.com/ ./" | sudo tee /etc/apt/sources.list.d/offline_twitter.list
- sudo apt update # - sudo apt update
- sudo apt install -y offline-twitter-engine # - sudo apt install -y offline-twitter-engine
- which twitter # - which twitter
- twitter create_profile outdated_profile # - twitter create_profile outdated_profile
- cd outdated_profile # - cd outdated_profile
# TODO: The CI server appears to have been IP-banned. Replacing login with session-file secret for now # # TODO: The CI server appears to have been IP-banned. Replacing login with session-file secret for now
# - twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD" # # - twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD"
- echo "$OFFLINE_TWATTER_SESSION_FILE" > Offline_Twatter.session # Write the session file # - echo "$OFFLINE_TWATTER_SESSION_FILE" > Offline_Twatter.session # Write the session file
- twitter --session Offline_Twatter fetch_tweet https://x.com/pcmonk/status/1826683684285808876 #fetch_user pcmonk # - twitter fetch_user pcmonk
- twitter --session Offline_Twatter get_user_tweets pcmonk # - twitter --session Offline_Twatter get_user_tweets pcmonk
- (cd ../cmd && ./compile.sh $version) # - (cd ../cmd && ./compile.sh $version)
- which ../cmd/tw # - which ../cmd/tw
- ../cmd/tw fetch_user pcmonk # - ../cmd/tw fetch_user pcmonk
dpkg_build_and_upload: dpkg_build_and_upload:
when: when: