Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker Machine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
applications
Docker Machine
Commits
c5bc0337
Unverified
Commit
c5bc0337
authored
May 11, 2022
by
Tomasz Maczukin
Browse files
Options
Downloads
Patches
Plain Diff
Fix definition of the 'stop release development S3' job
parent
1df57374
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab/ci/yaml/_rules.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab/ci/yaml/_rules.gitlab-ci.yml
.gitlab/ci/yaml/release.gitlab-ci.yml
+9
-7
9 additions, 7 deletions
.gitlab/ci/yaml/release.gitlab-ci.yml
with
16 additions
and
7 deletions
.gitlab/ci/yaml/_rules.gitlab-ci.yml
+
7
−
0
View file @
c5bc0337
...
@@ -47,6 +47,13 @@
...
@@ -47,6 +47,13 @@
when
:
never
when
:
never
-
<<
:
*if-canonical-merge-request-pipeline
-
<<
:
*if-canonical-merge-request-pipeline
.rules:release:development:manual
:
rules
:
-
<<
:
*if-not-canonical-namespace
when
:
never
-
<<
:
*if-canonical-merge-request-pipeline
when
:
manual
.rules:release:beta
:
.rules:release:beta
:
rules
:
rules
:
-
<<
:
*if-not-canonical-namespace
-
<<
:
*if-not-canonical-namespace
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/yaml/release.gitlab-ci.yml
+
9
−
7
View file @
c5bc0337
...
@@ -11,11 +11,11 @@
...
@@ -11,11 +11,11 @@
-
openbsd amd64
-
openbsd amd64
-
windows amd64
-
windows amd64
variables
:
variables
:
S3_URL
:
s3://${S3_BUCKET}/${CI_
COMMIT_REF_NAME
}
S3_URL
:
s3://${S3_BUCKET}/
mr-
${CI_
MERGE_REQUEST_IID
}
script
:
script
:
-
./.gitlab/ci/scripts/release_s3.sh
-
./.gitlab/ci/scripts/release_s3.sh
environment
:
environment
:
url
:
https://${S3_BUCKET}.s3.amazonaws.com/${CI_
COMMIT_REF_NAME
}/index.html
url
:
https://${S3_BUCKET}.s3.amazonaws.com/
mr-
${CI_
MERGE_REQUEST_IID
}/index.html
release development S3
:
release development S3
:
extends
:
extends
:
...
@@ -23,23 +23,25 @@ release development S3:
...
@@ -23,23 +23,25 @@ release development S3:
-
.release
-
.release
-
.release_S3
-
.release_S3
environment
:
environment
:
name
:
development/S3/${CI_
COMMIT_REF_NAME
}
name
:
development/S3/
mr-
${CI_
MERGE_REQUEST_IID
}
on_stop
:
stop release development S3
on_stop
:
'
stop
release
development
S3
'
stop release development S3
:
stop release development S3
:
dependencies
:
[]
dependencies
:
[]
needs
:
-
release development S3
extends
:
extends
:
-
.rules:release:development
-
.rules:release:development
:manual
-
.release
-
.release
-
.release_S3
-
.release_S3
variables
:
variables
:
GIT_STRATEGY
:
none
GIT_STRATEGY
:
none
script
:
script
:
-
aws s3 rm ${S3_URL} --recursive
-
aws s3 rm ${S3_URL} --recursive
when
:
manual
environment
:
environment
:
name
:
development/S3/${CI_
COMMIT_REF_NAME
}
name
:
development/S3/
mr-
${CI_
MERGE_REQUEST_IID
}
action
:
stop
action
:
stop
allow_failure
:
true
release beta S3
:
release beta S3
:
extends
:
extends
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment